Skip to content

Commit c77dda3

Browse files
ethanwee1pragupta
authored andcommitted
[rocm7.1_internal_testing] Change pytorch-triton-rocm to pytorch-triton (#2482)
Related to https://github.com/ROCm/builder/pull/90/files http://rocm-ci.amd.com/job/mainline-pytorch_internal-manylinux-wheels/305/ PyTorch wheel installs successfully when building torchvision/torchaudio (cherry picked from commit c1ee54d)
1 parent 0e2e710 commit c77dda3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.circleci/scripts/binary_populate_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ fi
8484

8585
# Set triton via PYTORCH_EXTRA_INSTALL_REQUIREMENTS for triton rocm package
8686
if [[ "$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}"

.github/scripts/build_triton_wheel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)