File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 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
1413VLLM_BRANCH=" v0.10.0"
15-
16- # Commit hashes
17- MONARCH_COMMIT=" 195503223b5c2896846171f60ac99dc6868f8f2c"
1814TORCHTITAN_COMMIT=" 0cfbd0b3c2d827af629a107a77a9e47229c31663"
1915TORCHSTORE_COMMIT=" 662299faf4fd50ee30bd9aa3f4ce8c0e2db1d310"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments