Commit 2f62dbf
fix(ci): add HF_TOKEN and model caching, remove uv.lock
- Add HF_TOKEN environment variable to CI workflow for authenticated HuggingFace downloads
- Add HuggingFace model caching to avoid repeated downloads and HTTP 429 errors
- Set TRANSFORMERS_CACHE and HF_HOME environment variables for consistent model paths
- Remove uv.lock that was accidentally committed in rollback commit
- Add uv.lock to .gitignore to prevent future commits
This fixes the CI failure caused by HuggingFace rate limiting when multiple tests load the sentence-transformers model.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent e2f4672 commit 2f62dbf
3 files changed
Lines changed: 15 additions & 2258 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
58 | 70 | | |
59 | 71 | | |
60 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments