Skip to content

Commit 2d04235

Browse files
jithunnair-amdethanwee1
authored andcommitted
Use ROCm/triton and update triton.txt
(cherry picked from commit 3d102a0)
1 parent f363ae8 commit 2d04235

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5df9c723de8c23508773b07fe16dd34e4c444541
1+
5e5685356b9fc7b5ad9cdf4e510a1994a5b8601a

.github/scripts/build_triton_wheel.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,17 @@ def build_triton(
101101

102102
triton_repo = "https://github.com/openai/triton"
103103
if device == "rocm":
104+
<<<<<<< HEAD
104105
triton_repo = "https://github.com/ROCm/triton"
105106
rocm_version = get_rocm_version() # e.g., "7.0.1"
106107
if tuple(map(int, rocm_version.split("."))) > (7, 0, 0):
107108
triton_pkg_name = "triton"
108109
else:
109110
triton_pkg_name = "pytorch-triton-rocm"
111+
=======
112+
triton_pkg_name = "pytorch-triton-rocm"
113+
triton_repo = "https://github.com/ROCm/triton"
114+
>>>>>>> Use ROCm/triton and update triton.txt
110115
elif device == "xpu":
111116
triton_pkg_name = "pytorch-triton-xpu"
112117
triton_repo = "https://github.com/intel/intel-xpu-backend-for-triton"

0 commit comments

Comments
 (0)