Skip to content

vllm.snapshot.engine

Classes:

  • SnapshotCanaryError –

    The initialized engine did not produce a valid snapshot oracle.

  • SnapshotSession –

    One capture and restore cycle with admission owned by the caller.

SnapshotCanaryError

Bases: RuntimeError

The initialized engine did not produce a valid snapshot oracle.

SnapshotSession

One capture and restore cycle with admission owned by the caller.

Preparation records a canary, releases and restores resources to rehearse recovery, then releases them again for capture. The caller must not expose the engine to request producers until restore succeeds, and owns termination when a phase fails: a failed session cannot be resumed. The engine must be an out-of-process EngineClient; wait pause mode is not available to an in-process engine.