From e83ce415cd1de1ae2ff5743dcdbbc5ab821f0f90 Mon Sep 17 00:00:00 2001 From: mengfeil Date: Thu, 26 Dec 2024 14:29:18 +0800 Subject: [PATCH] fix huggingface import cached_download issue --- .github/actions/inductor-xpu-e2e-test/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/inductor-xpu-e2e-test/action.yml b/.github/actions/inductor-xpu-e2e-test/action.yml index 4e1fce079..79731416f 100644 --- a/.github/actions/inductor-xpu-e2e-test/action.yml +++ b/.github/actions/inductor-xpu-e2e-test/action.yml @@ -85,7 +85,7 @@ runs: # install timm dependencies without torch and torchvision pip install $(curl -sSL https://raw.githubusercontent.com/huggingface/pytorch-image-models/$TIMM_COMMIT_ID/requirements.txt | grep -vE torch) fi - pip install numpy==1.26.4 + pip install -U numpy==1.26.4 huggingface-hub==0.25.0 - name: E2E Test (${{ inputs.suite }} ${{ inputs.dt }} ${{ inputs.mode }} ${{ inputs.scenario }}) env: HUGGING_FACE_HUB_TOKEN: ${{ inputs.hf_token }}