Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to PT1.11 #1592

Merged
merged 7 commits into from
Apr 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion model-archiver/model_archiver/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.3
0.6.0
8 changes: 4 additions & 4 deletions requirements/torch_cu102_linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cython
wheel
pillow==9.0.1
torch==1.10.0; sys_platform == 'linux'
torchvision==0.11.1; sys_platform == 'linux'
torchtext==0.11.0; sys_platform == 'linux'
torchaudio==0.10.0; sys_platform == 'linux'
torch==1.11.0; sys_platform == 'linux'
torchvision==0.12.0; sys_platform == 'linux'
torchtext==0.12.0; sys_platform == 'linux'
torchaudio==0.11.0; sys_platform == 'linux'
10 changes: 5 additions & 5 deletions requirements/torch_cu113_linux.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
#pip3 install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
--find-links https://download.pytorch.org/whl/torch_stable.html
cython
wheel
pillow==9.0.1
torch==1.10.0+cu113; sys_platform == 'linux'
torchvision==0.11.1+cu113; sys_platform == 'linux'
torchtext==0.11.0; sys_platform == 'linux'
torchaudio==0.10.0+cu113; sys_platform == 'linux'
torch==1.11.0+cu113; sys_platform == 'linux'
torchvision==0.12.0+cu113; sys_platform == 'linux'
torchtext==0.12.0; sys_platform == 'linux'
torchaudio==0.11.0+cu113; sys_platform == 'linux'
10 changes: 5 additions & 5 deletions requirements/torch_cu113_windows.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
#pip3 install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio===0.11.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.10.0+cu113; sys_platform == 'win32'
torchvision==0.11.1+cu113; sys_platform == 'win32'
torchtext==0.11.0; sys_platform == 'win32'
torchaudio==0.10.0+cu113; sys_platform == 'win32'
torch==1.11.0+cu113; sys_platform == 'win32'
torchvision==0.12.0+cu113; sys_platform == 'win32'
torchtext==0.12.0; sys_platform == 'win32'
torchaudio==0.11.0+cu113; sys_platform == 'win32'
8 changes: 4 additions & 4 deletions requirements/torch_darwin.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pip install torch torchvision torchaudio
torch==1.10.0; sys_platform == 'darwin'
torchvision==0.11.1; sys_platform == 'darwin'
torchtext==0.11.0; sys_platform == 'darwin'
torchaudio==0.10.0; sys_platform == 'darwin'
torch==1.11.0; sys_platform == 'darwin'
torchvision==0.12.0; sys_platform == 'darwin'
torchtext==0.12.0; sys_platform == 'darwin'
torchaudio==0.11.0; sys_platform == 'darwin'
10 changes: 5 additions & 5 deletions requirements/torch_linux.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pip3 install torch==1.10.0+cpu torchvision==0.11.1+cpu torchaudio==0.10.0+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
#pip3 install torch==1.11.0+cpu torchvision==0.12.0+cpu torchaudio==0.11.0+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
cython
wheel
pillow==9.0.1
torch==1.10.0+cpu; sys_platform == 'linux'
torchvision==0.11.1+cpu; sys_platform == 'linux'
torchtext==0.11.0; sys_platform == 'linux'
torchaudio==0.10.0+cpu; sys_platform == 'linux'
torch==1.11.0+cpu; sys_platform == 'linux'
torchvision==0.12.0+cpu; sys_platform == 'linux'
torchtext==0.12.0; sys_platform == 'linux'
torchaudio==0.11.0+cpu; sys_platform == 'linux'
11 changes: 5 additions & 6 deletions requirements/torch_windows.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
wheel
torch==1.10.0; sys_platform == 'win32'
torchvision==0.11.1; sys_platform == 'win32'
torchtext==0.11.0; sys_platform == 'win32'
torchaudio==0.10.0; sys_platform == 'win32'
pillow==9.0.1

torch==1.11.0; sys_platform == 'win32'
torchvision==0.12.0; sys_platform == 'win32'
torchtext==0.12.0; sys_platform == 'win32'
torchaudio==0.11.0; sys_platform == 'win32'
pillow==9.0.1
2 changes: 1 addition & 1 deletion ts/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.3
0.6.0
2 changes: 1 addition & 1 deletion ts_scripts/install_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_brew_version():
if __name__ == "__main__":
check_python_version()
parser = argparse.ArgumentParser(description="Install various build and test dependencies of TorchServe")
parser.add_argument('--cuda', default=None, choices=['cu92', 'cu101', 'cu102', 'cu111'], help="CUDA version for torch")
parser.add_argument('--cuda', default=None, choices=['cu92', 'cu101', 'cu102', 'cu111', 'cu113'], help="CUDA version for torch")
parser.add_argument('--environment', default='prod', choices=['prod', 'dev'],
help="environment(production or developer) on which dependencies will be installed")
parser.add_argument("--force", action='store_true', help="force reinstall dependencies wget, node, java and apt-update")
Expand Down
2 changes: 1 addition & 1 deletion workflow-archiver/workflow_archiver/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.3
0.2.4