[ci]: Enable the new hf API (#14687)
This commit is contained in:
@@ -6,6 +6,13 @@
|
|||||||
"reason": "custom override",
|
"reason": "custom override",
|
||||||
"can_rerun_stage": true
|
"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": {
|
"Alcanderian": {
|
||||||
"can_tag_run_ci_label": true,
|
"can_tag_run_ci_label": true,
|
||||||
"can_rerun_failed_ci": true,
|
"can_rerun_failed_ci": true,
|
||||||
|
|||||||
@@ -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 --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 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" /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"
|
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
|
- name: Run E2E Bfloat16 tests
|
||||||
|
|||||||
Reference in New Issue
Block a user