@@ -626,7 +626,7 @@ jobs:
626626          BUILD_TORCHAO_EXPERIMENTAL=1 TORCHAO_BUILD_CPU_AARCH64=1 TORCHAO_BUILD_KLEIDIAI=1 TORCHAO_ENABLE_ARM_NEON_DOT=1 TORCHAO_PARALLEL_BACKEND=OPENMP pip install third-party/ao 
627627        fi 
628628
629-         pip install -U "huggingface_hub[cli]" 
629+         pip install -U "huggingface_hub[cli]<1.0 " 
630630
631631        bash .ci/scripts/test_torchao_huggingface_checkpoints.sh ${{ matrix.model }} ${{ matrix.model != 'phi_4_mini' && '--test_with_runner' || '' }}  ${{ matrix.backend == 'torchao' && '--use_torchao_kernels' || '' }} 
632632
@@ -659,7 +659,7 @@ jobs:
659659        echo "::endgroup::" 
660660
661661        echo "::group::Set up Huggingface" 
662-         ${CONDA_RUN} pip install -U "huggingface_hub[cli]" accelerate 
662+         ${CONDA_RUN} pip install -U "huggingface_hub[cli]<1.0 " accelerate 
663663        ${CONDA_RUN} huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN 
664664        OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt) 
665665        ${CONDA_RUN} pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION} 
@@ -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} 
@@ -930,7 +930,7 @@ jobs:
930930        echo "::endgroup::" 
931931
932932        echo "::group::Set up Huggingface" 
933-         ${CONDA_RUN} pip install -U "huggingface_hub[cli]" accelerate 
933+         ${CONDA_RUN} pip install -U "huggingface_hub[cli]<1.0 " accelerate 
934934        ${CONDA_RUN} huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN 
935935        OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt) 
936936        ${CONDA_RUN} pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION} 
@@ -1043,45 +1043,6 @@ jobs:
10431043      build-tool : cmake 
10441044      docker-image : ci-image:executorch-ubuntu-22.04-clang12 
10451045
1046-   test-mcu-models :
1047-     name : test-mcu-models 
1048-     uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
1049-     strategy :
1050-       matrix :
1051-         include :
1052-           - build-tool : cmake 
1053-       fail-fast : false 
1054-     permissions :
1055-       id-token : write 
1056-       contents : read 
1057-     with :
1058-       runner : linux.2xlarge 
1059-       docker-image : ci-image:executorch-ubuntu-22.04-arm-sdk 
1060-       submodules : ' recursive' 
1061-       ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} 
1062-       timeout : 90 
1063-       script : | 
1064-         BUILD_TOOL=${{ matrix.build-tool }} 
1065- 
1066-         # The generic Linux job chooses to use base env, not the one setup by the image 
1067-         CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 
1068-         conda activate "${CONDA_ENV}" 
1069- 
1070-         # Try to mirror these as closely as possible 
1071-         source .ci/scripts/utils.sh 
1072-         install_executorch "--use-pt-pinned-commit" 
1073- 
1074-         .ci/scripts/setup-arm-baremetal-tools.sh 
1075-         source examples/arm/ethos-u-scratch/setup_path.sh 
1076- 
1077-         # Run selective Build 
1078-         chmod +x examples/selective_build/test_selective_build.sh 
1079-         examples/selective_build/test_selective_build.sh "${BUILD_TOOL}" 
1080- 
1081-         # Run MCU models 
1082-         chmod +x examples/arm/run_mcu_models_fvp.sh 
1083-         examples/arm/run_mcu_models_fvp.sh --target=cortex-m55 
1084- 
10851046  test-models-windows :
10861047    uses : pytorch/test-infra/.github/workflows/windows_job.yml@main 
10871048    strategy :
0 commit comments