File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8484
8585# Set triton via PYTORCH_EXTRA_INSTALL_REQUIREMENTS for triton rocm package
8686if [[ " $PACKAGE_TYPE " =~ .* wheel.* && -n " $PYTORCH_BUILD_VERSION " && " $PYTORCH_BUILD_VERSION " =~ .* rocm.* && $( uname) == " Linux" ]]; then
87- TRITON_REQUIREMENT=" pytorch- triton-rocm ==${TRITON_VERSION} ; ${TRITON_CONSTRAINT} "
87+ TRITON_REQUIREMENT=" triton==${TRITON_VERSION} ; ${TRITON_CONSTRAINT} "
8888 if [[ -n " $PYTORCH_BUILD_VERSION " && " $PYTORCH_BUILD_VERSION " =~ .* dev.* ]]; then
8989 TRITON_SHORTHASH=$( cut -c1-8 $PYTORCH_ROOT /.ci/docker/ci_commit_pins/triton.txt)
90- TRITON_REQUIREMENT=" pytorch- triton-rocm ==${TRITON_VERSION} +git${TRITON_SHORTHASH} ; ${TRITON_CONSTRAINT} "
90+ TRITON_REQUIREMENT=" triton==${TRITON_VERSION} +git${TRITON_SHORTHASH} ; ${TRITON_CONSTRAINT} "
9191 fi
9292 if [[ -z " ${PYTORCH_EXTRA_INSTALL_REQUIREMENTS:- } " ]]; then
9393 export PYTORCH_EXTRA_INSTALL_REQUIREMENTS=" ${TRITON_REQUIREMENT} "
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ def build_triton(
105105
106106 triton_repo = "https://github.com/openai/triton"
107107 if device == "rocm" :
108- triton_pkg_name = "pytorch- triton-rocm "
109- triton_repo = "https://github.com/ROCm/triton/ "
108+ triton_pkg_name = "triton"
109+ triton_repo = "https://github.com/ROCm/triton"
110110 elif device == "xpu" :
111111 triton_pkg_name = "pytorch-triton-xpu"
112112 triton_repo = "https://github.com/intel/intel-xpu-backend-for-triton"
You can’t perform that action at this time.
0 commit comments