File tree Expand file tree Collapse file tree 8 files changed +10
-9
lines changed Expand file tree Collapse file tree 8 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 2929 # Setup build environment (conda + system deps + rust + build deps)
3030 setup_build_environment
3131
32- # Install torch nightly (CPU version)
33- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
32+ # Install torch 2.9.0 (CPU version) (versioned wheel preferred
33+ # for build hermeticity)
34+ pip install torch==2.9.0+cpu --index-url https://download.pytorch.org/whl/cpu
3435 pip install -r build-requirements.txt
3536
3637 # Build monarch (No tensor engine, CPU version)
Original file line number Diff line number Diff line change 1717 include :
1818 - name : 4xlargegpu
1919 runs-on : linux.g5.4xlarge.nvidia.gpu
20- torch-spec : ' --pre torch --index-url https://download.pytorch.org/whl/nightly /cu126'
20+ torch-spec : ' torch==2.9.0+cu126 --index-url https://download.pytorch.org/whl/cu126'
2121 gpu-arch-type : " cuda"
2222 gpu-arch-version : " 12.6"
2323 with :
Original file line number Diff line number Diff line change 3939 pip install -r docs/requirements.txt
4040
4141 # Install PyTorch with CUDA support (matching build-cuda.yml)
42- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly /cu126
42+ pip install torch==2.9.0+cu126 --index-url https://download.pytorch.org/whl/cu126
4343
4444 # Set environment variables for CUDA build
4545 export USE_CUDA=1
Original file line number Diff line number Diff line change 3232 export USE_TENSOR_ENGINE=0
3333
3434 # Install PyTorch nightly
35- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly /cpu
35+ pip install torch==2.9.0+cpu --index-url https://download.pytorch.org/whl/cpu
3636
3737 # Install the built wheel from artifact
3838 install_wheel_from_artifact
Original file line number Diff line number Diff line change 2222 include :
2323 - name : 4xlargegpu
2424 runs-on : linux.g5.4xlarge.nvidia.gpu
25- torch-spec : ' --pre torch --index-url https://download.pytorch.org/whl/nightly /cu126'
25+ torch-spec : ' torch==2.9.0+cu126 --index-url https://download.pytorch.org/whl/cu126'
2626 gpu-arch-type : " cuda"
2727 gpu-arch-version : " 12.6"
2828 with :
Original file line number Diff line number Diff line change 2222 include :
2323 - name : 4xlargegpu
2424 runs-on : linux.g5.4xlarge.nvidia.gpu
25- torch-spec : ' --pre torch --index-url https://download.pytorch.org/whl/nightly /cu126'
25+ torch-spec : ' torch==2.9.0+cu126 --index-url https://download.pytorch.org/whl/cu126'
2626 gpu-arch-type : " cuda"
2727 gpu-arch-version : " 12.6"
2828 with :
Original file line number Diff line number Diff line change 2121 include :
2222 - name : 4xlarge
2323 runs-on : linux.g5.4xlarge.nvidia.gpu
24- install-args : ' --pre --extra- index-url https://download.pytorch.org/whl/nightly /cu126'
24+ install-args : ' torch==2.9.0+cu126 --index-url https://download.pytorch.org/whl/cu126'
2525 gpu-arch-type : " cuda"
2626 gpu-arch-version : " 12.6"
2727 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ setup_tensor_engine() {
6464# Install PyTorch with C++ development headers (libtorch) for Rust compilation
6565setup_pytorch_with_headers () {
6666 local gpu_arch_version=${1:- " 12.6" }
67- local torch_spec=${2:- " --pre torch --index-url https://download.pytorch.org/whl/nightly /cu126" }
67+ local torch_spec=${2:- " torch==2.9.0+cu126 --index-url https://download.pytorch.org/whl/cu126" }
6868
6969 echo " Setting up PyTorch with C++ headers (GPU arch: ${gpu_arch_version} )..."
7070
You can’t perform that action at this time.
0 commit comments