From 263d69ee6d27935901e4670f319ee9359b9e29cc Mon Sep 17 00:00:00 2001 From: Mergen Nachin Date: Wed, 9 Aug 2023 05:11:36 -0700 Subject: [PATCH] Update the torch version Summary: D48068293 had a breaking change. https://www.internalfb.com/phabricator/paste/view/P805891610 We need to update the torch version accordingly (also needs to update torchvision so that it is compatible with torch). Differential Revision: D48188689 fbshipit-source-id: 3da21243386589ef96f6739e5ca4e54867c86c65 --- .ci/docker/ci_commit_pins/pytorch.txt | 2 +- docs/website/docs/tutorials/00_setting_up_executorch.md | 2 +- examples/install_requirements.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/docker/ci_commit_pins/pytorch.txt b/.ci/docker/ci_commit_pins/pytorch.txt index afd2a4c8f6c..9c6f6835249 100644 --- a/.ci/docker/ci_commit_pins/pytorch.txt +++ b/.ci/docker/ci_commit_pins/pytorch.txt @@ -1 +1 @@ -2.1.0.dev20230731 +2.1.0.dev20230809 diff --git a/docs/website/docs/tutorials/00_setting_up_executorch.md b/docs/website/docs/tutorials/00_setting_up_executorch.md index eb4a6d101a9..e543567beaf 100644 --- a/docs/website/docs/tutorials/00_setting_up_executorch.md +++ b/docs/website/docs/tutorials/00_setting_up_executorch.md @@ -24,7 +24,7 @@ Setting up PyTorch # Install the nightly builds # Note: if you are behind a firewall an appropriate proxy server must be setup # for all subsequent steps. -TORCH_VERSION=2.1.0.dev20230731 +TORCH_VERSION=2.1.0.dev20230809 pip install --force-reinstall --pre torch=="${TORCH_VERSION}" -i https://download.pytorch.org/whl/nightly/cpu ``` diff --git a/examples/install_requirements.sh b/examples/install_requirements.sh index 16eb700c38e..21bc99289b6 100755 --- a/examples/install_requirements.sh +++ b/examples/install_requirements.sh @@ -16,5 +16,5 @@ # `TORCH_VISION_VERSION` value in this document will be the correct version for the # corresponsing version of the repo. -TORCH_VISION_VERSION=0.16.0.dev20230731 +TORCH_VISION_VERSION=0.16.0.dev20230809 pip install --force-reinstall --pre torchvision=="${TORCH_VISION_VERSION}" -i https://download.pytorch.org/whl/nightly/cpu