Skip to content

vllm.snapshot.resources

Classes:

Functions:

SnapshotEngineOps

Attributes:

  • is_idle (bool) –

    Whether the engine may start another resource operation.

is_idle property

Whether the engine may start another resource operation.

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.