Skip to content

Commit 998df8c

Browse files
authored
[Fix] Fix PyTorch installation in merge stage test (#1158)
fix merge stage test
1 parent 1aca6d1 commit 998df8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/merge_stage_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
run: |
140140
apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
141141
- name: Install PyTorch
142-
run: pip install torch==1.8.1+cpu torchvision==0.9.1+cpu -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
142+
run: python -m pip install torch==1.8.1+cpu torchvision==0.9.1+cpu -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
143143
- name: Install mmediting dependencies
144144
run: |
145145
pip install git+https://github.com/open-mmlab/mmengine.git@main

0 commit comments

Comments
 (0)