Skip to content

Commit 6982d98

Browse files
authored
use pytorch-triton package untill release (#1634)
1 parent d5d98ed commit 6982d98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manywheel/build_cuda.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ fi
266266
# and torch.compile doesn't work.
267267
if [[ $(uname) == "Linux" && "$DESIRED_PYTHON" != "3.12" ]]; then
268268
TRITON_VERSION=$(cat $PYTORCH_ROOT/.ci/docker/triton_version.txt)
269-
TRITON_REQUIREMENT="triton==${TRITON_VERSION}; platform_system == 'Linux' and platform_machine == 'x86_64'"
269+
# while triton is not released officially yet. use pytorch triton
270+
TRITON_REQUIREMENT="pytorch-triton==${TRITON_VERSION}; platform_system == 'Linux' and platform_machine == 'x86_64'"
270271

271272
if [[ -z "$PYTORCH_EXTRA_INSTALL_REQUIREMENTS" ]]; then
272273
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="${TRITON_REQUIREMENT}"

0 commit comments

Comments
 (0)