Commit 5b1a418
committed
Pin huggingface_hub<1.0 (#15399)
Trying to fix failing HF CI jobs. Looks like our transformers version
requires huggingface_hub<1.0, but we're installing the latest 1.0
version which just released today. Until we bump transformers, I'll just
pin our install of huggingface_hub to below 1.0.
Note that we don't pin the transformers version the same way for pip
install, so this should be a ci only issue (and hence ci only fix).
Here's an example job failure:
```
transformers 4.56.1 requires huggingface-hub<1.0,>=0.34.0, but you have huggingface-hub 1.0.0 which is incompatible.
...
/exec: line 13: huggingface-cli: command not found
```
(from
https://github.com/pytorch/executorch/actions/runs/18851188516/job/53787937311)
(cherry picked from commit 57f0dfd)1 parent a9ef570 commit 5b1a418
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
312 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
313 | 316 | | |
314 | 317 | | |
315 | 318 | | |
| |||
625 | 628 | | |
626 | 629 | | |
627 | 630 | | |
| 631 | + | |
628 | 632 | | |
| 633 | + | |
629 | 634 | | |
630 | 635 | | |
631 | 636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| |||
0 commit comments