Repository navigation
[Triton/Gluon] [CI] [Build] Bump triton 7cb7b059 -> 24d5394c (3.9.0) with gfx950 fixes and config retune - #8266
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: Reviews: |
WAITING ON AUTHORPR Self-ReviewRevision Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision. Questions to answer in the PR description
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
|
Updated the config to avoid exceeding the kernel's LDS limit. |
There was a problem hiding this comment.
🟡 Changes recommended
Failed RPM queries can leave diagnostic text in ROCM_VERSION, bypassing pip detection and selecting the wrong ROCm wheel index in both Triton scripts.
1 open issue
What changed in this PR
Updates AITER CI to Triton 3.9.0 and adjusts quantization and gfx950 feed-forward settings for compatibility with the new compiler.
Changes:
- Updates Triton installation and download scripts, including pip-based ROCm detection and an index fallback.
- Fixes MXFP4 scale-index broadcasting and retunes seven gfx950 feed-forward configurations to reduce shared-memory use.
- Deselects attention tests affected by reported Triton toolchain issues.
| File | Description |
|---|---|
aiter/utility/fp4_utils.py |
Uses a rank-1 scale index for Triton 3.9 compatibility. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=28672-K=4096.json |
Retunes M ≤ 8 tiles and warp counts. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=27648-K=5120.json |
Retunes M ≤ 8 tiles and warp counts. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=22016-K=4096.json |
Retunes M ≤ 8 tiles and warp counts. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=16384-K=8192.json |
Retunes small-M tiles and M ≤ 64 pipeline settings. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=16384-K=2048.json |
Retunes small-M tiles and M ≤ 64 pipeline settings. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=16384-K=1280.json |
Retunes small-M tiles and M ≤ 64 pipeline settings. |
aiter/ops/triton/configs/gfx950/triton/gemm/ff_a16w16_fused/FF-A16W16-fused-N=11264-K=2048.json |
Retunes small-M tiles and M ≤ 64 pipeline settings. |
.github/workflows/triton-test.yaml |
Adds targeted attention-test exclusions. |
.github/scripts/install_triton.sh |
Installs Triton 3.9.0 and extends ROCm index selection. |
.github/scripts/download_triton_wheel.sh |
Downloads Triton 3.9.0 with matching ROCm index selection. |
Review effort: Balanced
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: Reviews: |
valarLip
left a comment
There was a problem hiding this comment.
⚠️ Action required before merge (7)
- Get a green
ci:atom_fullat the final head before merge. The only run that finished is 44658378692, at 2ffcf7a. DeepSeek-R1-0528 (FP4, MTP) passed, but only by +0.005 to +0.009. DeepSeek-V4-Pro (KV budget -0.07 GB), V4-Pro DSpark (HIP OOM) and V4.1-Flash DSpark (server not up after 2700 s) failed before evaluation, also at 98753cd, so no accuracy number exists for dsv4pro or dsv4.1flash. Then either show the same failure on a triton-3.8 baseline, or root-cause it. - Don't leave Python 3.10 without triton. release_1031 and PyPI have no cp310 wheel for triton 3.9.0.
install_triton.sh:28uninstalls triton, then:88fails.setup.py:150-154swallows the error, sopip installon py3.10 (python_requires>=3.10, py3.10 release wheels) ends with no triton. Branch on the Python version before the uninstall (keep the current triton and warn for <3.11). Also drop "no user-facing change". - Apply the Copilot rpm fix to
download_triton_wheel.sh:16too () || ROCM_VERSION="", thread r4625198574). Today, on an rpm host without rocm-core, the "package rocm-core is not installed" text becomes the ROCm version. That skips the new pip fallback, and the >10.2 probe then picks rocm-10.2.0, whileinstall_triton.shpicks 7.2.0 in the same image. Hit via theprepare-triton-wheel.yaml:104-107host fallback (ubuntu-latest ships rpm). - Fall back when the derived index does not exist, for every version. A pip-only ROCm 7.x SDK (e.g.
rocm==7.12.0a…) now maps torelease_1031/rocm-7.12.0, which returns 403. The curl probe only runs above 10.2, so pip silently installs upstream PyPI triton 3.9.0.triton-kernels==1.0.0then fails after the old triton was removed. Base used the AMD rocm-7.2.0 index. Probe every computed index (guarded bycommand -v curl), falling back toTRITON_DEFAULT_ROCM_VERSION, or to 10.2.0 above 10.2.
Nits (all requested):
5. Narrow the test_mha_dao_ai_capture deselect. It also drops forward, varlen and kvcache CUDA-graph capture coverage, which no other test has. On MI35X, deselect only [mha-cpu]/[mha-cuda] (your body says gqa passes), or split out the dropout-backward step. Add an issue link to both workflow comments.
6. Back the retune with tests and data. CI reaches 1 of the 18 retuned buckets and no ungated specialized shape; the ungated LDS overflow on 3.8 shipped undetected. Add M ∈ {4, 64} gated cases plus one ungated specialized shape (e.g. hidden 2048, inter 11264). Attach the cited 66-case report, which is not attached. Add a triton 3.8 old-vs-new config A/B for the gated buckets, since 3.8 users get these tiles too.
7. Fix the squash text and description (squash = COMMIT_MESSAGES):
- bf6fde9 says "BK 256→128 … keeps num_stages=2".
- 85fee57 says "M_LEQ_64 is unchanged".
- The body says all 7 files' M_LEQ_64 used BM32/BK256/ns2; 22016/27648/28672 did not.
- "Reviewed revision 63b81cf" is stale.
- Also reword
aiter-release.yaml:456-457("no triton builds for pip ROCm SDKs"), which is no longer true for 10.x.
Reviewed at 69d712f (Deep tier; 4 hunters, 2 verifiers). No file overlap or textual conflict with #7544/#8093/#7905/#8216. #7544 and #8093 (3.9 perf recoveries) should land with or before this PR. The fp4_utils fix compiles on 3.9 and is broadcast-identical. The new tiles fit LDS. CI "fail" checks are cancelled duplicate runs; Triton MI35X/MI300X shards pass at head; standard-shard failures are infra (artifact timeout / docker rate limit), re-run pending.
a641e07 to
36ca989
Compare
Thanks for the thorough review. I rewrote the branch into 4 commits with accurate messages ( 1. 2. Python 3.10 left without triton — fixed in
3. rpm fix in 4. Probe every derived index — done.
5. Narrow the capture deselect — done in
6. Tests and data for the retune — done.
7. Stale messages — done. The branch history is rewritten into 4 commits whose messages describe the final change (the old ones still described the plain |
36ca989 to
4a7b793
Compare
1c5d0ad to
1b229a8
Compare
Picks up the Triton 3.9.0 bump (#8266): CI installs that Triton wheel, and without the matching aiter/utility/fp4_utils.py op_tests/test_gemm_a4w4.py fails to compile its quant kernel.
…main, ROCm#8266) The CI image is on triton 3.9, which rejects scalar[None, :] in _dynamic_mxfp4_quant_kernel_asm_layout; op_tests/test_gemm_a4w4.py fails to compile it on this branch. Same line as upstream main, so a later merge of main is a no-op here. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…main, ROCm#8266) The CI image is on triton 3.9, which rejects scalar[None, :] in _dynamic_mxfp4_quant_kernel_asm_layout; op_tests/test_gemm_a4w4.py fails to compile it on this branch. Same line as upstream main, so a later merge of main is a no-op here. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…main, ROCm#8266) The CI image is on triton 3.9, which rejects scalar[None, :] in _dynamic_mxfp4_quant_kernel_asm_layout; op_tests/test_gemm_a4w4.py fails to compile it on this branch. Same line as upstream main, so a later merge of main is a no-op here. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…main, ROCm#8266) The CI image is on triton 3.9, which rejects scalar[None, :] in _dynamic_mxfp4_quant_kernel_asm_layout; op_tests/test_gemm_a4w4.py fails to compile it on this branch. Same line as upstream main, so a later merge of main is a no-op here. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…main, ROCm#8266) The CI image is on triton 3.9, which rejects scalar[None, :] in _dynamic_mxfp4_quant_kernel_asm_layout; op_tests/test_gemm_a4w4.py fails to compile it on this branch. Same line as upstream main, so a later merge of main is a no-op here. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…main, ROCm#8266) The CI image is on triton 3.9, which rejects scalar[None, :] in _dynamic_mxfp4_quant_kernel_asm_layout; op_tests/test_gemm_a4w4.py fails to compile it on this branch. Same line as upstream main, so a later merge of main is a no-op here. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Bring in main 35df6ef. It has the Triton 3.9.0 bump (#8266), whose fp4_utils.py fix the 1-GPU CI job needs: that job installs Triton 3.9.0. Signed-off-by: Vinayak Gokhale <[email protected]>
…8701) Triton 3.9 also pipelines the x tile through LDS when the tile feeds more than one dot. The bf16x3 kernel feeds it to 3 dots, so each config needs about 34.8 KB more LDS. With the w_bf16x3 weights, 6 compute-bound buckets then need more than 160 KiB and fail with OutOfResources, for example M_LEQ_256 with 168,832 B. Since the Triton 3.9 bump (#8266), test_gemm_a16w32_takes_w_bf16x3[256] fails on main. The new buckets are measured on Triton 3.9 at N=128, K=6144 with the w_bf16x3 weights. M_LEQ_256 comes from a full sweep. M_LEQ_512, M_LEQ_1024 and M_LEQ_8192 come from the 100 fastest configs at M=256 and a grid of larger tiles. For M_LEQ_512 the second-best config on Triton 3.9 is used, because the best one is 46% slower on Triton 3.8. "any" is a copy of M_LEQ_8192. DEFAULT.json gets the same values in the 4 buckets that overflowed. All buckets fit on Triton 3.8 and 3.9. test_gemm_a16w32_takes_w_bf16x3 now runs one M for each bucket, for the tuned shape and for a DEFAULT.json shape. With the configs of main on Triton 3.9, 8 of its 16 cases fail. Signed-off-by: Vinayak Gokhale <[email protected]>
… down to 2048 keys _gfx950_kv_splits caps the KV split at cdiv(seq_len_kv, 16384), so a prefill chunk of a few rows over a long context runs on a few workgroups (7 per row block at 107K keys, whatever the row count) and idles most of the GPU. The splits own disjoint key columns and nothing is reduced across them, so the floor only amortizes each split's Q and weight loads; 2048 keys still does. Lower it to 2048 when the grid being sized (row blocks x splits) fills less than one round of workgroups. A grid that already fills a round keeps its split: without that gate a lower floor cost up to 6% on Triton 3.8 (512 rows over 50K keys with clean_logits=True: 150.4 -> 159.7 us, measured on an earlier main with the same file). With 32 or fewer heads the 2-row grid is sized first, so the larger split also moves some calls that main runs as 1-row blocks over a full round to 2-row blocks (256 rows over 107K keys: 1792 -> 6784 workgroups; 1.10-2.21x in the sweep below). MI355X, aiter main 309ba2d (fp8_mqa_logits.py and its test are the same on 1223841), torch 2.10.0+rocm7.2.4, Triton 3.6.0+rocm7.2.4.git4ed88892 and 3.8.0+amd.rocm7.2.0.git7cb7b059 (aiter CI's until ROCm#8266). Each arm one HIP graph of one call, replays timed alone after a 512 MB write that evicts the LLC, 5 rounds of main, patched, main, main, patched, main in one process (the third arm is main again: A/A within 0.96-1.05), median of 10 measurements per arm. 148 shapes: 32 and 64 heads of 128, 1 to 4712 rows, 8K to 262K keys plus the rows with clean_logits=False, and 32 heads over 8K to 50K pooled keys with clean_logits=True. rows 8K keys 32K keys 107K keys 262K keys (32 heads, Triton 3.6 | 3.8) 1 97.7 -> 29.6 us 128.1 -> 33.8 175.6 -> 36.6 183.9 -> 40.9 64.7 -> 23.6 83.0 -> 26.0 111.5 -> 28.3 115.5 -> 32.0 42 95.5 -> 29.4 126.2 -> 37.4 177.1 -> 50.5 209.0 -> 92.0 61.0 -> 22.5 78.0 -> 28.2 108.8 -> 52.5 131.0 -> 82.4 256 99.5 -> 34.7 144.2 -> 73.6 397.5 -> 180.0 459.0 -> 458.5 63.7 -> 36.8 92.9 -> 65.5 243.8 -> 156.6 397.0 -> 401.3 4096 285.5 -> 286.3 766.7 -> 764.6 2278.1 -> 2274.2 202.1 -> 201.7 638.1 -> 636.9 2110.1 -> 2097.6 The calls whose launch changes run 1.08-4.85x faster on Triton 3.6 (87 of 148 shapes) and flat to 3.94x on 3.8 (74); the others launch as on main, with bit-identical logits, at 0.97-1.05x (within the A/A). On MI350X with aiter CI's Triton 3.9.0+amd.rocm7.2.0.git24d5394c (main 1223841), the same 74 calls run 1.00-4.02x (1.06-4.02x at 1-42 rows). The logits are bit-identical to main's on Triton 3.6; on 3.8 and 3.9 the calls the change moves from the 1-row to the 2-row block (32 of 148 shapes) sum the heads in that block's order; over all their rows, the largest error against an fp64 reference is 3.95e-4 of sum_h |w| relu(q.k) in both arms, and per shape within 0.1% of main's. op_tests/triton_tests/attention/test_fp8_mqa_logits.py: 253 passed with and without the change, on both builds, and on MI350X with Triton 3.7.0, 3.8 and 3.9.0. Co-authored-by: Jin Pan <[email protected]> Co-authored-by: Jinwei Yao <[email protected]>
…it24d5394c) The 1031 Triton release went public and the ground the pin stood on moved: the release_1031 index (underscore) was pre-release staging and is now gone entirely -- every subdir 403 -- and with it the pinned 3.9.0+amd.rocm10.1.0.gitf1bf9132 build, which is published nowhere else. The nightly build dies at the Triton pin step until this lands. The public release lives on release-1031 (hyphen), every ROCm subdir 7.0.0 through 10.3.0 carrying the same git24d5394c build. Repin to 3.9.0+amd.rocm10.3.0.git24d5394c from rocm-10.3.0: the subdir now matches the line's 10.3 nightly SDK (10.2.0/10.3.0 were 403 when 10.1.0 was chosen), and is where AITER's own install_triton.sh resolves on this image -- torch depends on the pip rocm metapackage, so the script's ROCm probe sees 10.3.0 and tries rocm-10.3.0 before its 10.2.0 fallback. The build is the one AITER's CI tests against: ROCm/aiter#8266 bumped AITER to it and retuned the 7 gfx950 FF-A16W16-fused configs for it -- the LDS overflow this pin exists to avoid. Three follow-ons in the pin commit's own scope: - The atom_image re-pin/assert still excluded the rocm10-base flavor. Its reason -- a rocm10 build would have force-reinstalled a rocm7.2.0 wheel here -- died when the workflow started passing the line's own index and versions; the guard is gone, so the end-of-build assert covers the ROCm 10 line too. - The aiter editable reinstall in atom_image runs setup.py without AITER_USE_SYSTEM_TRITON (the ENV in build_aiter does not cross stages), so install_triton.sh ran there and re-resolved Triton -- the same build as the pin today, by index construction rather than by design. Set it for that one command: the pin, not aiter's resolver, owns the image's Triton. - build_aiter's comment still said the base ships "the ROCm 10 SDK's 3.8.0 build"; the base-stage and workflow comments still carried the "10.2.0 and 10.3.0 are 403" rationale. All refreshed. Co-Authored-By: Claude Code <[email protected]>

Summary
Bump the CI Triton from release_0914 triton 3.8.0 (
git7cb7b059) to release_1031 triton 3.9.0 (gitf1bf9132), and fix the aiter breakages it exposes: an mxfp4 quant compile error, and FF fused small-M configs that no longer fit LDS (retuned so they are also faster). Two attention tests with known triton 3.9 issues are deselected in CI.Motivation
On triton 3.9.0 (
f1bf9132):_dynamic_mxfp4_quant_kernel_asm_layoutfails to compile: triton 3.9 rejectsscalar[None, :]("too many indices for tensor of rank 0").M_LEQ_4/M_LEQ_8buckets of 7 gfx950FF-A16W16-fused-N=*-K=*configs, and theM_LEQ_64bucket of 4 of them (N=11264/K=2048, N=16384/K=1280,2048,8192), useBM=32, BN=128, BK=256, ns=2. That tile needs 168864 B of LDS (limit 163840) and fails withOutOfResources. On 3.8 the ungated kernel already failed with it (168896 B). The other 3 files'M_LEQ_64(BM=64, BN=256, BK=64, ns=3) fits and is unchanged.test_mha_dao_ai_capturehits a GPU memory access fault inbwd_kernel_fused_causal(MHA backward with dropout), and 8 varlen head-dim 33/53test_mha_dao_ai_backward_head_sizecases give wrong gradients or fault on gfx942. Both are LLVM codegen issues in the Triton toolchain, not aiter bugs.Changes
.github/scripts/install_triton.sh(run bysetup.pyduringpip install aiter) anddownload_triton_wheel.sh(CI wheelhouse; it reuses the lookup viainstall_triton.sh --resolve, no copy):triton==3.9.0frompypi.amd.com/triton/release_1031, which has cp311-cp314 wheels only). On Python 3.10 both scripts print a reminder and stop before touching triton:install_triton.shexits 0 sopip install aitercontinues with the existing triton,download_triton_wheel.shexits 1.rocm-core(dpkg or rpm) or, on pip ROCm SDK images, the piprocmpackage. A failed rpm query no longer leaks its message into the version.rocm-X.Y.0, then the newest one of the same ROCm major (rocm-7.2.0for 7.x such as 7.12,rocm-10.2.0for 10.x), then the default. Each is used only if it lists a wheel with this interpreter's full tag (cpXY[t]-cpXY[t]-linux_<arch>), probed with python3 urllib (no curl): HTTP 403/404 tries the next candidate, a network error is retried 3 times and then stops. A missing index used to let pip fall through to upstream PyPI triton.setup.pyprints the Python 3.11+ reminder on Python 3.10 instead of "Replacing existing triton"; the README notes the Python and network requirements.aiter/utility/fp4_utils.py:bs_offs_n = pid_n + tl.arange(0, 1)(rank-1, size-1) instead of the scalarpid_n. Broadcast-identical; compiles on 3.8 and 3.9.FF-A16W16-fused-N=*-K=*configs:M_LEQ_4,M_LEQ_8:BM=16, BN=128, BK=256, ns=2, nw=4, picked from a 72-tile sweep on triton 3.9.M_LEQ_64(the 4 files above):BK 256 -> 128,num_stages 2 -> 3, picked from a second sweep that also variedwaves_per_eu,matrix_instr_nonkdim,num_stagesandnum_warps. The other 3 files'M_LEQ_64is unchanged..github/workflows/triton-test.yaml: deselecttest_mha_dao_ai_capture[mha-cpu]and[mha-cuda]on MI35X and MI300X (the gqa variants pass), and the 8 varlen head-dim 33/53test_mha_dao_ai_backward_head_sizecases on MI300X, with a link to the LLVM fix..github/scripts/flash_attention/test.sh: deselect three flash-attention cases that fault or hang on triton 3.9 inbwd_kernel_fused_causal(same LLVM miscompile, fix pending in [InlineSpiller][AMDGPU] Skip undef lanes when spilling a partial-def super-register llvm/llvm-project#226689):test_flash_attn_output[0.0-0.17-2048-2048-128-True-False-False-False-mha-dtype0-True/False]andtest_flash_attn_varlen_output[0.0-0.17-1024-1024-32-True-False-True-False-mha-dtype0-False]. All 396 dropout cases of both tests were run one per process on MI350X; only these three fail, every time.op_tests/triton_tests/gemm/feed_forward/test_ff_a16w16_fused.py: tests for the retuned buckets (gated M=4/64, ungated M=8/64)..github/workflows/aiter-release.yaml: comment reworded; release builds on pip ROCm SDKs still keep the SDK's own triton.User-facing effects:
pip install aiter(viasetup.py->install_triton.sh) now installs triton 3.9.0 on Python 3.11+; on Python 3.10 it prints that Python 3.10 is not supported by triton 3.9.0 and keeps the existing triton. The FF fused kernels pick new tiles on gfx950. No API change.Performance (if applicable)
MI350X (gfx950), bf16. Before = triton 3.8.0 + old configs (current main). After = triton 3.9.0
f1bf9132+ this PR.triton.testing.do_bench(warmup=25, rep=100), median of 4 rounds on 4 GPUs, variants interleaved per GPU; round-to-round spread <= 1.13x. TFLOPS, higher is better.Against the plain
BK 256 -> 128fix on triton 3.9: the retunedM_LEQ_4/M_LEQ_8tiles give +10.2% (range +1.9% to +18.5%) TFLOPS andnum_stages=3inM_LEQ_64gives +18.0% (range -0.3% to +33.0%) (medians over gated + ungated). Every gated case is now at least as fast as triton 3.8 + old configs.Triton 3.8 A/B (old vs new configs, same triton): gated +3.4% TFLOPS (range +0.6% to +17.1%; M <= 8 +1.6%, M 16-64 +10.5%). Ungated: old configs fail all 33 cases with LDS overflow, new configs run them. So the retune is an improvement on its own, not only a triton 3.9 workaround.
Full per-case tables (66 cases, 3.8 old / 3.9 BK128 / 3.9 final / 3.8 final) are in the attached perf report.
Testing
Documentation
No API change. The install-time triton choice is automatic and logged by
install_triton.sh;AITER_USE_SYSTEM_TRITON=1still keeps an existing triton.Dependencies
Existing dependency version change: CI Triton 3.8.0 (release_0914) -> 3.9.0 (release_1031,
f1bf9132).Breaking Changes
None.
PR Self-Review
Reviewed revision
8ad1dae69Behavior and intent
f1bf9132).BK 256 -> 128change caused: every gated case is at least as fast as before, M 16-64 by 13%.pip install aiterinstalls triton 3.9.0 on Python 3.11+. On Python 3.10 it prints a reminder that Python 3.11+ is required and keeps the existing triton (previously it uninstalled triton and then failed, leaving none). An unknown ROCm version no longer silently gets upstream PyPI triton.Validation and unverified scope
Validated on MI350X (gfx950), ROCm 7.1, with triton 3.8.0 (
7cb7b059) and 3.9.0 (f1bf9132):op_tests/triton_tests/gemm/feed_forward/test_ff_a16w16_fused.py: 740 passed, 128 skipped, 0 failed on both 3.8 and 3.9.ungated,activation=None, large intermediate, 1-9 elements over tolerance (<= 0.1%).BK=128configs miss as many (7 at M <= 8, 5-7 at M 16-64). The ungated kernel accumulates its output with bf16tl.atomic_add, one per N-tile, which leaves some rounding error. This PR keepsBN=128so the number of atomic adds does not change.BN=64gave up to 1.5x the TFLOPS but doubled these misses.fp4_utils.pyfix:test_fp4_utils_dynamic_mxfp4_quantandtest_fused_dynamic_mxfp4_quant_moe_sortpass onf1bf9132(61 passed, 24 skipped).test_gemm_a4w4(same kernel viaper_1x32_f4_quant_triton) was verified on the earlier triton 3.9.0 build65ee8992, not re-run onf1bf9132.test_mha_dao_ai_captureon MI350X:f1bf9132(mha-cpu and mha-cuda; gqa passes).bwd_kernel_fused_causal(MHA backward with dropout), and it reproduces without graph capture.08b05a3352ee) with [InlineSpiller][AMDGPU] Skip undef lanes when spilling a partial-def super-register llvm/llvm-project#226689 (InlineSpiller partial-def spill fix) on top of its prerequisites (#235114, #227858, #231917) fixes it: the capture test passes 5/5 and all oftest_mha_dao_ai.pypasses (52).--resolvewith simulated dpkg / rpm / pip-only ROCm (7.1 -> rocm-7.1.0, 7.12 -> rocm-7.2.0, 10.1 -> rocm-10.1.0, 10.5 -> rocm-10.2.0, rpm without rocm-core and no ROCm -> rocm-7.2.0). End to end in a fresh Python 3.12 venv: download wheelhouse; install from the index; from a matching wheelhouse; from an empty wheelhouse (falls back to the index); wrong-tag wheelhouse with the index unreachable (exit 1, triton unchanged); Python 3.10 (install exits 0 with the reminder and triton unchanged, download exits 1). No curl is used.test_mha_dao_ai_capturewith them gives 2 deselected, 2 (gqa) run.Unverified:
ci:atom_fullhas not run at the final head: the runners are unavailable for machine reasons. Onlinux-aiter-do-mi350x-dpx-8the DSV4 jobs (and Llama-70B) failed at startup (KV budget / HIP OOM / not up in time), which looks like DPX memory configuration rather than triton; a triton 3.8 DSV4-on-DPX control is still needed to confirm. The same triton build passed on non-DPX runners in [CI] [DO NOT MERGE] bump triton from 7cb7b059 to 65ee8992 #7329 (https://github.com/ROCm/aiter/actions/runs/44001619017: 14 passed, 9 cancelled, 0 failed), without this PR's aiter changes; ATOM does not reach this PR's aiter code, only the triton bump.PR-specific question
The CI changes add no permissions, secrets or triggers.
triton-test.yamlandaiter-test.yamlrun onpull_request(notpull_request_target), so fork PRs get a read-onlyGITHUB_TOKENand no secrets; the reusableprepare-triton-wheel.yamlthey call (workflow_call) setspermissions: contents: read. The install scripts take no PR text or user input: they read the ROCm version from local packages and fetch fixedhttps://pypi.amd.com/triton/...URLs over HTTPS. The deselect list is static. Fork PR code can already run in these jobs (they execute the PR's tests); this change does not move it to a more privileged path.Changed op tests
op_tests/triton_tests/gemm/feed_forward/test_ff_a16w16_fused.py: the gfx950 launch teststest_ff_a16w16_fused_gated_m8_launch/_ungated_m8_launchnow also run the retuned buckets (gated M=4 and M=64 on N=16384/K=8192 forM_LEQ_4andM_LEQ_64; ungated M=8 and M=64 on N=16384/K=1280 forM_LEQ_8andM_LEQ_64), each against the torch reference on theconfig=Nonepath. No new test functions. Not redundant:get_x_vals()jumps from M=3 to M>=32 and does not hit these specialized configs.