Skip to content

Commit 0057619

Browse files
committed
Use Monarch 0.1.0rc3 & PyTorch 2.9.0 stable
1 parent bcd86f0 commit 0057619

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

assets/versions.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@
77
# Version Configuration for Forge Wheel Building
88
# This file contains all pinned versions and commits for dependencies
99

10-
# PyTorch version
11-
PYTORCH_VERSION="2.9.0.dev20250905"
10+
PYTORCH_VERSION="2.9.0"
11+
MONARCH_VERSION="0.1.0rc3"
1212

13-
# vLLM branch
1413
VLLM_BRANCH="v0.10.0"
15-
16-
# Commit hashes
17-
MONARCH_COMMIT="195503223b5c2896846171f60ac99dc6868f8f2c"
1814
TORCHTITAN_COMMIT="0cfbd0b3c2d827af629a107a77a9e47229c31663"
1915
TORCHSTORE_COMMIT="662299faf4fd50ee30bd9aa3f4ce8c0e2db1d310"

scripts/install.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -274,21 +274,24 @@ main() {
274274
check_gh_install
275275
download_vllm_wheel
276276

277-
log_info "Installing PyTorch nightly..."
278-
pip install torch==$PYTORCH_VERSION --index-url https://download.pytorch.org/whl/nightly/cu129
277+
log_info "Installing PyTorch..."
278+
if [[ "$PYTORCH_VERSION" == *"dev"* ]]; then
279+
pip install --pre torch==$PYTORCH_VERSION --index-url https://download.pytorch.org/whl/nightly/cu128
280+
else
281+
pip install torch==$PYTORCH_VERSION
282+
fi
283+
284+
log_info "Installing Monarch ..."
285+
pip install torchmonarch==$MONARCH_VERSION
279286

280-
log_info "Installing all wheels (local + downloaded)..."
287+
log_info "Installing remaining wheels (local + downloaded)..."
281288
pip install "$WHEEL_DIR"/*.whl
282289

283290
log_info "Installing Forge from source..."
284291
pip install -e .
285292

286-
# Set up environment
287293
log_info "Setting up environment..."
288-
289-
# Get conda environment directory
290294
local conda_env_dir="${CONDA_PREFIX}"
291-
292295
if [ -z "$conda_env_dir" ]; then
293296
log_error "Could not determine conda environment directory"
294297
exit 1

0 commit comments

Comments
 (0)