Repository navigation
[Config] [Perf] Tune gfx1250 Kimi K3 TP1 q_b at M3072 - #8703
ZLkanyo009 wants to merge 1 commit into
Conversation
Table-only candidate for targeted current-main validation; no measured main gain claim.
🏷️ 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 |
|
Superseded as the review entry for this tuning batch by #8729 (head Please use the consolidated PR for review of this batch. This source PR remains open for provenance; no merge or closure is performed here, and the two should not be merged independently. |
Add one gfx1250/CU256 Kimi K3 TP1 MXFP8/E8M0 tuning row for
M3072, N18432, K1536. The row selects kernel 1069 (compute_wmma_t256x256x128_mw2_nw2_nb4_sk1_cm4_cn4_ps2) instead of the existing M4096 selection, kernel 1060 (cm4_cn2). Native lookup applies the new row only to M3009-3072; M3008 and M3073 keep their existing selection. No backend or dispatcher code changes.Paired measurements use parent
3fd42598ca239020765f3eb9be84fc5f84cd8d6cand this one-row candidate15bdebaa0c8701789498ecfb779078cc317a333c, with identical backend source. On gfx1250/CU256, native1120 image (sha256:4a4ca99b58fa9a2ea949431cf6063d84532a6c88c6d210cda81d35fbd28c81d0), FlyDSL 0.5.3 and NUMA balancing 0:The BF16-output measurements time the complete native backend with FP8 inputs, E8M0 scales and full TP1 dimensions. Each case uses 78 rotating weight copies (2,208,435,840 bytes), 156 graph calls, seven ABBA rounds and seven A/A controls. Every paired round favors the candidate; maximum absolute null drift is 0.472% at M3009 and 0.587% at M3072. TFLOPS comes from pooled median latency; the paired reduction is a separate median-of-rounds statistic. These are backend measurements at the affected bucket endpoints. Interior M values, public-wrapper cost and model/E2E performance were not timed. CSV measurement cells remain blank to keep this protocol separate from inherited tuning data.
Validation on the exact candidate:
out=APIs pass at M3008/3009/3072/3073 with both BF16 and FP16 output: 32 full-output checks and 1,793,359,872 compared elements, including eager execution and NaN-poisoned graph replay. The actual Python/JIT padding path is exercised; M3073 preserves its existing cluster-M fallback.Tracking: https://github.com/wuhuikx/LLM-Booster/issues/710