Repository navigation
[Config] [Tuning] Add Kimi-K3 gfx950 BF16 decode rows for qkv_a+gate a… - #7515
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
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 |
b3371e9 to
181ce4e
Compare
…nd context_kv_proj
181ce4e to
8e33133
Compare
Purpose
On gfx950, two Kimi-K3 decode GEMMs, qkv_a+gate and context_kv_proj, defaults to hipblast.
[M,7168] x [7168,3648](q_a 1536 + kv_a 576 + gate 1536), 24 calls per decode step.[M,7168] x [7168,2880](5 layers x kv_a 576), 1 call per decode step.This PR adds 10 gfx950 FlyDSL hgemm rows: M = 8, 16, 32, 64, 128 for each shape.
| Kernel | Before (us) | After (us) | Δ |
|---|---|---|---|---|
| qkv_a+gate 3648x7168: hipBLASLt
MT32x64x256-> FlyDSLt64x128x64x4| 19.68 | 15.68 | -20.3% || context_kv_proj 2880x7168: hipBLASLt
MT32x64x256-> FlyDSLt64x96x128x3| 19.68 | 12.00 | -39.0% || Both GEMMs, 80-step total | 44.9 ms | 31.2 ms | -30.5% |
Test Plan
Server command:
Bench Command:
Test Results
qkv_a+gate


before:
after:
context_kv_proj


before:
after: