Skip to content

vllm.v1.simple_kv_offload.host_buffer

One host mapping backing a rank's CPU KV caches.

Functions:

alloc_host_buffer(nbytes, hugepage_size=None)

Map and populate an int8 CPU tensor of whole backing pages.

HugeTLB pages never fall back to ordinary pages.

parse_hugepage_size(value)

Parse cpu_hugepage_block_size; None or "none" disables it.