Update triton and triton-shared to latest upstream#10
Merged
Conversation
Update triton submodule from dbfbc1e1e (Dec 2025) to 32b7b208d (Feb 27, 2026) and triton_shared from 209a064 to aff7421, which bumps triton-shared's triton pin to match. This brings in 437 triton commits and a new LLVM version (979132a0, up from ebf5d9ef). Regenerate triton_shared.patch — reduced from 4787 to 1393 lines as upstream absorbed most of our modifications. Only one conflict (triton-hash.txt) during rebase, resolved to match our triton submodule pointer. The mlir-aie/mlir-air wheels (built against LLVM ebf5d9ef) remain compatible since they exchange textual MLIR IR with triton-shared-opt using stable Linalg/memref dialects. Tested: full build + matmul on NPU hardware (AIE2) with the LLVM version divergence — identical results to previous versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dbfbc1e1e(Dec 2025) to32b7b208d(Feb 27, 2026) — 437 commits, LLVMebf5d9ef→979132a0209a064toaff7421(PR ERROR: No matching distribution found for mlir_aie==0.0.1.2026020404+0e25d5c.no.rtti #2: bump-triton)triton_shared.patch— reduced from 4787 to 1393 lines as upstream absorbed most of our changesLLVM version note
Triton now builds against LLVM
979132a0while mlir-aie/mlir-air wheels remain on LLVMebf5d9ef. This works because they are separate binaries that exchange data via textual MLIR IR (stable Linalg/memref dialects). Verified end-to-end on hardware.Important build note: if you have a cached LLVM in
~/.triton/llvm/, clear it before building (rm -rf ~/.triton/llvm/) to ensure the new LLVM version is downloaded.Test plan
triton.patchapplies cleanly on new triton committriton_shared.patchregenerated via rebase (1 conflict intriton-hash.txt, resolved)aff7421--find-links)🤖 Generated with Claude Code