Skip to content

Commit c1ee54d

Browse files
authored
[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
1 parent c375f2c commit c1ee54d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/scripts/binary_populate_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ fi
9393
9494
# Set triton via PYTORCH_EXTRA_INSTALL_REQUIREMENTS for triton rocm package
9595
if [[ "$PACKAGE_TYPE" =~ .*wheel.* && -n "$PYTORCH_BUILD_VERSION" && "$PYTORCH_BUILD_VERSION" =~ .*rocm.* && $(uname) == "Linux" ]]; then
96-
TRITON_REQUIREMENT="pytorch-triton-rocm==${TRITON_VERSION}; ${TRITON_CONSTRAINT}"
96+
TRITON_REQUIREMENT="triton==${TRITON_VERSION}; ${TRITON_CONSTRAINT}"
9797
if [[ -n "$PYTORCH_BUILD_VERSION" && "$PYTORCH_BUILD_VERSION" =~ .*dev.* ]]; then
9898
TRITON_SHORTHASH=$(cut -c1-8 $PYTORCH_ROOT/.ci/docker/ci_commit_pins/triton.txt)
99-
TRITON_REQUIREMENT="pytorch-triton-rocm==${TRITON_VERSION}+git${TRITON_SHORTHASH}; ${TRITON_CONSTRAINT}"
99+
TRITON_REQUIREMENT="triton==${TRITON_VERSION}+git${TRITON_SHORTHASH}; ${TRITON_CONSTRAINT}"
100100
fi
101101
if [[ -z "${PYTORCH_EXTRA_INSTALL_REQUIREMENTS:-}" ]]; then
102102
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="${TRITON_REQUIREMENT}"

.github/scripts/build_triton_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def build_triton(
105105

106106
triton_repo = "https://github.com/openai/triton"
107107
if device == "rocm":
108-
triton_pkg_name = "pytorch-triton-rocm"
108+
triton_pkg_name = "triton"
109109
triton_repo = "https://github.com/ROCm/triton"
110110
elif device == "xpu":
111111
triton_pkg_name = "pytorch-triton-xpu"

0 commit comments

Comments
 (0)