Skip to content

Use Hugging Face Hub for CI model downloads#8

Merged
rmorse merged 2 commits into
developfrom
chore/hf-model-downloads
Jun 13, 2026
Merged

Use Hugging Face Hub for CI model downloads#8
rmorse merged 2 commits into
developfrom
chore/hf-model-downloads

Conversation

@rmorse

@rmorse rmorse commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Pre-downloads test models with Hugging Face Hub before running cargo xtask test-setup.
  • Uses the repository HF_TOKEN secret for authenticated model downloads when available.
  • Caches the downloaded model files to reduce repeated Hugging Face resolver traffic.
  • Documents the HF_TOKEN CI secret in CONTRIBUTING.md.

Notes

The vendored whisper.cpp download scripts are left untouched. Once the models are pre-downloaded into whisper-cpp-plus-sys/whisper.cpp/models, cargo xtask test-setup should skip the upstream download scripts.

Verification

  • git diff --check passed locally.
  • CI should verify the authenticated download path on macOS.

@rmorse rmorse merged commit 94599f8 into develop Jun 13, 2026
2 checks passed
@rmorse rmorse deleted the chore/hf-model-downloads branch June 13, 2026 15:02
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