Skip to content

vllm.v1.kv_offload.cpu.platforms.rocm

ROCm overrides for the CUDA-API implementation.

ROCm exposes the same torch.cuda and CudaRTLibrary (HIP) surface, so only the differences live here: ROCm host mappings are not dereferenceable by the Triton kernel, and neither the shared mmap region nor deferred host setup is used.

Classes:

RocmRuntime

Bases: CudaRuntime

Platform services for ROCm GPUs.