vllm.snapshot.manifest
¶
Classes:
-
ReadyMarker–Ready marker the child writes; unknown keys are ignored.
-
ReleaseMarker–Release marker the controller writes; unknown keys are ignored.
-
SnapshotCompatibilityError–The snapshot identity does not match the requested runtime.
-
SnapshotSecurityError–The snapshot artifact does not meet the private-path contract.
Functions:
-
read_manifest–Read a snapshot published by atomically installing its manifest.
-
validate_artifact_root–Validate that an artifact path cannot be replaced by another user.
-
validate_identity–Require an exact match for every field that can affect compatibility.
-
write_manifest_atomic–Write a new private manifest and make its directory entry durable.
ReadyMarker
¶
Bases: BaseModel
Ready marker the child writes; unknown keys are ignored.
Source code in vllm/snapshot/manifest.py
ReleaseMarker
¶
Bases: BaseModel
Release marker the controller writes; unknown keys are ignored.
Source code in vllm/snapshot/manifest.py
SnapshotCompatibilityError
¶
Bases: RuntimeError
The snapshot identity does not match the requested runtime.
SnapshotSecurityError
¶
Bases: RuntimeError
The snapshot artifact does not meet the private-path contract.
read_manifest(path)
¶
Read a snapshot published by atomically installing its manifest.
Source code in vllm/snapshot/manifest.py
validate_artifact_root(path, *, creating)
¶
Validate that an artifact path cannot be replaced by another user.
Source code in vllm/snapshot/manifest.py
validate_identity(expected, actual)
¶
Require an exact match for every field that can affect compatibility.
Source code in vllm/snapshot/manifest.py
write_manifest_atomic(path, manifest)
¶
Write a new private manifest and make its directory entry durable.