Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 61df13b

Browse files
committed
remove pt update
1 parent 08a9f4d commit 61df13b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

install/install_requirements.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,10 @@ fi
4747
# NOTE: If a newly-fetched version of the executorch repo changes the value of
4848
# PYTORCH_NIGHTLY_VERSION, you should re-run this script to install the necessary
4949
# package versions.
50-
PYTORCH_NIGHTLY_VERSION=dev20240925
50+
PYTORCH_NIGHTLY_VERSION=dev20240901
5151

5252
# Nightly version for torchvision
53-
VISION_NIGHTLY_VERSION=dev20240925
54-
55-
# Nightly version for torchtune
56-
TUNE_NIGHTLY_VERSION=dev20240928
53+
VISION_NIGHTLY_VERSION=dev20240901
5754

5855
# Uninstall triton, as nightly will depend on pytorch-triton, which is one and the same
5956
(
@@ -73,9 +70,8 @@ fi
7370

7471
# pip packages needed by exir.
7572
REQUIREMENTS_TO_INSTALL=(
76-
torch=="2.6.0.${PYTORCH_NIGHTLY_VERSION}"
73+
torch=="2.5.0.${PYTORCH_NIGHTLY_VERSION}"
7774
torchvision=="0.20.0.${VISION_NIGHTLY_VERSION}"
78-
torchtune=="0.3.0.${TUNE_NIGHTLY_VERSION}"
7975
)
8076

8177
# Install the requirements. --extra-index-url tells pip to look for package
@@ -91,6 +87,12 @@ REQUIREMENTS_TO_INSTALL=(
9187
$PIP_EXECUTABLE install torchao=="0.5.0"
9288
)
9389

90+
# Rely on the latest tochtune for flamingo support
91+
(
92+
set -x
93+
$PIP_EXECUTABLE install -I git+https://github.com/pytorch/torchtune.git@d002d45e3ec700fa770d9dcc61b02c59e2507bf6
94+
)
95+
9496
if [[ -x "$(command -v nvidia-smi)" ]]; then
9597
(
9698
set -x

0 commit comments

Comments
 (0)