Skip to content

Commit

Permalink
Brand triton@HEAD as 3.1 not 3.0 (#1126)
Browse files Browse the repository at this point in the history
This keeps jax-triton happy, which asks for 3.1.
  • Loading branch information
olupton authored Oct 30, 2024
1 parent 1323056 commit 1dad010
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/container/Dockerfile.triton
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ EOF
RUN <<"EOF" bash -ex
pushd /opt/checkout/external/triton
mkdir dist
# Make sure the wheel is labelled as 3.1 (it is ~HEAD), not 3.0. The upstream branch
# structure seems to have a 3.1 release branch that has not been merged back to main.
sed -i -e 's|version="3\.0\.0"|version="3.1.0"|g' python/setup.py
# Do not compile with -Werror
sed -i -e 's|-Werror||g' CMakeLists.txt
# The LLVM build above does not enable these libraries
Expand Down

0 comments on commit 1dad010

Please sign in to comment.