# Continuous batching

Type: Pattern · Live URL: https://chronoscope.hopperlabs.ai/#/continuous-batching

Continuous batching allows a model server to admit new requests and retire completed ones between generation steps.

[Continuous batching in Chronoscope](https://chronoscope.hopperlabs.ai/#/continuous-batching) · [Orca presents iteration-level scheduling for model serving](https://www.usenix.org/conference/osdi22/presentation/yu) · [S-LoRA batches requests for many adapters on a shared base model](https://arxiv.org/abs/2311.03285v1) · [DistServe separates prompt processing from token generation](https://arxiv.org/abs/2401.09670v1)

## Orca presents iteration-level scheduling for model serving

The system reschedules a batch after each generation step, allowing requests to join or leave while others continue generating.

[Continuous batching in Chronoscope](https://chronoscope.hopperlabs.ai/#/continuous-batching) · [Orca presents iteration-level scheduling for model serving](https://www.usenix.org/conference/osdi22/presentation/yu)

## Timeline

- 2022-07 — Orca presents iteration-level scheduling for model serving [Orca presents iteration-level scheduling for model serving](https://www.usenix.org/conference/osdi22/presentation/yu) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2022-orca-presents-iteration-level-scheduling-for-model-serving)

- 2023-11-06 — S-LoRA batches requests for many adapters on a shared base model [S-LoRA batches requests for many adapters on a shared base model](https://arxiv.org/abs/2311.03285v1) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2023-s-lora-batches-requests-for-many-adapters-on-a-shared-base-model)

- 2024-01-18 — DistServe separates prompt processing from token generation [DistServe separates prompt processing from token generation](https://arxiv.org/abs/2401.09670v1) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2024-distserve-separates-prompt-processing-from-token-generation)

## Related articles

- [AI Engineering](/wiki/ai-engineering/) (covered-in)
- [Model serving](/wiki/model-serving/) (shares-milestones)
- [LoRA and QLoRA](/wiki/lora-qlora/) (shares-milestones)
- [Prompt caching](/wiki/prompt-caching/) (shares-milestones)
