File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ jobs:
125125
126126 echo "::group::Setup Huggingface"
127127 pip install -U "huggingface_hub[cli]>=1.2.1,<2.0" accelerate "optimum~=2.0.0" "transformers==5.0.0rc1"
128- huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
128+ hf auth login --token " $SECRET_EXECUTORCH_HF_TOKEN"
129129 OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
130130 pip install --no-deps git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
131131 echo "::endgroup::"
Original file line number Diff line number Diff line change 9999 if [ "${{ matrix.model_name }}" != "dinov2-small-imagenet1k-1-layer" ]; then
100100 echo "::group::Setup Huggingface"
101101 pip install -U "huggingface_hub[cli]>=1.2.1,<2.0" accelerate "optimum~=2.0.0" "transformers==5.0.0rc1"
102- huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
102+ hf auth login --token " $SECRET_EXECUTORCH_HF_TOKEN"
103103 OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
104104 pip install --no-deps git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
105105 echo "::endgroup::"
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ jobs:
289289 if [ "${{ matrix.model.name }}" != "parakeet-tdt" ] && [ "${{ matrix.model.name }}" != "dinov2-small-imagenet1k-1-layer" ]; then
290290 echo "::group::Setup Huggingface"
291291 pip install -U "huggingface_hub[cli]>=1.2.1,<2.0" accelerate "optimum~=2.0.0" "transformers==5.0.0rc1"
292- huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
292+ hf auth login --token " $SECRET_EXECUTORCH_HF_TOKEN"
293293 OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
294294 pip install --no-deps git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
295295 echo "::endgroup::"
@@ -470,7 +470,7 @@ jobs:
470470
471471 echo "::group::Setup Huggingface"
472472 pip install -U "huggingface_hub[cli]>=1.2.1,<2.0"
473- huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
473+ hf auth login --token " $SECRET_EXECUTORCH_HF_TOKEN"
474474 echo "::endgroup::"
475475
476476 echo "::group::Install optimum-executorch"
You can’t perform that action at this time.
0 commit comments