Skip to content

ci: publish the model to HuggingFace on release tag - #102

Merged
MateoLostanlen merged 2 commits into
mainfrom
ci/auto-publish-model
Oct 13, 2026
Merged

MateoLostanlen merged 2 commits into
mainfrom
ci/auto-publish-model

Conversation

@MateoLostanlen

Copy link
Copy Markdown
Member
  • Releasing a new model took about 8 manual steps (dvc pull, ONNX export, publish with a local write token, version bump PR, tag). Now it is a PR that bumps api/MODEL_VERSION, then a git tag.
  • New publish-model job in push.yml: if v<MODEL_VERSION> is not on HuggingFace yet, it pulls train's model.zip from DVC, exports model_onnx.zip, and runs release publish. The HF tag is created last, so a code-only release skips the job and a failed publish can be retried.
  • docker now waits for publish-model. docs/releasing.md and the retrain runbook are updated.
  • Needs the HF_TOKEN secret to have write access to pyronear/temporal-model.

@MateoLostanlen
MateoLostanlen merged commit ea814d9 into main Oct 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant