update test torch version

This commit is contained in:
MaiziXiao 2025-03-24 05:49:28 +00:00
parent 0dcb1bd0fe
commit 3e50ee9533

View File

@ -106,7 +106,7 @@ jobs:
- name: Upgrade pip - name: Upgrade pip
run: python -m pip install pip --upgrade run: python -m pip install pip --upgrade
- name: Install PyTorch - name: Install PyTorch
run: pip install torch==2.0.0+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html run: pip install torch==${{matrix.torch}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html
- name: Install opencompass dependencies - name: Install opencompass dependencies
run: | run: |
pip install -r requirements.txt pip install -r requirements.txt