vllm.snapshot.resources
¶
Classes:
-
SnapshotEngineOps– -
SnapshotResourcePlan–Engine-side operations for one snapshot consumer.
Functions:
-
build_checkpoint_resources–KV-only release for a checkpoint of a serving engine.
-
build_session_resources–Level-2 sleep for a process-image snapshot of a private engine.
SnapshotEngineOps
¶
SnapshotResourcePlan
dataclass
¶
Engine-side operations for one snapshot consumer.
Both current consumers release memory before preparing communicators and restore communicators before memory. A failure keeps its phase and is terminal for the engine.
build_checkpoint_resources(*, release_kv_cache, wake_up_kv_cache, rpc)
¶
KV-only release for a checkpoint of a serving engine.
build_session_resources(*, sleep, wake_up_memory, reload_weights, rpc)
¶
Level-2 sleep for a process-image snapshot of a private engine.