From 033fe27ce414d6a4666bf1a8575d6c68f002cbb4 Mon Sep 17 00:00:00 2001 From: Jack-Khuu Date: Thu, 27 Mar 2025 13:57:13 -0700 Subject: [PATCH 1/3] [Test] Bump pin --- install/install_requirements.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install/install_requirements.sh b/install/install_requirements.sh index 0821d5585..caf95963e 100755 --- a/install/install_requirements.sh +++ b/install/install_requirements.sh @@ -51,20 +51,20 @@ echo "Using pip executable: $PIP_EXECUTABLE" # NOTE: If a newly-fetched version of the executorch repo changes the value of # PYTORCH_NIGHTLY_VERSION, you should re-run this script to install the necessary # package versions. -PYTORCH_NIGHTLY_VERSION=dev20250131 +PYTORCH_NIGHTLY_VERSION=dev20250324 # Nightly version for torchvision -VISION_NIGHTLY_VERSION=dev20250131 +VISION_NIGHTLY_VERSION=dev20250324 # Nightly version for torchtune -TUNE_NIGHTLY_VERSION=dev20250131 +TUNE_NIGHTLY_VERSION=dev20250324 # The pip repository that hosts nightly torch packages. cpu by default. # If cuda is available, based on presence of nvidia-smi, install the pytorch nightly # with cuda for faster execution on cuda GPUs. if [[ -x "$(command -v nvidia-smi)" ]]; then - TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/nightly/cu124" + TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/nightly/cu126" elif [[ -x "$(command -v rocminfo)" ]]; then TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/nightly/rocm6.2" @@ -79,13 +79,13 @@ fi if [[ -x "$(command -v xpu-smi)" ]]; then REQUIREMENTS_TO_INSTALL=( - torch=="2.7.0.${PYTORCH_NIGHTLY_VERSION}" + torch=="2.8.0.${PYTORCH_NIGHTLY_VERSION}" torchvision=="0.22.0.${VISION_NIGHTLY_VERSION}" #torchtune=="0.6.0" # no 0.6.0 on xpu nightly ) else REQUIREMENTS_TO_INSTALL=( - torch=="2.7.0.${PYTORCH_NIGHTLY_VERSION}" + torch=="2.8.0.${PYTORCH_NIGHTLY_VERSION}" torchvision=="0.22.0.${VISION_NIGHTLY_VERSION}" torchtune=="0.6.0.${TUNE_NIGHTLY_VERSION}" ) From 437c493f8186dfcef2c0dff39043ffe17cbe10d4 Mon Sep 17 00:00:00 2001 From: Jack-Khuu Date: Thu, 27 Mar 2025 15:35:27 -0700 Subject: [PATCH 2/3] Update install_requirements.sh --- install/install_requirements.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/install_requirements.sh b/install/install_requirements.sh index caf95963e..be8c9b617 100755 --- a/install/install_requirements.sh +++ b/install/install_requirements.sh @@ -51,13 +51,13 @@ echo "Using pip executable: $PIP_EXECUTABLE" # NOTE: If a newly-fetched version of the executorch repo changes the value of # PYTORCH_NIGHTLY_VERSION, you should re-run this script to install the necessary # package versions. -PYTORCH_NIGHTLY_VERSION=dev20250324 +PYTORCH_NIGHTLY_VERSION=dev20250327 # Nightly version for torchvision -VISION_NIGHTLY_VERSION=dev20250324 +VISION_NIGHTLY_VERSION=dev20250327 # Nightly version for torchtune -TUNE_NIGHTLY_VERSION=dev20250324 +TUNE_NIGHTLY_VERSION=dev20250327 # The pip repository that hosts nightly torch packages. cpu by default. # If cuda is available, based on presence of nvidia-smi, install the pytorch nightly From 546bbd61bff293bc61f6fb0e1226c63a44e95a64 Mon Sep 17 00:00:00 2001 From: Jack-Khuu Date: Thu, 27 Mar 2025 15:38:23 -0700 Subject: [PATCH 3/3] Update install_requirements.sh --- install/install_requirements.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install_requirements.sh b/install/install_requirements.sh index be8c9b617..779969cac 100755 --- a/install/install_requirements.sh +++ b/install/install_requirements.sh @@ -81,13 +81,13 @@ then REQUIREMENTS_TO_INSTALL=( torch=="2.8.0.${PYTORCH_NIGHTLY_VERSION}" torchvision=="0.22.0.${VISION_NIGHTLY_VERSION}" - #torchtune=="0.6.0" # no 0.6.0 on xpu nightly + #torchtune=="0.7.0" # no 0.6.0 on xpu nightly ) else REQUIREMENTS_TO_INSTALL=( torch=="2.8.0.${PYTORCH_NIGHTLY_VERSION}" torchvision=="0.22.0.${VISION_NIGHTLY_VERSION}" - torchtune=="0.6.0.${TUNE_NIGHTLY_VERSION}" + torchtune=="0.7.0.${TUNE_NIGHTLY_VERSION}" ) fi