vllm_omni.diffusion.offloader.host_registration ¶
Platform-neutral lifecycle for registering existing host mappings.
HostRegistration ¶
HostRegistrationBudgetError ¶
Bases: HostRegistrationError
Raised before mutation when the complete mapping exceeds its budget.
HostRegistrationCleanupError ¶
HostRegistrationError ¶
Bases: RuntimeError
Raised when existing host ranges cannot be registered safely.
register_host_mappings ¶
register_host_mappings(
regions: Sequence[MappedHostRegion],
*,
device: device,
max_bytes: int | None,
) -> HostRegistration
Register immutable ranges with the active platform implementation.