Skip to content

Commit 8f42efc

Browse files
authored
Update pinned executorch nightly (#89)
* Update pinned executorch nightly * fix torch errors * bump default/min transformers version * Update setup.py
1 parent ca267ee commit 8f42efc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

install_dev.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@
55

66
def install_torch_nightly_deps():
77
"""Install torch related dependencies from pinned nightly"""
8-
NIGHTLY_VERSION = "dev20250523"
8+
EXECUTORCH_NIGHTLY_VERSION = "dev20250620"
9+
TORCHAO_NIGHTLY_VERSION = "dev20250620"
10+
# Torch nightly is aligned with pinned nightly in https://github.com/pytorch/executorch/blob/main/install_requirements.py#L74
11+
TORCH_NIGHTLY_VERSION = "dev20250601"
912
subprocess.check_call(
1013
[
1114
sys.executable,
1215
"-m",
1316
"pip",
1417
"install",
15-
f"executorch==0.7.0.{NIGHTLY_VERSION}",
16-
f"torch==2.8.0.{NIGHTLY_VERSION}",
17-
f"torchvision==0.22.0.{NIGHTLY_VERSION}",
18-
f"torchaudio==2.6.0.{NIGHTLY_VERSION}",
19-
"torchao==0.12.0.dev20250528",
18+
f"executorch==0.7.0.{EXECUTORCH_NIGHTLY_VERSION}",
19+
f"torch==2.8.0.{TORCH_NIGHTLY_VERSION}",
20+
f"torchvision==0.23.0.{TORCH_NIGHTLY_VERSION}",
21+
f"torchaudio==2.8.0.{TORCH_NIGHTLY_VERSION}",
22+
f"torchao==0.12.0.{TORCHAO_NIGHTLY_VERSION}",
2023
"--extra-index-url",
2124
"https://download.pytorch.org/whl/nightly/cpu",
2225
]

0 commit comments

Comments
 (0)