You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite the Triton README, the Copilot review rules, the config rules (configs/CLAUDE.md), the Triton test README and the Triton part of CONTRIBUTE.md. Each one starts with a short list of rules. The text uses ASD-STE100 (Simplified Technical English).
Rewrite the Triton README, the Copilot review rules, the config rules
(configs/CLAUDE.md), the Triton test README and the Triton part of
CONTRIBUTE.md. Each one starts with a short list of rules. The text uses
ASD-STE100 (Simplified Technical English).
The rules stay the same, with two additions: comments are one or two
sentences, and docs, comments and PR descriptions use ASD-STE100. The
old Triton tips in CONTRIBUTE.md (block sizes, pipelining, cache
modifiers) are removed. The kpack rule in configs/CLAUDE.md now agrees
with the README: only gfx942 configs can have kpack.
The Triton docs now tell contributors to use only M_LEQ_<x> keys and
"any" for the M buckets of a GEMM config. The README has a new rule for
this. The config rules and the Copilot review rules agree with it.
The config rules and the Copilot review rules also say that you can use
cache_modifier on all archs, also on gfx1250. Copilot must not flag it
in a gfx1250 config.
Claude Code, Codex and Copilot now read the Triton rules from the same
files. No rule is written twice.
- aiter/ops/triton/AGENTS.md lists the rule files: the README, the
config rules, the test README and the Copilot review checks. Claude
Code imports the two README files from it.
- op_tests/triton_tests/AGENTS.md and
op_tests/op_benchmarks/triton/AGENTS.md point to it.
- aiter/ops/triton/CLAUDE.md only imports the four AGENTS.md files.
Claude Code does not read AGENTS.md files when the repository root
has a CLAUDE.md, or in versions before v2.1.277. The imports work in
all cases.
- The links to configs/CLAUDE.md now go to configs/AGENTS.md. This
includes three code comments.
- Copilot flags a new CLAUDE.md file, and a new AGENTS.md file that
aiter/ops/triton/CLAUDE.md does not import.
- Copilot code review does not read nested AGENTS.md files. The review
checks stay in .github/instructions/aiter-ops-triton.instructions.md.
ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm
vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all
All standard extended tests (excludes ci:atom_full)
Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 6499 --add-label <label>
One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.
PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.
github-actionsBot
changed the title
simplify triton docs
[Triton/Gluon] simplify triton docs
Oct 13, 2026
The README showed only <CONFIG_NAME>-N=<N>-K=<K>.json for specialized
config files. That pattern excludes valid names, such as batched
B=..-N=..-K=.. files, custom suffixes and MHC C=.. files. The README now
uses <CONFIG_NAME>-<suffix>.json, as configs/AGENTS.md does.
The CLAUDE.md rule could be read as "remove aiter/ops/triton/CLAUDE.md".
The docs now say that this file is the only CLAUDE.md, that it must
stay, and that Copilot must not flag it.
Allow torch imports in the standalone tuning harness
aiter/ops/triton/README.md:37
Rule 10 incorrectly bans torch from utils/_triton/tuning/, although that standalone-harness folder is the documented exception and already imports PyTorch. Add the exception so agents do not rewrite valid tuning tools.
Clarify that existing MHC and fused fallback searches are allowed
aiter/ops/triton/configs/AGENTS.md:18
This rule says that no fallback search exists, but lines 79–81 permit the MHC and fused_clamp_act_mul fallbacks. State that only new or general fallback searches are forbidden.
Split the tuning guide sentence into short ASD-STE100-compliant sentences
This long sentence does not follow the new ASD-STE100 rule and makes four separate points. Split it into short sentences so the tuning guide follows the convention introduced by this PR.
Conflicts:
- aiter/ops/triton/README.md and the Copilot review rules: kept the
short versions from this branch and added the changes of #6505. The
shared @triton.jit device helpers are now in _triton_kernels/common/,
and activation.py is not a flat wrapper any more.
- aiter/ops/triton/utils/_triton/tuning/README.md: took the new version
from #6128.
aiter/ops/triton/CLAUDE.md now imports the tuning rules, and the index
in aiter/ops/triton/AGENTS.md lists them. The tuning rules now link to
configs/AGENTS.md. They also say "only M_LEQ_* buckets are tuned" in
place of the M_GEQ sentence.
#6128 changed the GEMM loader and the tuning scripts. The config rules,
the Copilot review rules and the README now agree with it:
- A specialized file with "DEFAULT_FALLBACK": true gets its missing
buckets from DEFAULT.json. Copilot does not flag such a file.
- is_tuned is True only for a bucket from the specialized file, not for
"any" or a bucket from DEFAULT.json.
- DEFAULT.json sets the keys of a family, and the tuning scripts tune
only these keys. Entries must have the keys of DEFAULT.json. The fixed
list of ten keys is now an example: 25 of the 106 Triton GEMM
DEFAULT.json files do not have all ten.
- For GEMM, the tuning scripts write the specialized file, and
verify_configs.py --expect-tuned checks is_tuned.
The README said to log with "from aiter import logger". No library file
under aiter/ops/triton/ does that: 88 files use AiterTritonLogger() from
aiter/ops/triton/utils/logger.py, which reads AITER_TRITON_LOG_LEVEL.
Tests and benchmarks use "from aiter import logger", which reads
AITER_LOG_LEVEL.
The README, the test README and the Copilot review rules now say which
logger to use where. The test README also says how to see the debug
output of the library: AITER_TRITON_LOG_LEVEL=DEBUG with pytest
--log-cli-level=DEBUG. This logger has no handler of its own, so -s does
not show it.
Review comments on #6499:
- Link to the GitHub docs for stacked PRs (Copilot rules and README).
- Give examples of a category path and of a relative import.
- Give the M range of each MOE bucket: medium2 is M from 129 to 256,
between medium and large (Copilot rules and config rules).
- Tuned configs are JSON files, never CSV files (Copilot rules, config
rules and README).
- Use real test file names in the examples:
moe/moe_routing/test_moe_routing.py and attention/test_mha.py.
- conv/_helpers.py has no print() calls now, so it is not an exception
any more. A PR that fixes a file that an exception names must also
remove the exception.
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
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.
Rewrite the Triton README, the Copilot review rules, the config rules (configs/CLAUDE.md), the Triton test README and the Triton part of CONTRIBUTE.md. Each one starts with a short list of rules. The text uses ASD-STE100 (Simplified Technical English).