From ba920e45296c584352c7f402ce05538395ccd28e Mon Sep 17 00:00:00 2001 From: Stephen Jia Date: Fri, 22 Mar 2024 11:26:20 -0700 Subject: [PATCH] Update pytorch pin to 2024/03/21 nightly (#2562) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/2562 ## Context Update PyTorch nightly pin to 2024/03/21. Note that as of 2024/03/20 PyTorch version has been bumped to `2.4.0` (from `2.3.0`) and torchvision has been bumped to `0.19.0` (from `0.18.0`). imported-using-ghimport Test Plan: Imported from OSS Reviewed By: JacobSzwejbka, angelayi Differential Revision: D55198673 Pulled By: SS-JIA fbshipit-source-id: e49cf17fdc5e22fac2712ac6f05815f2b9264091 --- .ci/docker/ci_commit_pins/pytorch.txt | 2 +- install_requirements.sh | 6 +++--- third-party/pytorch | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/docker/ci_commit_pins/pytorch.txt b/.ci/docker/ci_commit_pins/pytorch.txt index 335a8930dc..eb04b69d4c 100644 --- a/.ci/docker/ci_commit_pins/pytorch.txt +++ b/.ci/docker/ci_commit_pins/pytorch.txt @@ -1 +1 @@ -6ca9ae4f8693639c395544327f7e362441a58c79 +ef0d470eb372a5e68f6332bea9b1df26fca28b59 diff --git a/install_requirements.sh b/install_requirements.sh index 257e81c066..fbb729f200 100755 --- a/install_requirements.sh +++ b/install_requirements.sh @@ -49,12 +49,12 @@ done # models in executorch/examples/models. # The version in this file will be the correct version for the # corresponsing version of the repo. -NIGHTLY_VERSION=dev20240312 +NIGHTLY_VERSION=dev20240322 -TORCH_VERSION=2.3.0.${NIGHTLY_VERSION} +TORCH_VERSION=2.4.0.${NIGHTLY_VERSION} pip install --force-reinstall --pre torch=="${TORCH_VERSION}" -i https://download.pytorch.org/whl/nightly/cpu -TORCH_VISION_VERSION=0.18.0.${NIGHTLY_VERSION} +TORCH_VISION_VERSION=0.19.0.${NIGHTLY_VERSION} pip install --force-reinstall --pre torchvision=="${TORCH_VISION_VERSION}" -i https://download.pytorch.org/whl/nightly/cpu TORCH_AUDIO_VERSION=2.2.0.${NIGHTLY_VERSION} diff --git a/third-party/pytorch b/third-party/pytorch index 6ca9ae4f86..ef0d470eb3 160000 --- a/third-party/pytorch +++ b/third-party/pytorch @@ -1 +1 @@ -Subproject commit 6ca9ae4f8693639c395544327f7e362441a58c79 +Subproject commit ef0d470eb372a5e68f6332bea9b1df26fca28b59