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 PyTorch 2.2.1 #2959

Merged
merged 3 commits into from
Feb 23, 2024
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 cpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function install_kineto() {
}

function install_libtorch() {
TORCH_VERSION="2.2.0"
TORCH_VERSION="2.2.1"
if [ "$PLATFORM" = "Mac" ]; then
if [ ! -d "$DEPS_DIR/libtorch" ]; then
if [[ $(uname -m) == 'x86_64' ]]; then
Expand Down
8 changes: 4 additions & 4 deletions requirements/torch_cu118_linux.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
--extra-index-url https://download.pytorch.org/whl/cu118
-r torch_common.txt
torch==2.2.0+cu118; sys_platform == 'linux'
torchvision==0.17.0+cu118; sys_platform == 'linux'
torchtext==0.17.0; sys_platform == 'linux'
torchaudio==2.2.0+cu118; sys_platform == 'linux'
torch==2.2.1+cu118; sys_platform == 'linux'
torchvision==0.17.1+cu118; sys_platform == 'linux'
torchtext==0.17.1; sys_platform == 'linux'
torchaudio==2.2.1+cu118; sys_platform == 'linux'
8 changes: 4 additions & 4 deletions requirements/torch_cu118_windows.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
--extra-index-url https://download.pytorch.org/whl/cu118
-r torch_common.txt
torch==2.2.0+cu118; sys_platform == 'linux'
torchvision==0.17.0+cu118; sys_platform == 'linux'
torchtext==0.17.0; sys_platform == 'linux'
torchaudio==2.2.0+cu118; sys_platform == 'linux'
torch==2.2.1+cu118; sys_platform == 'linux'
torchvision==0.17.1+cu118; sys_platform == 'linux'
torchtext==0.17.1; sys_platform == 'linux'
torchaudio==2.2.1+cu118; sys_platform == 'linux'
8 changes: 4 additions & 4 deletions requirements/torch_cu121_linux.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
--extra-index-url https://download.pytorch.org/whl/cu121
-r torch_common.txt
torch==2.2.0+cu121; sys_platform == 'linux'
torchvision==0.17.0+cu121; sys_platform == 'linux'
torchtext==0.17.0; sys_platform == 'linux'
torchaudio==2.2.0+cu121; sys_platform == 'linux'
torch==2.2.1+cu121; sys_platform == 'linux'
torchvision==0.17.1+cu121; sys_platform == 'linux'
torchtext==0.17.1; sys_platform == 'linux'
torchaudio==2.2.1+cu121; sys_platform == 'linux'
8 changes: 4 additions & 4 deletions requirements/torch_cu121_windows.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
--extra-index-url https://download.pytorch.org/whl/cu121
-r torch_common.txt
torch==2.2.0+cu121; sys_platform == 'linux'
torchvision==0.17.0+cu121; sys_platform == 'linux'
torchtext==0.17.0; sys_platform == 'linux'
torchaudio==2.2.0+cu121; sys_platform == 'linux'
torch==2.2.1+cu121; sys_platform == 'linux'
torchvision==0.17.1+cu121; sys_platform == 'linux'
torchtext==0.17.1; sys_platform == 'linux'
torchaudio==2.2.1+cu121; sys_platform == 'linux'
8 changes: 4 additions & 4 deletions requirements/torch_darwin.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip install torch torchvision torchaudio
--extra-index-url https://download.pytorch.org/whl/cpu
-r torch_common.txt
torch==2.2.0; sys_platform == 'darwin'
torchvision==0.17.0; sys_platform == 'darwin'
torchtext==0.17.0; sys_platform == 'darwin'
torchaudio==2.2.0; sys_platform == 'darwin'
torch==2.2.1; sys_platform == 'darwin'
torchvision==0.17.1; sys_platform == 'darwin'
torchtext==0.17.1; sys_platform == 'darwin'
torchaudio==2.2.1; sys_platform == 'darwin'
8 changes: 4 additions & 4 deletions requirements/torch_linux.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
--extra-index-url https://download.pytorch.org/whl/cpu
-r torch_common.txt
torch==2.2.0+cpu; sys_platform == 'linux'
torchvision==0.17.0+cpu; sys_platform == 'linux'
torchtext==0.17.0; sys_platform == 'linux'
torchaudio==2.2.0+cpu; sys_platform == 'linux'
torch==2.2.1+cpu; sys_platform == 'linux'
torchvision==0.17.1+cpu; sys_platform == 'linux'
torchtext==0.17.1; sys_platform == 'linux'
torchaudio==2.2.1+cpu; sys_platform == 'linux'
8 changes: 4 additions & 4 deletions requirements/torch_windows.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pip install torch torchvision torchaudio
--extra-index-url https://download.pytorch.org/whl/cpu
-r torch_common.txt
torch==2.2.0; sys_platform == 'win32'
torchvision==0.17.0; sys_platform == 'win32'
torchtext==0.17.0; sys_platform == 'win32'
torchaudio==2.2.0; sys_platform == 'win32'
torch==2.2.1; sys_platform == 'win32'
torchvision==0.17.1; sys_platform == 'win32'
torchtext==0.17.1; sys_platform == 'win32'
torchaudio==2.2.1; sys_platform == 'win32'
Loading