Skip to content

[Config] Add gfx950 BF16 GEMM tunings for Gemma-4-26B-A4B - #7457

Merged
demonsan merged 1 commit into
ROCm:mainfrom
lishuoshuo-amd:perf/gfx950-gemma4-26b-bf16-gemm
Nov 10, 2026
Merged

demonsan merged 1 commit into
ROCm:mainfrom
lishuoshuo-amd:perf/gfx950-gemma4-26b-bf16-gemm

Conversation

@lishuoshuo-amd

@lishuoshuo-amd lishuoshuo-amd commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR adds 49 gfx950 (MI355X, cu_num=256) FlyDSL rows for the seven dense BF16 GEMMs of Gemma-4-26B-A4B (google/gemma-4-26B-A4B-it), plus the untuned list they were tuned from. Each row is faster than the current default at every M it serves through exact or padded lookup (worst point 1.017×), and SGLang's output throughput on Gemma-4-26B-A4B at TP1 goes up 2.8–4.0% at concurrency 8 to 64, with median TPOT down 2.8–4.8%. GSM8K is unchanged.

Motivation

On gfx950, Gemma-4-26B-A4B runs seven dense BF16 GEMMs per text layer through tgemm.mm: the attention projections of the sliding and global layers, the dense MLP, and the MoE router. None of them has a gfx950 row in bf16_tuned_gemm.csv or model_configs/, so every M falls back to the torch default (F.linear). At decode sizes the FlyDSL kernels in this table are up to 1.9× faster (for example down_proj M=1, 8.96 → 4.82 µs).

Changes

  • Add aiter/configs/model_configs/gemma4_26b_a4b_bf16_tuned_gemm.csv: 49 gfx950 rows (cu_num 256), all FlyDSL.
  • Add aiter/configs/model_configs/gemma4_26b_a4b_bf16_untuned_gemm.csv: every tuned key, so the table can be re-tuned.
  • No existing file changes, and no new key collides with a row in aiter/configs/bf16_tuned_gemm.csv or model_configs/. The default config merge picks the new file up by its name.
GEMM (N, K) M with a row
sliding-layer qkv_proj (16 × 256 + 2 × 8 × 256) (8192, 2816) 32, 64, 128
global-layer qkv_proj (16 × 512 + 2 × 2 × 512) (10240, 2816) 1, 2, 4, 8, 16, 32, 64
sliding-layer o_proj (2816, 4096) 1, 2, 4, 8, 16, 32, 64, 128
global-layer o_proj (2816, 8192) 1, 2, 4, 8, 16, 32, 64, 128
dense MLP gate_up_proj (2 × 2112) (4224, 2816) 1, 2, 4, 8, 16, 32, 64
dense MLP down_proj (2816, 2112) 1, 2, 4, 8, 16, 32, 64, 128
MoE router (128, 2816) 16, 32, 64, 128, 1024, 2048, 4096, 8192

The shapes and M values come from a running SGLang server with AITER_LOG_TUNED_CONFIG=1. Decode M are the CUDA graph batch sizes, and prefill chunks reach the power-of-two rows through padded-M lookup. The five vision-tower shapes (K = 1152 or 4304) run only on image inputs and are not included.

How the configs were made

On aiter fd88e5b7f with FlyDSL 0.4.1, one MI355X GPU, once per (N, K):

python3 csrc/gemm_a16w16/gemm_a16w16_tune.py \
  --input_file <untuned rows of one (N, K)> --tuned_file <tuned rows> \
  --libtype all --mp 1 --sort True

The untuned list is the seven shapes at M = 1, 2, 4, 8, 16, 32, 64, 128, 1024, 2048, 4096, 8192 and 16384 (91 keys). The search covers asm, FlyDSL, OPUS, Triton, skinny and torch, with no hipBLASLt. All 49 kept rows are FlyDSL. err_ratio is at most 0.0219; the 35 rows above 0.005 are all split-K.

