Skip to content

Commit

Permalink
chore(example): upgrade pytorch version for examples (#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianweidut authored Jul 24, 2023
1 parent 6041841 commit e3eeb75
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
13 changes: 7 additions & 6 deletions example/runtime/pytorch-cn-mirror/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ 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'
importlib-metadata>=4.0.0, <=4.2.0;python_version < '3.8'
torch==1.12.1
torchaudio==0.12.1
torchdata==0.4.1
torchtext==0.13.1
torchvision==0.13.1
gradio
torch==2.0.1; python_version>='3.8'
torch==1.13.1; python_version=='3.7'
torchaudio
torchdata
torchtext
torchvision
gradio
11 changes: 6 additions & 5 deletions example/runtime/pytorch-e2e/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ 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'
importlib-metadata>=4.0.0, <=4.2.0;python_version < '3.8'
torch==1.12.1
torchaudio==0.12.1
torchdata==0.4.1
torchtext==0.13.1
torchvision==0.13.1
torch==2.0.1; python_version>='3.8'
torch==1.13.1; python_version=='3.7'
torchaudio
torchdata
torchtext
torchvision
14 changes: 7 additions & 7 deletions example/runtime/pytorch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
starwhale>=0.3.6
# for pfp
pycocotools
# for ucf101
Expand All @@ -11,9 +10,10 @@ 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'
importlib-metadata>=4.0.0, <=4.2.0;python_version < '3.8'
torch==1.12.1
torchaudio==0.12.1
torchdata==0.4.1
torchtext==0.13.1
torchvision==0.13.1
gradio
torch==2.0.1; python_version>='3.8'
torch==1.13.1; python_version=='3.7'
torchaudio
torchdata
torchtext
torchvision
gradio

0 comments on commit e3eeb75

Please sign in to comment.