Skip to main content
A state checkpoint protects server-side training state. A complete recovery record also protects the user-owned state that tells your controller what to do next. The examples use the call and wait helpers from the Quickstart script.

What to save

1. Save state and loop progress

Save the state with save-weights, wait for it, then persist its path with the client-owned fields needed to continue:
The path in the initial save response is provisional. The checkpoint becomes durable only when the save future completes; if the future fails or is cancelled, do not persist or use that path. Use unique checkpoint names so each loop record identifies an unambiguous recovery boundary. Names use 1–128 characters from A-Z, a-z, 0-9, ., _, and -. Names beginning with __park- or __snap- are reserved.

2. Read the newest complete record

A process can stop while writing the final line. Scan backward and skip a malformed tail:

3. Validate before loading

Compare the record with the source checkpoint and requested continuation:
  • Source job ID in the checkpoint path
  • Base model and LoRA configuration
  • Dataset revision and cursor
  • Reward implementation revision
  • Optimizer settings
  • Tokenizer and chat-template assumptions
Stop for an explicit decision if these fields conflict. Don’t silently combine a checkpoint with a different experiment. Then choose how to continue: To continue in a new job:
The new job takes the checkpoint’s base model and LoRA settings, so don’t send lora_config. Its ID differs from the source job ID. Record source_job_id, state_path, and resumed_job_id as application-owned lineage.

4. Make the boundary recoverable

Use this order:
  1. Wait for the forward-backward and optimizer-step futures to complete.
  2. Save the state checkpoint and wait for the save future.
  3. Persist the loop record containing its path.
  4. Mark the application step complete.
  5. Begin the next step.
If the process exits after saving the checkpoint but before persisting the loop record, keep the previous complete record as the trusted recovery point. Don’t mark a step complete before its record is durable. Future results remain recoverable for one hour. During that window, poll a known save future_id before deciding what happened. If it returns 410, do not blindly repeat the save: reconcile the job’s checkpoints and your durable loop record. The long-term commit boundary is a completed checkpoint plus its durable application record, not the future itself.

5. Keep checkpoint kinds separate

Don’t use a sampler checkpoint as a recovery point; it has no optimizer state and a new job can’t start from it. Pass the full tinker://.../weights/<name> path, not the checkpoint ID suffix, as from_checkpoint. ttl_seconds defaults to null, so an omitted TTL keeps the checkpoint until you delete it. Live checkpoints count toward checkpoint storage. To enable automatic cleanup, pass a value from 3600 to 315360000 seconds (1 hour to 10 years). Manage checkpoints with these routes: Checkpoint downloads are enabled by default. A decoder’s sampler checkpoint downloads as a standard Hugging Face PEFT adapter for the public base model; see Load a decoder adapter. After a job is stopped, mutating training operations are rejected, but you can still list, inspect, download, publish, change the TTL of, and delete its checkpoints. You can also sample from its sampler checkpoints.

6. Verify the continuation

Before scaling the resumed workload:
  1. Start the new job from the selected state checkpoint.
  2. Persist its ID as resumed_job_id, and confirm it through GET /v1/training/jobs/{resumed_job_id}.
  3. Run a small held-out evaluation.
  4. Submit one training update.
  5. Save a new state checkpoint under a new name.
  6. Persist the next loop record.

Deploy your trained model

Deploy a sampler checkpoint to serve it as a model. Deployment is available for Nemotron 3.5 Super VL and Nemotron 3.5 Lightning; Qwen3.6-35B-A3B requires rollout enablement. For current callable IDs, see Deploy an interactive-job checkpoint. If the serving model is not available to your team, deployment returns 400 with serving for <model> is not available yet.
The response has the model’s model_id and a status of deploying. Repeat the same call to check progress; it returns the same model, and status becomes deployed once the model is ready. Then call it by ID:
Replace MODEL_ID with the returned model_id. The first inference request can return 425 model_warming; wait for the Retry-After interval and retry. To request a direct answer without a reasoning preamble, send "reasoning": {"enabled": false} as shown above. See Deploy checkpoint for the request fields and errors.

Diagnose recovery errors