The tuner only times each key's own M, but a row also serves every M that pads onto it. So every candidate row was re-timed over the whole range it serves, through the public tgemm.mm in a CUDA graph (50 calls per graph, weights rotated over 8 copies, median of 7 replays). The sweep covers every M from 1 to 160 plus 85 points from 513 to 16384 for all seven shapes, 1715 points per arm, with the default and candidate tables in separate processes, alternating. A row is kept only if it is at least 3% faster at its own M and no measured M that resolves to it is slower than 0.98×. After each drop the sweep is re-run with the reduced table until no row changes. Rows removed this way include:

row reason
(4224, 2816) M=128 M=96 was 0.85×
(2816, 2112) M=1024 M=520–768 were 0.85–0.94×
(10240, 2816) M=128 M=65 was 0.97×
(10240, 2816) M=16384 1.02× at its own M
router M=8 M=5 was 0.96×
(8192, 2816) M=2 only 1.5% faster

On main f60ee45dd this took three passes (53 → 50 rows, 2 runs per arm). The final check is on this PR's base 8f1d6bd1, which includes the FlyDSL hgemm kernarg preload from #6427, with 3 runs per arm. It dropped (10240, 2816) M=16384, which is only 1.02× at its own M; the earlier 2-run check had kept it because one run was slow in both arms. A second pass with the 49 rows changed nothing.

Performance (if applicable)

Hardware Workload/configuration Before After Change
MI355X, TP1 SGLang Gemma-4-26B-A4B, random 8192 in / 1024 out, concurrency 8 950.0 tok/s, TPOT 7.43 ms 988.2 tok/s, TPOT 7.18 ms +4.0% / -3.5%
MI355X, TP1 same, concurrency 32 1950.0 tok/s, TPOT 13.72 ms 2017.6 tok/s, TPOT 13.05 ms +3.5% / -4.8%
MI355X, TP1 same, concurrency 64 2506.1 tok/s, TPOT 20.30 ms 2575.7 tok/s, TPOT 19.73 ms +2.8% / -2.8%
MI355X tgemm.mm (N, K) = (2816, 2112), M=1, CUDA graph 8.96 µs 4.82 µs 1.86×
MI355X tgemm.mm (N, K) = (2816, 8192), M=32, CUDA graph 18.09 µs 11.38 µs 1.59×

Details below are on MI355X, gfx950, ROCm 10.0.

Kernel latency

tgemm.mm in a CUDA graph, main 8f1d6bd1 / this PR in µs, median of 3 runs ("default" means no row serves that M):

(N, K) M=1 M=8 M=32 M=64 M=128 prefill rows
(8192, 2816) default default 11.72 / 10.40 13.32 / 12.17 19.25 / 16.41 -
(10240, 2816) 12.48 / 11.83 12.82 / 11.85 14.32 / 13.10 17.34 / 15.14 default -
(2816, 4096) 8.92 / 6.16 8.93 / 6.30 11.33 / 6.91 13.23 / 8.21 14.11 / 9.98 -
(2816, 8192) 13.70 / 10.64 14.02 / 10.55 18.09 / 11.38 19.94 / 12.67 19.46 / 16.72 -
(4224, 2816) 7.73 / 6.16 7.87 / 6.27 9.84 / 7.33 11.30 / 8.18 default -
(2816, 2112) 8.96 / 4.82 7.65 / 4.77 9.07 / 5.23 9.91 / 5.55 9.93 / 8.11 -
(128, 2816) default default 5.13 / 3.80 5.22 / 4.06 5.27 / 4.11 M=1024: 6.3 / 5.6, M=2048: 7.6 / 6.6, M=4096: 11.9 / 9.8, M=8192: 18.6 / 15.1

The lowest worst point over the served range is 1.017× ((2816, 2112) M=128, over M=65–128); every other row is at least 1.035× at its worst point.

First-call cost

