Repository navigation
[Triton/Gluon] Add x_EQ_x Config Matcher to Unified Attention - #6161
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
16ec327 to
d7068f3
Compare
x_EQ_x Config Matcher to Unified Attentionx_EQ_x Config Matcher to Unified Attention
There was a problem hiding this comment.
🟡 Changes recommended
The new matching priority and fallback behavior need regression tests.
1 open finding
What changed in this PR
Adds exact numeric matching to the shared Triton/Gluon unified-attention config loader.
Changes:
- Gives EQ matches priority over LEQ and GEQ within each axis.
- Updates the module documentation with EQ syntax and precedence.
| File | Description |
|---|---|
aiter/ops/triton/utils/unified_attention_utils.py |
Adds and documents exact-match config selection. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
any example of why this is needed over the LEQ GEQ? |
|
I am actually thinking about deprecating the GEQ too - and just keep LEQ and any's |

Motivation
Currently, there is no way to target a specific axis. There were only
GEQandLEQmatchers, making the only way to do an equality something like this (example of whatD_EQ_512could replace):This adds unnecessary complexity and made the configs less readable.
Technical Details
x_EQ_xlookupx_LEQ_xandx_GEQ_xSubmission Checklist