Skip to content

vllm_omni.diffusion.offloader.cuda_host_registration

CUDA implementation of read-only host-mapping registration.

CudaHostRegistration

Own CUDA registrations for immutable file-backed CPU regions.

region_count property

region_count: int

total_bytes property

total_bytes: int

close

close() -> tuple[str, ...]

Unregister every range and retain failures for a later retry.

create classmethod

create(
    regions: Sequence[MappedHostRegion],
    *,
    max_bytes: int | None,
) -> CudaHostRegistration