Skip to content

Commit 475100b

Browse files
committed
Add torchtrition dependency for wheels
1 parent dd3c250 commit 475100b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

manywheel/build_cuda.sh

+6
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,12 @@ else
255255
exit 1
256256
fi
257257

258+
# TODO: Remove me when Triton has a proper release channel
259+
if [[ $(uname) == "Linux" && -z "$PYTORCH_EXTRA_INSTALL_REQUIREMENTS" ]]; then
260+
TRITON_SHORTHASH=$(cut -c1-10 $PYTORCH_ROOT/.github/ci_commit_pins/triton.txt)
261+
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="torchtriton==2.0.0+${TRITON_SHORTHASH}"
262+
fi
263+
258264
# builder/test.sh requires DESIRED_CUDA to know what tests to exclude
259265
export DESIRED_CUDA="$cuda_version_nodot"
260266

0 commit comments

Comments
 (0)