Repository navigation
Commit b76bbfb
committed
fix(scripts): use --type/--exist-ok flags for new hf CLI
The newer hf CLI (>=1.0) renamed `--repo_type` to `--type` (or
`--repo-type`) and `--exist_ok` to `--exist-ok`. The old underscore
forms now fail with 'No such option'. Verified locally: end-to-end
publish of dinov2-small succeeds, repo
dinov2-cpp-core/dinov2-small-gguf contains model.gguf.
Surfaced by running the script against a real HF_TOKEN per the local
test plan; without this fix the workflow would silently fail at the
upload step on every monthly cron run.1 parent 9b27bb2 commit b76bbfb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments