Quickstart
Install and log in to Prime CLI 0.16.0 or later. Pausing needs a run launched with--volume.
1
Launch a run on a volume
2
Pause it
3
Wait for PAUSED
4
Resume it
Things to know
- Only a RUNNING run can be paused, and only if it uses prime-rl image
v0.10.1.dev11or later. The default image qualifies. A run without a volume can only be stopped. - Pausing doesn’t need a
[ckpt]block. The pause saves its own checkpoint atruns/<runId>/checkpoints/step_<n>/. - A paused run can’t be unpaused or restarted in place. Resume it as a new run instead. The new run writes its outputs to its own
runs/<newRunId>/directory on the same volume. - Secrets aren’t kept after a run starts, so pass them again when you resume:
prime train resume <run-id> -e WANDB_API_KEY. - To resume on a different GPU type or image, pass
--gpu-typeor--image-tagtoprime train resume. - To change the config, for example to raise
max_steps, resume from your edited TOML withprime train config.toml --resume-from <run-id>. Keep the same model, since the checkpoint is loaded as is. If you also pass--volume, it must name the paused run’s volume. - The PAUSING phase is billed like a running run, because the run still holds its GPUs while it saves. A PAUSED run isn’t billed.