If you just want your trained weights on Hugging Face, use the first one: it is a single command and works on anything already in your model library. The second exists so a long run can hand off its result without you coming back to it.
The pushed repo link is surfaced everywhere the model appears:
- Dashboard: a “View on Hugging Face” button on the job page.
- API / SDK: the
hf_repo_urlfield on the training job object.
Connect your account
Create a token with write scope at huggingface.co/settings/tokens, then connect it one of three ways. Veri validates the token against Hugging Face when you save it, so a bad token fails here instead of at the end of a training run.- CLI
- Dashboard
- SDK
Push a finished model
Models already in your model library (finished training jobs you saved, or cached Hugging Face imports) can be pushed at any time, with no training run required. The upload happens server-side; nothing downloads to your machine. Save a finished job’s checkpoint into the library first if it is not there yet:- CLI
- Dashboard
- API
--public to create a public repo, --no-wait to return immediately.Push automatically when a job finishes
Opt in on the job itself with a target repo and the artifact you want.artifact is required and picks what lands in the repo:
merged: standalone weights, loadable withfrom_pretrainedalone. For LoRA runs, Veri merges the adapter into the base model before uploading.adapter: the LoRA adapter only (requires a LoRA job, i.e.lora_rankset). Small upload; load it with PEFT on top of the base model.
private = false to publish.
- Config file
- SDK
- API
veri run.artifact = "adapter" on a job without lora_rank all fail immediately with a clear message.
The push is supported for managed
grpo, grpo_harness, sft_text, and dpo jobs. Custom-script jobs own their training loop and can push from the script itself; sft_video_gen is not supported yet.What happens at the end of the run
- The trained checkpoint is saved and uploaded to Veri storage as usual. The push is additive, and your checkpoint stays downloadable from Veri either way.
- For
mergedon a LoRA run, the adapter is merged into the base model on the training machine. - Veri creates the repo if it doesn’t exist (honoring
private) and uploads the artifact. - The job records
hf_repo_urlon success.
How your token is handled
- Stored encrypted at rest, scoped to your account. The API never returns it.
- Delivered to the training machine at runtime over a job-scoped authenticated channel, only for jobs that opted into the push; it is never written into job config files or logs.
veri hf removedisconnects immediately: jobs submitted afterwards can no longer push.

