vllm.v1.kv_offload.config
¶
Normalized configuration consumed by native offloading backends.
Classes:
Functions:
-
places_workers_by_nnodes–Whether the executor places workers by the configured node count, so
-
workers_may_span_nodes–Whether an engine's workers may be on several nodes: as the executor
OffloadingParallelConfig
dataclass
¶
Attributes:
-
spans_nodes(bool) –Whether workers may be on several nodes.
Source code in vllm/v1/kv_offload/config.py
spans_nodes
property
¶
Whether workers may be on several nodes.
places_workers_by_nnodes(distributed_executor_backend)
¶
Whether the executor places workers by the configured node count, so that local_world_size says which workers share a node.
Source code in vllm/v1/kv_offload/config.py
workers_may_span_nodes(world_size, local_world_size, placement_known)
¶
Whether an engine's workers may be on several nodes: as the executor reports, or for any engine of several workers whose placement is unknown.