Skip to content

Commit b217a08

Browse files
committed
Bump PyTorch pin to 2.13
1 parent e500fee commit b217a08

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release/2.12
1+
release/2.13

‎.ci/docker/common/install_pytorch.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ install_pytorch_and_domains() {
4040
# Grab the pinned audio and vision commits from PyTorch
4141
TORCHAUDIO_VERSION=release/2.11
4242
export TORCHAUDIO_VERSION
43-
TORCHVISION_VERSION=release/0.27
43+
TORCHVISION_VERSION=release/0.28
4444
export TORCHVISION_VERSION
4545

4646
install_domains

‎.ci/scripts/utils.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ install_pytorch_and_domains() {
107107
local torch_release=$(cat version.txt)
108108
# Download key must match the upload key below (basename of dist/*.whl,
109109
# which always carries setup.py's resolved +gitHASH). Branch-ref pins
110-
# like `release/2.12` would otherwise produce `+gitrelease` here and
110+
# like `release/2.13` would otherwise produce `+gitrelease` here and
111111
# never hit the cache.
112112
local torch_short_hash=$(git rev-parse --short=7 HEAD)
113113
local torch_wheel_path="cached_artifacts/pytorch/executorch/pytorch_wheels/${system_name}/${python_version}"
@@ -178,7 +178,7 @@ install_pytorch_and_domains() {
178178
# Grab the pinned audio and vision commits from PyTorch
179179
TORCHAUDIO_VERSION=release/2.11
180180
export TORCHAUDIO_VERSION
181-
TORCHVISION_VERSION=release/0.27
181+
TORCHVISION_VERSION=release/0.28
182182
export TORCHVISION_VERSION
183183

184184
install_domains

‎install_requirements.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def install_requirements(use_pytorch_nightly):
4949
# Setting use_pytorch_nightly to false to test the pinned PyTorch commit. Note
5050
# that we don't need to set any version number there because they have already
5151
# been installed on CI before this step, so pip won't reinstall them
52-
("torch==2.12.0" if use_pytorch_nightly else "torch"),
52+
("torch==2.13.0" if use_pytorch_nightly else "torch"),
5353
]
5454

5555
# Install the requirements for core ExecuTorch package.
@@ -112,7 +112,7 @@ def install_optional_example_requirements(use_pytorch_nightly):
112112

113113
print("Installing torch domain libraries")
114114
DOMAIN_LIBRARIES = [
115-
("torchvision==0.27.0" if use_pytorch_nightly else "torchvision"),
115+
("torchvision==0.28.0" if use_pytorch_nightly else "torchvision"),
116116
("torchaudio==2.11.0" if use_pytorch_nightly else "torchaudio"),
117117
]
118118
# Then install domain libraries

‎torch_pin.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
TORCH_VERSION = "2.12.0"
1+
TORCH_VERSION = "2.13.0"
22
# NIGHTLY_VERSION = "dev20260318" Temporarily pinning to stable release candidate. Revert https://github.com/pytorch/executorch/pull/18287

0 commit comments

Comments
 (0)