All versions · Version range: v0.4.2–v0.23.0
max_num_batched_tokens
Maximum number of tokens to process in a scheduler iteration.
SettingvLLM v0.4.2vLLM v0.23.0verified Sep 29
Metric knowledge (6)
Availability
max_num_batched_tokens is exposed as a SchedulerConfig constructor parameter in the v0.4.2 source snapshot.vllm.config.scheduler_configpartial_promoted_sliceSchedulerConfig constructor surface in vLLM config.py
max_num_batched_tokens is exposed on SchedulerConfig in the v0.23.0 source snapshot.vllm.config.scheduler_configcomplete_inventorySchedulerConfig dataclass field surface in vllm/config/scheduler.py