From a6dc7d2932a9b131ed8599b40d5a42d899b2b6cc Mon Sep 17 00:00:00 2001 From: MingxuZh <109504044+MingxuZh@users.noreply.github.com> Date: Tue, 9 Dec 2025 17:07:51 -0800 Subject: [PATCH] [ci]: Enable the new hf API (#14687) --- .github/CI_PERMISSIONS.json | 7 +++++++ .github/workflows/pr-test-xpu.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/CI_PERMISSIONS.json b/.github/CI_PERMISSIONS.json index eb745d14f..570352c3a 100644 --- a/.github/CI_PERMISSIONS.json +++ b/.github/CI_PERMISSIONS.json @@ -6,6 +6,13 @@ "reason": "custom override", "can_rerun_stage": true }, + "MingxuZh": { + "can_tag_run_ci_label": true, + "can_rerun_failed_ci": true, + "cooldown_interval_minutes": 0, + "reason": "custom override", + "can_rerun_stage": true + }, "Alcanderian": { "can_tag_run_ci_label": true, "can_rerun_failed_ci": true, diff --git a/.github/workflows/pr-test-xpu.yml b/.github/workflows/pr-test-xpu.yml index e464bd571..66f447edd 100644 --- a/.github/workflows/pr-test-xpu.yml +++ b/.github/workflows/pr-test-xpu.yml @@ -86,7 +86,7 @@ jobs: docker exec "$cid" /home/sdp/miniforge3/envs/py3.10/bin/python3 -m pip install --upgrade pip docker exec "$cid" /home/sdp/miniforge3/envs/py3.10/bin/python3 -m pip install pytest expecttest ray huggingface_hub docker exec "$cid" /home/sdp/miniforge3/envs/py3.10/bin/python3 -m pip uninstall -y flashinfer-python - docker exec "$cid" /bin/bash -c '/home/sdp/miniforge3/envs/py3.10/bin/huggingface-cli login --token ${HF_TOKEN} ' + docker exec "$cid" /bin/bash -c '/home/sdp/miniforge3/envs/py3.10/bin/hf auth login --token ${HF_TOKEN} ' docker exec -u root "$cid" /bin/bash -c "ln -sf /home/sdp/miniforge3/envs/py3.10/bin/python3 /usr/bin/python3" - name: Run E2E Bfloat16 tests