1.0.0
We're thrilled to announce the release of RunPod 1.0.0! After refining our CI/CD pipeline and gathering valuable feedback from thousands of users, we are ready to introduce significant enhancements and fixes.
New Features
Multi-Job Concurrency
Workers are now smarter and more efficient. They can fetch and process multiple jobs in parallel, accelerating your workflows and productivity. Here's what's new:
- Flexible job fetching: You can now fine-tune a worker's operations. When starting a worker, pass a function into the 
concurrency_controller. This function determines the number of jobs a worker should fetch in parallel. 
Job Streaming
Our platform offers a powerful streaming feature that allows users to receive real-time updates on job outputs. This is particularly useful when dealing with Language Model tasks. We support two types of streaming generator functions: regular generator and async generator.
Regular Generator Function:
def generator_streaming(job):
    for i in range(5):
        output = f"Generated token output {i}"
        yield outputAsync Generator Function:
async def async_generator_streaming(job):
    for i in range(5):
        output = f"Generated async token output {i}"
        yield output
        await asyncio.sleep(1)  # Simulate an asynchronous task (e.g., LLM processing time).Usage:
To enable streaming, use either a regular or async generator function to yield the output results. The generator will continuously produce token outputs, streamed to the client in real-time.
How to Stream:
To utilize the generator function for streaming, you must use the /stream/{jobid} endpoint. Clients will receive the streaming token outputs by making an HTTP request to this endpoint. The jobid parameter in the endpoint URL helps the server identify the specific job for which the streaming is requested.
Real-Time Updates:
Once the streaming is initiated, the /stream/{jobid} endpoint will continuously receive generated token outputs as the generator function yields them. This provides real-time updates to the client or user, ensuring they can access the latest results throughout the job execution.
Using generator-type handlers for streaming, our platform enhances the user experience by delivering dynamic and up-to-date information for tasks involving Language Models and beyond.
Updates & Bug Fixes
We've also made some crucial improvements and squashed a few bugs:
- Improved Initialization: The worker implementation now leverages asyncio, significantly improving initialization times. Your workers are now ready to go faster than ever!
 - Cohesive File Naming: We've renamed some files to improve cohesion and understanding. Now it's even easier to understand the purpose of each file in the project.
 
What's Changed
- build(deps): bump actions/setup-python from 3 to 4 by @dependabot in #46
 - Add code coverage by @justinmerrell in #50
 - bringing branch up to date by @justinmerrell in #51
 - Api wrapper tests by @justinmerrell in #52
 - Update refactor branch by @justinmerrell in #53
 - Unit tests by @justinmerrell in #54
 - Update setup.cfg by @justinmerrell in #55
 - 48 heartbeat refactor by @justinmerrell in #49
 - More tests by @justinmerrell in #60
 - added documentation for Endpoint and create_pod by @therealadityashankar in #61
 - Enabling multi-job, single-worker in Runpod-Python. by @Jorghi12 in #63
 - Update init.py by @justinmerrell in #65
 - rebase by @justinmerrell in #67
 - minor worker refactoring by @justinmerrell in #66
 - Worker loop cleanup by @Jorghi12 in #68
 - status_code > status by @justinmerrell in #69
 - Update rp_ping.py by @justinmerrell in #70
 - Fixing "timeout context manager should be used inside a task" by @Jorghi12 in #71
 - Cleanup by @justinmerrell in #72
 - Bump fastapi[all] from 0.99.1 to 0.100.1 by @dependabot in #73
 - Bump nest-asyncio from 1.5.6 to 1.5.7 by @dependabot in #74
 - Update rp_scale.py by @justinmerrell in #75
 - Polish by @justinmerrell in #76
 
New Contributors
- @dependabot made their first contribution in #46
 - @therealadityashankar made their first contribution in #61
 - @Jorghi12 made their first contribution in #63
 
Full Changelog: 0.10.0...1.0.0