Skip to content

vllm.v1.kv_offload.cpu.spec

Classes:

CPUOffloadingSpec

Bases: OffloadingSpec

Methods:

  • config_info_keys –

    Return the label names CPUOffloadingManager.config_info() fills.

_uses_shared_region()

Whether the worker CPU buffer is the shared mmap region (vs a private per-rank tensor); replicated-layout dedup is gated on this being True.

config_info_keys(extra_config) classmethod

Return the label names CPUOffloadingManager.config_info() fills.

_all_workers_barrier()

Block until every worker rank has reached this point (gloo cpu group).

A superset of the node-local mmap openers suffices: once the barrier releases, every worker sharing the region file has mapped it.