File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ def main():
62
62
for entry in full_matrix ["include" ]:
63
63
if entry ["desired_cuda" ] == "cu129" :
64
64
continue
65
+ # pin the pytorch version to 2.8.0
66
+ entry ["stable_version" ] = "2.8.0"
65
67
new_matrix_entries .append (entry )
66
68
67
69
new_matrix = {"include" : new_matrix_entries }
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ conda env config vars set -n ${CONDA_ENV} \
73
73
# export PYTORCH_CUDA_PKG="pytorch-cuda=${MATRIX_GPU_ARCH_VERSION}"
74
74
# fi
75
75
76
- conda run -n " ${CONDA_ENV} " pip install torch --index-url " $PYTORCH_URL "
76
+ conda run -n " ${CONDA_ENV} " pip install torch==2.8.0 --index-url " $PYTORCH_URL "
77
77
78
78
# install fbgemm
79
79
conda run -n " ${CONDA_ENV} " pip install fbgemm-gpu --index-url " $PYTORCH_URL "
Original file line number Diff line number Diff line change 93
93
index_url=https://download.pytorch.org/whl/${{ inputs.channel }}/${{ matrix.cuda-tag }}
94
94
fi
95
95
conda run -n build_binary \
96
- pip install torch --index-url $index_url
96
+ pip install torch==2.8.0 --index-url $index_url
97
97
conda run -n build_binary \
98
98
python -c "import torch; print(torch.__version__)"
99
99
echo "torch succeeded"
Original file line number Diff line number Diff line change 82
82
index_url=https://download.pytorch.org/whl/${{ inputs.channel }}/cpu
83
83
fi
84
84
conda run -n build_binary \
85
- pip install torch --index-url $index_url
85
+ pip install torch==2.8.0 --index-url $index_url
86
86
conda run -n build_binary \
87
87
python -c "import torch"
88
88
echo "torch succeeded"
You can’t perform that action at this time.
0 commit comments