vllm.v1.kv_offload.cpu.common
¶
Classes:
-
CPULoadStoreSpec–Spec for loading/storing KV chunks to/from CPU memory.
-
CPUOffloadingInfo–Static facts about the CPU offload tier.
CPULoadStoreSpec
¶
Bases: BlockIDsLoadStoreSpec
Spec for loading/storing KV chunks to/from CPU memory.
The inherited block_ids field holds chunk indices into the CPU cache (not GPU block IDs). The chunk_ids alias exposes the same array under the name used by the tiering layer.
Source code in vllm/v1/kv_offload/cpu/common.py
CPUOffloadingInfo
dataclass
¶
Bases: ConfigInfo
Static facts about the CPU offload tier.