Skip to content

vllm_omni.host_weight_runtime.lease

Process-local ownership for immutable mmap-backed host tensors.

HostWeightLease

Stable tensor views and resources retained until transport teardown.

closed property

closed: bool

identity instance-attribute

identity = identity

manifest instance-attribute

manifest = manifest

mapped_regions instance-attribute

mapped_regions = mapped_regions

provenance instance-attribute

provenance = provenance

tensors instance-attribute

tensors = MappingProxyType(self._tensor_storage)

close

close() -> None

HostWeightLeaseCarrier

Process-local, single-take ownership carrier for a host-weight lease.

The loader creates the carrier after a restore transaction has committed. The runner/backend takes the lease exactly once before starting any asynchronous transport work. If setup fails before that handoff, closing the carrier releases the loader-owned lease.

closed property

closed: bool

taken property

taken: bool

close

close() -> None

Close the lease if ownership has not been transferred.

take

take() -> HostWeightLease

Transfer the lease to the transport owner exactly once.

LeaseProvenance dataclass

artifact_content_sha256 instance-attribute

artifact_content_sha256: str

artifact_origin instance-attribute

artifact_origin: str

backing_fingerprint instance-attribute

backing_fingerprint: str

domain_uuid instance-attribute

domain_uuid: str

identity_digest instance-attribute

identity_digest: str

producer_id instance-attribute

producer_id: str | None

provider_id instance-attribute

provider_id: str | None

publication_id instance-attribute

publication_id: str

resolution_id instance-attribute

resolution_id: str

resolution_source instance-attribute

resolution_source: str

validation_level instance-attribute

validation_level: str

MappedHostRegion dataclass

One process-local virtual range belonging to an artifact payload file.

address instance-attribute

address: int

file_name instance-attribute

file_name: str

length instance-attribute

length: int

read_only class-attribute instance-attribute

read_only: bool = True