{"slug":"continuous-batching","article":{"kind":"article","title":"Continuous batching","category":"AI Engineering Subjects","entityType":"pattern","homepage":"https://chronoscope.hopperlabs.ai/#/continuous-batching","summary":"Continuous batching allows a model server to admit new requests and retire completed ones between generation steps.","sources":["source:public-b81c78319bc6b552","source:ref-76210079970f","source:public-ec0c76b98e5a40dc","source:public-e2f476dc17e2f8d3"],"relations":[{"rel":"covered-in","to":"article:ai-engineering"},{"to":"article:model-serving","rel":"shares-milestones"},{"to":"article:lora-qlora","rel":"shares-milestones"},{"to":"article:prompt-caching","rel":"shares-milestones"}],"id":"article:continuous-batching","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},"sections":[{"kind":"section","article":"article:continuous-batching","title":"Orca presents iteration-level scheduling for model serving","text":"The system reschedules a batch after each generation step, allowing requests to join or leave while others continue generating.","order":0,"sources":["source:public-b81c78319bc6b552","source:ref-76210079970f"],"id":"section:chronoscope-continuous-batching","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"events":[{"kind":"event","title":"Orca presents iteration-level scheduling for model serving","date":"2022-07","articles":["article:continuous-batching"],"detail":"The system reschedules a batch after each generation step, allowing requests to join or leave while others continue generating.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2022-orca-presents-iteration-level-scheduling-for-model-serving","sources":["source:ref-76210079970f"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2022-orca-presents-iteration-level-scheduling-for-model-serving","version":"29199f6068c0848e5fab","digest":"sha256:c14c724a41b5d97ecd0e8d5326d3c0f5d40b1588e03b5de6b0312a2a1bf2acaa"},"id":"event:chronoscope-4833fae20cdd9491","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"S-LoRA batches requests for many adapters on a shared base model","date":"2023-11-06","articles":["article:continuous-batching"],"detail":"The serving system keeps a pool of adapters and schedules their individual matrix operations alongside ordinary decoding. It evaluates simultaneous use of thousands of customized adapters.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2023-s-lora-batches-requests-for-many-adapters-on-a-shared-base-model","sources":["source:public-ec0c76b98e5a40dc"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2023-s-lora-batches-requests-for-many-adapters-on-a-shared-base-model","version":"29199f6068c0848e5fab","digest":"sha256:16cbae92f6108e5c080cb103920436c56e98e33043aa36787da1c9820d980f4f"},"id":"event:chronoscope-df966e74881558aa","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"DistServe separates prompt processing from token generation","date":"2024-01-18","articles":["article:continuous-batching"],"detail":"The researchers assign prefill and decoding to different GPUs so they can schedule the two phases against different latency targets. Their measure of throughput counts requests that meet both targets.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2024-distserve-separates-prompt-processing-from-token-generation","sources":["source:public-e2f476dc17e2f8d3"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2024-distserve-separates-prompt-processing-from-token-generation","version":"29199f6068c0848e5fab","digest":"sha256:32420276da6b852ffe5dd9cbfe0f52f8e767d54dbfa91980de34598288dc99ef"},"id":"event:chronoscope-2544ecfa46b562fe","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"examples":[],"links":[],"sources":[{"kind":"source","title":"Continuous batching in Chronoscope","url":"https://chronoscope.hopperlabs.ai/#/continuous-batching","id":"source:public-b81c78319bc6b552","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"Orca presents iteration-level scheduling for model serving","url":"https://www.usenix.org/conference/osdi22/presentation/yu","id":"source:ref-76210079970f","from":"2026-11-25","revision":"20585ad96f8a42f359db8075c5966dc2f17a11f966f4395d28677f15b20f36c0","recordedAt":"2026-11-25T10:40:20.496Z"},{"kind":"source","title":"S-LoRA batches requests for many adapters on a shared base model","url":"https://arxiv.org/abs/2311.03285v1","id":"source:public-ec0c76b98e5a40dc","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"DistServe separates prompt processing from token generation","url":"https://arxiv.org/abs/2401.09670v1","id":"source:public-e2f476dc17e2f8d3","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"related":[{"slug":"ai-engineering","title":"AI Engineering","category":"Agent engineering","entityType":"collection","rel":"covered-in"},{"slug":"model-serving","title":"Model serving","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"lora-qlora","title":"LoRA and QLoRA","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"prompt-caching","title":"Prompt caching","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"}],"backlinks":[{"slug":"lora-qlora","title":"LoRA and QLoRA","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"model-serving","title":"Model serving","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"prompt-caching","title":"Prompt caching","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"}],"history":[{"id":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z","message":"Publish the illustrated encyclopedia and connect verified public subject catalogs"}]}
