Repository navigation
[Scheduled] Update Triton Commit Hash to 972d18aa0905dfb403091bd4c5746318d097df4d - #562
Merged
Merged
Conversation
Triton upstream replaced the separate `cache` (CacheModifier) and `evict` (EvictionPolicy) attributes on `tt.load`/`tt.store` with a single optional `cachePolicy` attribute, removing the builder overloads that took the two enums. This broke the only two call sites in the CPU backend. Both sites passed `CacheModifier::NONE` and `EvictionPolicy::NORMAL`, which were the defaults, so they collapse to the plain builders with no change in the emitted IR.
Upstream commit af598871 ("[Frontend] Enable triton.compile for gluon IR")
changed `GluonASTSource.ext` from `ttgir` to a new `glir` extension and made
`compile()` look up `src.ext` in the backend's stage dictionary. Backends must
now expose a no-op `glir` stage so the pipeline has an entry point for Gluon
sources; upstream added it to the NVIDIA and AMD backends but the out-of-tree
CPU backend was missed, so every Gluon kernel failed with
`ValueError: 'glir' is not in list`.
Add the same no-op stage, which also makes the Gluon IR available in
`CompiledKernel.asm["glir"]` and lets `.glir` files be recompiled directly.
Assisted-by: opencode/anthropic-claude-opus-5
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.
Update with the latest commit hash from Triton.