Skip to content

Commit bae0e6c

Browse files
[CI] remove peft & fix torch was upgraded by optimum (#1272)
* remove peft * fix torch version
1 parent 24c05e2 commit bae0e6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,11 @@ jobs:
562562
uv pip install dist/*.whl -i http://${{ needs.check-vm.outputs.ip }}/simple/ --trusted-host ${{ needs.check-vm.outputs.ip }} --extra-index-url https://pypi.org/simple
563563
564564
if [ "${{ matrix.test_script }}" == "test_transformers" ]; then
565-
echo "===== install peft from git ====="
566-
uv pip install -U git+https://github.com/huggingface/peft.git -i http://${{ needs.check-vm.outputs.ip }}/simple/ --trusted-host ${{ needs.check-vm.outputs.ip }}
567565
echo "===== install optimum from git ====="
568566
uv pip install -U git+https://github.com/huggingface/optimum.git -i http://${{ needs.check-vm.outputs.ip }}/simple/ --trusted-host ${{ needs.check-vm.outputs.ip }}
569567
echo "===== install transformers from git ====="
570568
uv pip install -U git+https://github.com/huggingface/transformers.git -i http://${{ needs.check-vm.outputs.ip }}/simple/ --trusted-host ${{ needs.check-vm.outputs.ip }}
569+
uv pip install torch==2.5.1 # fix optimum will install torch 2.6.0
571570
fi
572571
573572
if [[ "${{ matrix.test_script }}" == "test_sglang" ]]; then

0 commit comments

Comments
 (0)