Repository navigation
[Config] Add three gfx1250 K3 DSpark prefill and decode tuning rows - #8677
ZLkanyo009 wants to merge 1 commit into
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 |
|
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 three DSpark tuned rows for gfx1250/CU256 so
o_projanddownat M384, andkv_bat M64, select existing main kernels instead of the default fallback. The change adds only three CSV rows on main7f1f7d159e2c2fd0a7aa3a8e47c6d2d23fb7416c; it changes no kernel implementation. CSV measurement cells remain blank; the paired main measurements below are recorded separately.Local source checks match each exact kernel name to the main catalog and confirm its shape constraints. The complete default table populations have 4,217 MX and 4,959 PTPC keys, with no duplicate keys or unrelated row changes. Kernel IDs were resolved against main rather than copied from the dev branch.
The exact main candidate
dff7809da2ac0ddda04ef3590fb1a98bc47d5721has now passed native default-table and public GPU correctness checks on gfx1250/CU256, NUMA0, fixed native1120 image and FlyDSL 0.5.3:gemm_a8w8_bpreshuffle_outAPI rejects gfx1250 and was not bypassed.Numerical acceptance uses rtol=atol 0.01 and a maximum allowed mismatch ratio of 5%. Observed maximum mismatch ratios were 1.031455% for MX and 0.123724% for PTPC; maximum absolute errors were 128 and 64 respectively. These are passing tolerance checks with nonzero mismatches, not bit-exact equality. Every stage exited 0, its exact container was removed, and no new matching GPU faults appeared in the retained log intervals.
Paired main performance is complete for eight exact shapes on the same gfx1250/CU256, NUMA0, native1120 and FlyDSL 0.5.3 configuration, with FP8 inputs and BF16 outputs. Both arms run in the same candidate-source process at
dff7809da2ac0ddda04ef3590fb1a98bc47d5721. Separate native CPU default-table/lookup checks bind the parent-selected backend from frozen main7f1f7d159e2c2fd0a7aa3a8e47c6d2d23fb7416cand the candidate-selected backend. This is a same-source isolated complete-backend comparison, not two branch executions, public-default-route timing, or model/E2E timing.The timed calls include the complete native backend; quantization and reference generation are outside timing. Each case rotates distinct weight/scale storage of at least 2.2 GB and uses CUDA graph events with seven ABBA paired rounds and seven A/A null rounds. The latency columns are medians of 14 samples per arm; the reduction is the median of seven paired-round reductions. All paired rounds favored the candidate, and every median reduction exceeded its maximum absolute A/A drift.
The MX comparison changes the parent fallback
compute_wmma_t256x256x128_mw2_nw2_nb4_sk1_cm2_cn4tocompute_wmma_t128x128x128_mw2_nw2_nb4_sk1_cm1_cn4. PTPC changeswmma_t64x512x256_mw1_nw4_nb2_sk1_cm1_cn1towmma_t64x128x256_mw1_nw4_nb2_sk1_cm1_cn1. These are existing kernels selected by the rows; each configuration has split-K 1.The timing inputs also passed 32 full-output endpoint checks across eight cases, including eager and NaN-poisoned graph replay. Their maximum MX mismatch ratio was 1.021419%; PTPC had zero mismatches under the stated tolerances for these timing samples. This does not change the nonzero mismatch results of the broader public-correctness matrix above or establish bit-exact equality.
Earlier selection experiments on dev
a3005ac8abc7d230df9f98d49a5e512190d2c4ceremain historical evidence. The table reports fresh measurements of the frozen main candidate and its CPU-bound parent choices. Performance coverage is limited to these eight measured M values; no unmeasured bucket-wide or model/E2E gain is claimed.