Skip to content

Commit 1dad010

Browse files
authored
Brand triton@HEAD as 3.1 not 3.0 (#1126)
This keeps jax-triton happy, which asks for 3.1.
1 parent 1323056 commit 1dad010

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/container/Dockerfile.triton

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ EOF
5656
RUN <<"EOF" bash -ex
5757
pushd /opt/checkout/external/triton
5858
mkdir dist
59+
# Make sure the wheel is labelled as 3.1 (it is ~HEAD), not 3.0. The upstream branch
60+
# structure seems to have a 3.1 release branch that has not been merged back to main.
61+
sed -i -e 's|version="3\.0\.0"|version="3.1.0"|g' python/setup.py
5962
# Do not compile with -Werror
6063
sed -i -e 's|-Werror||g' CMakeLists.txt
6164
# The LLVM build above does not enable these libraries

0 commit comments

Comments
 (0)