@@ -51,18 +51,13 @@ echo "Using pip executable: $PIP_EXECUTABLE"
5151#  NOTE: If a newly-fetched version of the executorch repo changes the value of
5252#  PYTORCH_NIGHTLY_VERSION, you should re-run this script to install the necessary
5353#  package versions.
54- if  [[ -x  " $( command -v xpu-smi) "   ]]; 
55- then 
56-   PYTORCH_NIGHTLY_VERSION=dev20250110
57- else 
58-   PYTORCH_NIGHTLY_VERSION=dev20241218
59- fi 
54+ PYTORCH_NIGHTLY_VERSION=dev20241218
6055
6156#  Nightly version for torchvision
62- VISION_NIGHTLY_VERSION=dev20250111 
57+ VISION_NIGHTLY_VERSION=dev20241218 
6358
6459#  Nightly version for torchtune
65- TUNE_NIGHTLY_VERSION=dev20250105 
60+ TUNE_NIGHTLY_VERSION=dev20241218 
6661
6762#  Uninstall triton, as nightly will depend on pytorch-triton, which is one and the same
6863(
9085if  [[ -x  " $( command -v xpu-smi) "   ]]; 
9186then 
9287  REQUIREMENTS_TO_INSTALL=(
93-     torch==" 2.7 .0.${PYTORCH_NIGHTLY_VERSION} " 
88+     torch==" 2.6 .0.${PYTORCH_NIGHTLY_VERSION} " 
9489    torchvision==" 0.22.0.${VISION_NIGHTLY_VERSION} " 
95-    #  torchtune=="0.4.0"
90+     torchtune==" 0.4.0" 
9691  )
9792else 
9893  REQUIREMENTS_TO_INSTALL=(
122117
123118#  For torchao need to install from github since nightly build doesn't have macos build.
124119#  TODO: Remove this and install nightly build, once it supports macos
125- if  [[ -x  " $( command -v xpu-smi) "   ]]; 
126- then 
127-   #  install torchao nightly for xpu
128-   (
129-     set  -x
130-     $PIP_EXECUTABLE  install --extra-index-url " ${TORCH_NIGHTLY_URL} "   torchao==" 0.8.0.dev20250110" 
131-   )
132- else 
133-   (
134-     set  -x
135-     $PIP_EXECUTABLE  install git+https://github.com/pytorch/ao.git@2f97b0955953fa1a46594a27f0df2bc48d93e79d
136-   )
137- fi 
138- 
139- #  install torchtune from source for xpu
140- if  [[ -x  " $( command -v xpu-smi) "   ]]; 
141- then 
142-   (
143-     set  -x
144-     $PIP_EXECUTABLE  install git+https://github.com/pytorch/torchtune
145-   )
146- fi 
120+ (
121+   set  -x
122+   $PIP_EXECUTABLE  install git+https://github.com/pytorch/ao.git@2f97b0955953fa1a46594a27f0df2bc48d93e79d
123+ )
147124
148125if  [[ -x  " $( command -v nvidia-smi) "   ]];  then 
149126  (
0 commit comments