[ci]: Enable the new hf API (#14687)

This commit is contained in:
MingxuZh
2025-12-09 17:07:51 -08:00
committed by GitHub
parent 390406c46c
commit a6dc7d2932
2 changed files with 8 additions and 1 deletions

View File

@@ -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,

View File

@@ -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