Volume-hosted models are part of the Volumes beta.
[model].name at their absolute /volume/... path and attach the volume. No model-cache entry is needed.
Use this for:
- Weights that aren’t on Hugging Face, such as private or proprietary checkpoints.
- Continuing your own fine-tunes from weights you exported to Hugging Face format.
Quick start
Create a volume and upload a complete Hugging Face model directory, includingconfig.json, safetensors weights, and tokenizer assets:
[deployment] for your model as described in Hosted SFT. This example uses Qwen3 weights; choose the renderer for your model family.
Use the model in an RL run
Start with a complete RL training config and replace its shared model name:prime train config.toml --volume research.
Set the renderer explicitly for the model family. A filesystem path cannot identify the family from a Hugging Face model ID; the Qwen3 example above uses prime-qwen3.
RL configs with [trainer] and [orchestrator] blocks support volume model paths; a cached Hugging Face ID is not required for these paths.
Rules
The whole volume is mounted read-write, including earlier
runs/ directories. The trainer writes weight conversions to scratch space rather than overwriting the source model.
Continue from a previous run’s checkpoint
Run checkpoints are in prime-rl’s sharded format, so they can’t be used directly as[model].name. Export a checkpoint to Hugging Face format, upload the exported directory under models/, and use its /volume/models/... path for a new SFT or RL run.
Starting from exported weights begins a new run; it does not restore the previous optimizer or training step. To resume the full training state, set [resume].dir to the checkpoint’s step directory in the run TOML:
See also
- Volumes: create, upload, and download.
- Hosted SFT: the walkthrough this builds on.
- Hosted RL: RL configs and dispatch options.