Skip to content

Commit e774959

Browse files
committed
Pin huggingface_hub<1.0
1 parent cd6f2e2 commit e774959

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/cuda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
echo "::endgroup::"
129129
130130
echo "::group::Setup Huggingface"
131-
pip install -U "huggingface_hub[cli]" accelerate
131+
pip install -U "huggingface_hub[cli]<1.0" accelerate
132132
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
133133
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
134134
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
@@ -208,7 +208,7 @@ jobs:
208208
echo "::endgroup::"
209209
210210
echo "::group::Setup Huggingface"
211-
pip install -U "huggingface_hub[cli]" accelerate
211+
pip install -U "huggingface_hub[cli]<1.0" accelerate
212212
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
213213
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
214214
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}

.github/workflows/metal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
set -eux
4545
4646
echo "::group::Setup Huggingface"
47-
${CONDA_RUN} pip install -U "huggingface_hub[cli]" accelerate
47+
${CONDA_RUN} pip install -U "huggingface_hub[cli]<1.0" accelerate
4848
${CONDA_RUN} huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
4949
echo "::endgroup::"
5050

.github/workflows/pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ jobs:
315315
echo "::endgroup::"
316316
317317
echo "::group::Setup Huggingface"
318-
pip install -U "huggingface_hub[cli]" accelerate
318+
pip install -U "huggingface_hub[cli]<1.0" accelerate
319319
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
320320
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
321321
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
@@ -636,7 +636,7 @@ jobs:
636636
echo "::group::Setup ExecuTorch"
637637
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake"
638638
echo "::endgroup::"
639-
639+
640640
echo "::group::Setup requirements"
641641
# install phi-3-mini requirements
642642
bash examples/models/phi-3-mini/install_requirements.sh

.github/workflows/trunk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ jobs:
834834
echo "::endgroup::"
835835
836836
echo "::group::Setup Huggingface"
837-
pip install -U "huggingface_hub[cli]" accelerate
837+
pip install -U "huggingface_hub[cli]<1.0" accelerate
838838
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
839839
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
840840
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}

0 commit comments

Comments
 (0)