This repository was archived by the owner on Aug 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ retry () {
3131 $* || (sleep 1 && $* ) || (sleep 2 && $* ) || (sleep 4 && $* ) || (sleep 8 && $* )
3232}
3333
34- # Parse arguments and determmine version
34+ # Parse arguments and determine version
3535# ##########################################################
3636if [[ -n " $DESIRED_CUDA " && -n " $PYTORCH_BUILD_VERSION " && -n " $PYTORCH_BUILD_NUMBER " ]]; then
3737 desired_cuda=" $DESIRED_CUDA "
245245meta_yaml=" $build_folder /meta.yaml"
246246echo " Using conda-build folder $build_folder "
247247
248- # Switch between CPU or CUDA configerations
248+ # Switch between CPU or CUDA configurations
249249# ##########################################################
250250build_string_suffix=" $PYTORCH_BUILD_NUMBER "
251251if [[ -n " $cpu_only " ]]; then
@@ -279,6 +279,11 @@ else
279279 echo " unhandled desired_cuda: $desired_cuda "
280280 exit 1
281281 fi
282+ if [[ " $OSTYPE " == " msys" ]]; then
283+ # TODO: Remove me when Triton has a proper release channel
284+ TRITON_SHORTHASH=$( cut -c1-10 $pytorch_rootdir /.github/ci_commit_pins/triton.txt)
285+ export CONDA_CUDATOOLKIT_CONSTRAINT = " ${CONDA_CUDATOOLKIT_CONSTRAINT} \n - torchtrition==2.0.0+${TRITON_SHORTHASH} "
286+ fi
282287
283288 build_string_suffix=" cuda${CUDA_VERSION} _cudnn${CUDNN_VERSION} _${build_string_suffix} "
284289fi
You can’t perform that action at this time.
0 commit comments