vllm.v1.core.sched.output
¶
Classes:
-
CachedRequestData– -
IterationDetails–Scheduled prefill/decode request and input counts.
-
KVConnectorBlockState–Scheduler-local block state offered to a producer-side KV connector.
-
SchedulerOutput–
CachedRequestData
dataclass
¶
_req_id_to_num_output_tokens
cached
property
¶
Cache mapping of req_id to num_output_tokens for O(1) lookup.
This cached property is safe because CachedRequestData instances are created fresh each scheduling iteration and not mutated during computation of iteration details.
IterationDetails
dataclass
¶
Scheduled prefill/decode request and input counts.
KVConnectorBlockState
dataclass
¶
Scheduler-local block state offered to a producer-side KV connector.
SchedulerOutput
dataclass
¶
Methods:
-
shares_requests_with–Whether any request is scheduled in both this step and
other.
shares_requests_with(other)
¶
Whether any request is scheduled in both this step and other.