This repository was archived by the owner on Sep 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 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(
7370
7471# pip packages needed by exir.
7572REQUIREMENTS_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+
9496if [[ -x " $( command -v nvidia-smi) " ]]; then
9597 (
9698 set -x
You can’t perform that action at this time.
0 commit comments