Repository navigation
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
Use single-split MFMA16 Triton configurations across the five validated families and ASM256 for large Qwen, GLM and decode batches. Keep every dispatched bucket in the same numerical family without optional backends. Cover ceiling boundaries, permutations, padding, independent input copies, output canaries and graph replay across three seeds. Preserve normal reference tolerances and bound wide-exponent accumulation error against FP64. Also check direct Triton BF16 and FP16 calls.
Restore the validated decode tile only at M=256, preserving the M<=255 path. Use the screened 32x32x128 router tile for M=513..2048. Keep the numerical family, reference tolerances, and large-batch routes unchanged.
The same GLM-5.3 token can get different BF16 projections when the batch size changes. Select compatible kernel families before per-M speed tuning for five
(N,K)shapes on gfx950/256 CUs.Differing output values versus the same rows at M=8192 (seed 0, MI350X):
Use compatible non-split Triton and ASM kernels across M buckets. Select the next marked bucket, or the last for larger batches. Shared Qwen/Q3VL rows are updated in place; this applies to all matching shapes, regardless of model.
Warm-cache GPU-graph latency on MI350X: main at
2bafed472versus this PR.Accurate kernels should be the default. Faster variants that trade accuracy or required batch consistency for speed must require explicit user opt-in and documented, validated error bounds. Kernels with severe numerical errors must never be selectable, even by opt-in.
The mismatch counts above measure batch-size drift, not error magnitude against a numerical reference.