This page documents the classes behind continuous batching inference: submitting prompts, configuring scheduling and memory limits, and retrieving results.
Continuous batching
This page documents the classes behind continuous batching inference: submitting prompts, configuring scheduling and memory limits, and retrieving results.
For usage examples, see the Continuous batching guide and for how scheduling and memory interact, see the Continuous batching architecture doc.
ContinuousMixin.generate_batch
[[autodoc]] ContinuousMixin.generate_batch
ContinuousBatchingManager
[[autodoc]] ContinuousBatchingManager
Continuous batching config
[[autodoc]] ContinuousBatchingConfig
Source and license
Source: Transformers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.