File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ retry () {
31
31
$* || (sleep 1 && $* ) || (sleep 2 && $* ) || (sleep 4 && $* ) || (sleep 8 && $* )
32
32
}
33
33
34
- # Parse arguments and determmine version
34
+ # Parse arguments and determine version
35
35
# ##########################################################
36
36
if [[ -n " $DESIRED_CUDA " && -n " $PYTORCH_BUILD_VERSION " && -n " $PYTORCH_BUILD_NUMBER " ]]; then
37
37
desired_cuda=" $DESIRED_CUDA "
245
245
meta_yaml=" $build_folder /meta.yaml"
246
246
echo " Using conda-build folder $build_folder "
247
247
248
- # Switch between CPU or CUDA configerations
248
+ # Switch between CPU or CUDA configurations
249
249
# ##########################################################
250
250
build_string_suffix=" $PYTORCH_BUILD_NUMBER "
251
251
if [[ -n " $cpu_only " ]]; then
@@ -279,6 +279,11 @@ else
279
279
echo " unhandled desired_cuda: $desired_cuda "
280
280
exit 1
281
281
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 - torchtriton==2.0.0+${TRITON_SHORTHASH} "
286
+ fi
282
287
283
288
build_string_suffix=" cuda${CUDA_VERSION} _cudnn${CUDNN_VERSION} _${build_string_suffix} "
284
289
fi
You can’t perform that action at this time.
0 commit comments