In this article
Create snapshots from a documented initialization state and test the restored worker for retained synthetic request state.
The Snapshot repository describes saving a running process with CPU and GPU memory. That makes checkpoint timing important for inference operators. A snapshot made after serving requests can have a different data boundary from a deliberately prepared model-only startup image.
Treat memory as part of the artifact
A process checkpoint can capture more than weights and compiled kernels. Depending on the application, buffers, caches, credentials and request bookkeeping can reside in memory. Inventory what the worker has touched before checkpointing. The question is which state is present in the selected process, rather than which objects appear in the model directory.
Use a controlled source worker
Build a snapshot fixture that loads the model and performs only approved synthetic warmup. Keep production traffic off that worker. Record when credentials enter the process and whether their reuse after restore is supported. If the service requires fresh identity, put re-establishment into the restore workflow and verify its outcome before routing.
Probe with distinctive synthetic state
In a separate evaluation, send a unique harmless marker before checkpointing, restore into an isolated worker and inspect application-visible history and cache behavior. Use this to identify retained state, not to infer that all memory has been erased when the marker is absent. Test the actual initialization path used for distributable snapshots.
Apply lifecycle controls to snapshots
Give the snapshot store access control, retention and deletion rules consistent with its contents. Tie the artifact to the model and initialization revision. When the source configuration changes, qualify a fresh checkpoint. A restored readiness probe should verify that the worker belongs to the intended tenant and model before accepting live inputs.
Primary sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.