FlyDSL does not compile per M: a new M on a row that has already run costs 0.12–0.24 ms in a fresh process, the same as a repeated call (one of 30 such calls took 1.6 ms). Each FlyDSL kernel pays a one-time cost on its first use in a process: 14–15 ms when it is loaded from a FlyDSL cache on local disk (18–37 ms from a cache on NFS), and 0.27–0.42 s when it is compiled into an empty cache. The first FlyDSL call in a process also loads the whole cache index (load_all in FlyDSL 0.4.1's cache manager): 0.78–0.79 s with a 5030-entry cache on local disk, and 13.5–15.4 s with the same cache on NFS, mostly file locks and opens. That cost depends on the cache size and the file system, not on this table, which adds 49 entries. The wheel build pre-compiles the FlyDSL kernels of the tuned tables (run_aot in setup.py), and in SGLang most of these rows are first used during warm-up and CUDA graph capture. Outside CUDA graphs the FlyDSL path has more host-side launch work than F.linear: on f60ee45dd a plain Python loop of tgemm.mm took about 35 µs per call against about 16.5 µs for the default. Decode runs in CUDA graphs, and TTFT below is unchanged.

End to end

End to end in SGLang 1ad0149814 (lmsysorg/sglang-rocm:v0.5.23-rocm10-mi35x-20261101), TP1, SGLANG_USE_AITER=1, with aiter replaced by this PR or its base (8f1d6bd1) and FlyDSL 0.4.1 as pinned by aiter. The PR server loads the table the way an installed build does, merged from model_configs/ with no AITER_CONFIG_GEMM_BF16. Server flags are --kv-cache-dtype fp8_e4m3 --moe-runner-backend triton --context-length 11264 --mem-fraction-static 0.85 --swa-full-tokens-ratio 0.15 --disable-radix-cache. Load is sglang.benchmark.serving with random-ids, 8192 in / 1024 out, a different seed per run. A fresh server per block, in the order main, PR, main, PR; each block discards a 32-prompt warm-up and measures 2 runs per concurrency (48 / 96 / 128 prompts at concurrency 8 / 32 / 64). Medians over 4 runs per arm:

concurrency out tok/s median TPOT TTFT mean / p90
8 950.0 → 988.2 (+4.0%) 7.43 → 7.18 ms (-3.5%) 882 / 1308 → 847 / 1295 ms
32 1950.0 → 2017.6 (+3.5%) 13.72 → 13.05 ms (-4.8%) 2565 / 4397 → 2566 / 4432 ms
64 2506.1 → 2575.7 (+2.8%) 20.30 → 19.73 ms (-2.8%) 4872 / 8810 → 4907 / 8826 ms

At concurrency 8 and 32 the throughput ranges of the two arms do not overlap. At concurrency 8 the first main run (887.9 tok/s) is lower than the other three (940.9–961.6); against those three the gain is +3.1%. At concurrency 64 they overlap because the second block pair ran about 4% faster than the first in both arms; within each pair the PR is faster, +2.7% (2446.0 / 2466.1 → 2516.8 / 2527.7) and +2.4% (2576.2 / 2546.1 → 2623.7 / 2624.0). TPOT moves with throughput and TTFT does not: per-request TTFT has a standard deviation of about 400 ms at concurrency 8 and 1400–2900 ms at 32–64, because a request either starts prefill at once or waits behind others, so the table reports mean and p90 instead of the median. With AITER_LOG_TUNED_CONFIG=1 the PR server logs 486–505 hits on these rows per block and no errors.

Accuracy

GSM8K over all 1319 questions on the same servers:

5-shot multi-turn chat, greedy, strict match sglang.test.few_shot_gsm8k (completion prompt)
main, block 1 / 2 0.9462 / 0.9492 0.147 / 0.146
this PR, block 1 / 2 0.9492 / 0.9545 0.149 / 0.186

The chat run uses the first 5 train problems as shots, temperature 0 and max 512 tokens; strict match is the number after ####. The completion-prompt script scores low on this instruction-tuned model in both arms, so it is only an A/B check.

Testing

  • Unit tests added or updated
  • Performance benchmarks run
  • Tested on MI250X
  • Tested on MI300X

This PR adds config rows only, so no test is added. The rows are keyed to gfx950 with cu_num 256 and are not selected on MI250X or MI300X. On MI355X (gfx950), rebased on main 8f1d6bd, with the two files in model_configs/:

  • op_tests/tuning_tests/test_config_shape_collision.py (31 passed) and test_csv_validation.py (19 passed).
  • The default config merge (bf16_tuned_gemm.csv plus 28 model_configs/*bf16_tuned_gemm*.csv files) resolves all 49 keys to their own FlyDSL rows through get_GEMM_A16W16_tuned_config.
  • python3 csrc/gemm_a16w16/gemm_a16w16_tune.py --run_config aiter/configs/model_configs/gemma4_26b_a4b_bf16_tuned_gemm.csv: every row runs, no errors.
  • The kernel sweep above with the 49 rows, 3 runs per arm: no row drops.
  • First-call, end-to-end and GSM8K runs above, on this PR's head and its base.

Documentation

  • Docstrings updated
  • User guide updated
  • Performance guide updated
  • No documentation change is needed, with the reason stated below

This PR adds tuned config files that the existing config merge picks up; no API, option or documented behavior changes.

Dependencies

  • No new third-party dependencies added
  • New dependencies are listed and justified below

Breaking Changes

None.

PR Self-Review

Reviewed revision

e3f8a3f

Behavior and intent

get_GEMM_A16W16_tuned_config now returns a FlyDSL row for the seven dense BF16 GEMM shapes of Gemma-4-26B-A4B on gfx950 with 256 CUs, at the 49 listed M and at every M that pads onto them. Before, these shapes had no row on any architecture, so tgemm.mm always ran the torch default (F.linear), which is slower at every M these rows serve.

Validation and unverified scope

Validated on MI355X (gfx950, 256 CU, ROCm 10.0), FlyDSL 0.4.1, on this PR's head and its base 8f1d6bd: the tuning tests, lookup and --run_config checks in Testing; a CUDA-graph sweep of tgemm.mm over 1715 M points per arm, 3 runs per arm, with every row at least 1.017× faster than the default at every M it serves; and SGLang 1ad0149814 end to end at TP1 (+2.8–4.0% output throughput at concurrency 8–64, TTFT within noise) with GSM8K unchanged. The eager-loop host overhead was measured on f60ee45. Main has moved since by #7390, which is gfx1250 MLA only and does not touch the BF16 GEMM path.

Unverified: TP > 1 (the shapes change with the head split), the vision-tower shapes, MI350X (also gfx950 with 256 CUs, so it selects these rows; not measured), other GPUs and CU counts (they have no rows and keep the default), and frameworks other than SGLang.

PR-specific question

The workload keys are (gfx950, cu_num 256, M, N, K, bias False, bf16, bf16, scaleAB False, bpreshuffle False) for (N, K) = (8192, 2816), (10240, 2816), (2816, 4096), (2816, 8192), (4224, 2816), (2816, 2112) and (128, 2816), at the M listed in Changes. Lookup matches (N, K) exactly and pads only M, so no other shape can resolve to these rows. No table on main, for any architecture, has a row for these seven (N, K) (checked across bf16_tuned_gemm.csv and 28 model_configs/ files), so no M of these shapes changes from another tuned row to one of these: every M that changes moves from the torch default to a row here. The sweep in Performance covers those M on both sides, and the merged tables have no duplicate keys.

Changed op tests

None.

Powered by Hyperloom, with human review, writing and testing.

Gemma-4-26B-A4B on MI355X (TP1) had no gfx950 rows for its dense
attention, MLP and router GEMMs, so every M used the torch default.
Add 49 FlyDSL rows for the seven text-layer shapes. Each row is faster
than the default at every M it serves through exact or padded lookup.
@lishuoshuo-amd
lishuoshuo-amd requested a review from a team November 4, 2026 12:49
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the gfx1201 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full 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 7457 --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-actions github-actions Bot added the Config label Nov 4, 2026
@aiter-bot

aiter-bot commented Nov 4, 2026 •

Copy link
Copy Markdown

READY FOR HUMAN REVIEW

PR Self-Review

Revision e3f8a3f03992 · mode shadow

Author self-review accepted. Readiness report:

Author answers

  • PASS — current-SHA answers are present and structurally specific
Show the author's self-review answers

Behavior and intent

`get_GEMM_A16W16_tuned_config` now returns a FlyDSL row for the seven dense BF16 GEMM shapes of Gemma-4-26B-A4B on gfx950 with 256 CUs, at the 49 listed M and at every M that pads onto them. Before, these shapes had no row on any architecture, so `tgemm.mm` always ran the torch default (`F.linear`), which is slower at every M these rows serve.

Validation and unverified scope

Validated on MI355X (gfx950, 256 CU, ROCm 10.0), FlyDSL 0.4.1, on this PR's head and its base 8f1d6bd1: the tuning tests, lookup and `--run_config` checks in Testing; a CUDA-graph sweep of `tgemm.mm` over 1715 M points per arm, 3 runs per arm, with every row at least 1.017× faster than the default at every M it serves; and SGLang `1ad0149814` end to end at TP1 (+2.8–4.0% output throughput at concurrency 8–64, TTFT within noise) with GSM8K unchanged. The eager-loop host overhead was measured on f60ee45dd. Main has moved since by #7390, which is gfx1250 MLA only and does not touch the BF16 GEMM path.

Unverified: TP > 1 (the shapes change with the head split), the vision-tower shapes, MI350X (also gfx950 with 256 CUs, so it selects these rows; not measured), other GPUs and CU counts (they have no rows and keep the default), and frameworks other than SGLang.

PR-specific question

The workload keys are `(gfx950, cu_num 256, M, N, K, bias False, bf16, bf16, scaleAB False, bpreshuffle False)` for (N, K) = (8192, 2816), (10240, 2816), (2816, 4096), (2816, 8192), (4224, 2816), (2816, 2112) and (128, 2816), at the M listed in Changes. Lookup matches `(N, K)` exactly and pads only M, so no other shape can resolve to these rows. No table on main, for any architecture, has a row for these seven (N, K) (checked across `bf16_tuned_gemm.csv` and 28 `model_configs/` files), so no M of these shapes changes from another tuned row to one of these: every M that changes moves from the torch default to a row here. The sweep in Performance covers those M on both sides, and the merged tables have no duplicate keys.

Changed op tests

None.

Powered by [Hyperloom](https://github.com/AMD-AGI/Hyperloom), with human review, writing and testing.

PR state

  • PASS — pull request is marked ready for review

Copilot findings

  • PASS — no active Copilot finding lacks a substantive author reply
  • ADVISORY — Copilot did not review the current head SHA

Code and op-test hygiene

  • PASS — no committed artifact or conflict marker detected

Required CI

  • PASS — Black: passed
  • PASS — Ruff: passed
  • PASS — Repository dependency: passed
  • PASS — Aiter Test Gate: passed

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

@demonsan demonsan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@peymanr

peymanr commented Nov 6, 2026

Copy link
Copy Markdown

PR Pundit review

(Testing PR Pundit Code Review agent. Not all comments may be relevant. This is a one-time automated pass: please address what is useful, no need to request a re-review. Please reply to each point, whether it applies or not: we harvest these replies, and both kinds are enormously helpful for tuning the agent. Reach out to @peymanr for suggestions.)

# Finding Where
1 🟠 Decode GEMM N=8192,K=2816 at M=1..16 runs untuned torch path: this PR omits low-M rows aiter/configs/model_configs/gemma4_26b_a4b_bf16_tuned_gemm.csv:48

1. 🟠 Should fix: Decode GEMM N=8192,K=2816 at M=1..16 runs untuned torch path: this PR omits low-M rows

aiter/configs/model_configs/gemma4_26b_a4b_bf16_tuned_gemm.csv:48

(N=8192, K=2816) is tuned only at M=32/64/128 in both the tuned and untuned CSVs, while the other non-router shapes start at M=1. For M=1..16, get_GEMM_A16W16_tuned_config finds no row: getPaddedM maps them to 1/2/4/8/16, and none of those rows exist. The skinny default does not apply because N > 2*cu_num. These calls therefore fall back to the generic torch path; results stay correct, only speed is affected. Consider tuning the small-M rows if decode reaches this shape, or note why they are excluded.

Who is affected: gfx950 users of the Gemma-4-26B-A4B config running a bf16 GEMM with N=8192, K=2816 at M<=16 (or M>128).

Checked against the code by an independent pass.

Shared from a pilot of PR Pundit, an agentic code reviewer that builds and tests the change and reads the project's past reviews. Reviewed at e3f8a3f0; findings checked and posted by @peymanr; points already raised on this PR are left out.

@lishuoshuo-amd

Copy link
Copy Markdown
Contributor Author

PR Pundit review

(Testing PR Pundit Code Review agent. Not all comments may be relevant. This is a one-time automated pass: please address what is useful, no need to request a re-review. Please reply to each point, whether it applies or not: we harvest these replies, and both kinds are enormously helpful for tuning the agent. Reach out to @peymanr for suggestions.)

Finding Where

1 🟠 Decode GEMM N=8192,K=2816 at M=1..16 runs untuned torch path: this PR omits low-M rows aiter/configs/model_configs/gemma4_26b_a4b_bf16_tuned_gemm.csv:48

1. 🟠 Should fix: Decode GEMM N=8192,K=2816 at M=1..16 runs untuned torch path: this PR omits low-M rows

aiter/configs/model_configs/gemma4_26b_a4b_bf16_tuned_gemm.csv:48

(N=8192, K=2816) is tuned only at M=32/64/128 in both the tuned and untuned CSVs, while the other non-router shapes start at M=1. For M=1..16, get_GEMM_A16W16_tuned_config finds no row: getPaddedM maps them to 1/2/4/8/16, and none of those rows exist. The skinny default does not apply because N > 2*cu_num. These calls therefore fall back to the generic torch path; results stay correct, only speed is affected. Consider tuning the small-M rows if decode reaches this shape, or note why they are excluded.

Who is affected: gfx950 users of the Gemma-4-26B-A4B config running a bf16 GEMM with N=8192, K=2816 at M<=16 (or M>128).

Checked against the code by an independent pass.

Shared from a pilot of PR Pundit, an agentic code reviewer that builds and tests the change and reads the project's past reviews. Reviewed at e3f8a3f0; findings checked and posted by @peymanr; points already raised on this PR are left out.

Thanks, this one is intentional. These M were tuned (the full tuning grid covered M = 1–16384 for all seven shapes), but no candidate met the keep rule (≥ 3% faster at its own M and ≥ 0.98× at every M it serves), measured with tgemm.mm in a CUDA graph. At M ≤ 16 this shape is bandwidth-bound and the default already streams the 46 MB weight at about 4.7 TB/s; the best FlyDSL rows were 0.99× / 1.01× / 1.01× / 1.00× at M = 1 / 4 / 8 / 16, and M = 2 was 1.015× in the rotated-weight sweep. For larger M the tuner's best was torch itself at M = 1024 / 8192 / 16384, and its FlyDSL picks at M = 2048 / 4096 measured 0.989× / 0.982×. So those M keep the default, with correct results and no slowdown.

@lishuoshuo-amd

Copy link
Copy Markdown
Contributor Author

@demonsan @zufayu Could you re-run the failed CI jobs when you have a moment?

@demonsan

demonsan commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

@demonsan @zufayu Could you re-run the failed CI jobs when you have a moment?

Working on CI Problems. Sorry for the delay. Once it's done, I'll rerun the jobs.

@demonsan
demonsan merged commit d101f47 into ROCm:main Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants