Skip to content

Commit

Permalink
example(runtime): update pytorch example runtime (#2984)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianweidut authored Nov 16, 2023
1 parent fce9d3d commit 147ff2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions example/runtime/pytorch-cn-mirror/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
--extra-index-url 'https://mirrors.bfsu.edu.cn/pypi/web/simple'
--trusted-host 'pypi.tuna.tsinghua.edu.cn mirrors.bfsu.edu.cn'

starwhale>=0.3.6
# for pfp
pycocotools
# for ucf101
Expand All @@ -11,14 +10,14 @@ opencv-python-headless
numpy==1.21.6; python_version=='3.7'
scikit-learn==1.0.2; python_version=='3.7'
scipy==1.7.3; python_version=='3.7'
numpy==1.23.2; python_version>='3.8'
scikit-learn==1.1.1; python_version>='3.8'
scipy==1.8.1; python_version>='3.8'
numpy; python_version>='3.8'
scikit-learn; python_version>='3.8'
scipy; python_version>='3.8'
importlib-metadata>=4.0.0, <=4.2.0;python_version < '3.8'
torch==2.0.1; python_version>='3.8'
torch==1.13.1; python_version=='3.7'
torchaudio
torchdata
torchtext
torchvision
gradio
gradio < 4.0.0
8 changes: 4 additions & 4 deletions example/runtime/pytorch/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ opencv-python-headless
numpy==1.21.6; python_version=='3.7'
scikit-learn==1.0.2; python_version=='3.7'
scipy==1.7.3; python_version=='3.7'
numpy==1.23.2; python_version>='3.8'
scikit-learn==1.1.1; python_version>='3.8'
scipy==1.8.1; python_version>='3.8'
numpy; python_version>='3.8'
scikit-learn; python_version>='3.8'
scipy; python_version>='3.8'
importlib-metadata>=4.0.0, <=4.2.0;python_version < '3.8'
torch==2.0.1; python_version>='3.8'
torch==1.13.1; python_version=='3.7'
torchaudio
torchdata
torchtext
torchvision
gradio
gradio<4.0.0

0 comments on commit 147ff2e

Please sign in to comment.