Skip to content

configs: tune gfx1201 Qwen3-8B-FP8 blockscale GEMMs - #3484

Merged
valarLip merged 1 commit into
mainfrom
gfx1201-qwen3-8b-fp8-gemm-configs
Jun 2, 2026
Merged

valarLip merged 1 commit into
mainfrom
gfx1201-qwen3-8b-fp8-gemm-configs

Conversation

@chuanbowang2026

Copy link
Copy Markdown
Contributor

Summary

Shapes

  • N=24576,K=4096 gate/up
  • N=4096,K=12288 down
  • N=6144,K=4096 qkv
  • N=4096,K=4096 out

Test result

Measured through ATOM Qwen3-8B-FP8 serving on RX 9070 XT / gfx1201, BF16 KV, TP=1, --level 0, ISL/OSL=549/256.

Concurrency Baseline output tok/s Tuned output tok/s Baseline total tok/s Tuned total tok/s Tuned TTFT Tuned TPOT
1 49.55 51.96 158.04 165.74 197.8 ms 18.46 ms
4 141.65 177.99 448.06 563.02 249.0 ms 20.95 ms
8 226.20 275.54 715.72 871.81 1190.8 ms 22.03 ms

Notes

  • Profiling showed GEMM dominates Qwen3-8B-FP8 on gfx1201: ~82% of decode GPU kernel time and ~96% of prefill GPU kernel time.
  • A dynamic fused Silu+quant experiment was slower on gfx1201, so this PR keeps the optimization limited to tuning configs.

Add shape-specific GEMM-A8W8_BLOCKSCALE_PRESHUFFLED configs for Qwen3-8B-FP8 hot paths on gfx1201, covering decode and prefill.
@chuanbowang2026
chuanbowang2026 requested a review from a team June 2, 2026 09:45
@github-actions

github-actions Bot commented Jun 2, 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:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
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: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
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 3484 --add-label <label>

@valarLip
valarLip merged commit 680b738 into main Jun 2, 2026
65 of 66 checks passed
@valarLip
valarLip deleted the gfx1201-qwen3-8b-fp8-gemm-configs branch June 2, 2026 13:06
amirumoAMD pushed a commit that referenced this pull request Jun 2, 2026
Add shape-specific GEMM-A8W8_BLOCKSCALE_PRESHUFFLED configs for Qwen3-8B-FP8 hot paths on gfx1201, covering decode and prefill.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants