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 @@ -272,9 +272,14 @@ else
272
272
fi
273
273
274
274
# TODO: Remove me when Triton has a proper release channel
275
- if [[ $( uname) == " Linux" && -z " $PYTORCH_EXTRA_INSTALL_REQUIREMENTS " ]]; then
275
+ if [[ $( uname) == " Linux" ]]; then
276
276
TRITON_SHORTHASH=$( cut -c1-10 $PYTORCH_ROOT /.github/ci_commit_pins/triton.txt)
277
- export PYTORCH_EXTRA_INSTALL_REQUIREMENTS=" pytorch-triton==2.1.0+${TRITON_SHORTHASH} "
277
+
278
+ if [[ -z " $PYTORCH_EXTRA_INSTALL_REQUIREMENTS " ]]; then
279
+ export PYTORCH_EXTRA_INSTALL_REQUIREMENTS=" pytorch-triton==2.1.0+${TRITON_SHORTHASH} "
280
+ else
281
+ export PYTORCH_EXTRA_INSTALL_REQUIREMENTS=" ${PYTORCH_EXTRA_INSTALL_REQUIREMENTS} | pytorch-triton==2.1.0+${TRITON_SHORTHASH} "
282
+ fi
278
283
fi
279
284
280
285
# builder/test.sh requires DESIRED_CUDA to know what tests to exclude
You can’t perform that action at this time.
0 commit comments