Repository navigation
[FlyDSL] [CI] [Build] Pin FlyDSL to v0.5.5 - #8460
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 |
d001e9f to
f22be23
Compare
Co-Authored-By: Claude <[email protected]> Co-authored-by: Cursor <[email protected]>
SplitKProtocol.zero_c writes the bias (or zeros) into C through inline-asm global_store_dwordx4. The hazard recognizer cannot see into inline asm, and on gfx950 a VALU needs two wait states before it may overwrite the data VGPRs of a wide store. With FlyDSL 0.5.5's LLVM the next VALU rewrote the first data VGPR one wait state after the store, so element 0 of some vectors lost its bias and the fp32 split-K output with bias and k_stagger failed the exact K tile coverage check in test_flydsl_hgemm.py. Append s_nop 1 to the fp32 and bf16 dwordx4 inline stores. Co-Authored-By: Claude <[email protected]> Co-authored-by: Cursor <[email protected]>
f22be23 to
f3cc4d1
Compare
FlyDSL 0.5.5 adds amdgpu-agpr-alloc=0 to gfx90a/gfx94x/gfx95x kernels whose minimum waves-per-EU is >= 2 unless the kernel sets the attribute. The 320-thread cooperative QKV front kernel qualifies, but its inline-asm MFMAs keep their accumulators in AGPRs (=a), so register allocation failed with "no registers from class available to allocate" and the QKV_FRONT AOT replay failed. Set amdgpu-agpr-alloc to the 4 * NI * RT AGPRs the accumulators need, the same counts LLVM inferred under FlyDSL 0.5.4. Co-Authored-By: Claude <[email protected]> Co-authored-by: Cursor <[email protected]>
…-reverse-local-assignment New LLVM spills the main loop of large 512-thread / waves_per_eu=2 kernels. Enable greedy-reverse-local-assignment per kernel via compile_hints: - mxfp8_gemm_8wave: 4096x65536x1536 556us -> 432us (0.5.3: 436us) - moe_2stage_a16wmix gemm1 (moe_a16wfp4): ~6% regression removed - conv3d_implicit gfx950, dense (groups == 1) only; _dispatch now honours the per-kernel compile_hints instead of the global CONV_COMPILE_HINTS Co-authored-by: Cursor <[email protected]>
…peline With the new LLVM the synchronous buffer_load...lds makes SIInsertWaitcnts put a vmcnt(0) before the scale ds_read inside the main loop. The loop already drains with s_waitcnt(0) before the barrier, so the async atoms are safe here. 1024x7168x16384 mxfp8 (flydsl_mxpsh_128x128x256): 0.5.5 156.9us -> 138.7us, 0.5.3 148.3us -> 141.8us. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
c00c42d to
e75c3f4
Compare
Conflict in gemm_a16w16_gfx950_utils.py vs ROCm#8460: main adds an s_nop 1 after the inline-asm global_store_dwordx4 in store_global_f32_vec and in SplitKProtocol.zero_c. This branch removes both (no zero-init of C, no atomic split-K store); its workspace and C stores go through BufferCopy128b and write_cshuffle_vec_to_global, which LLVM emits and pads itself. No inline-asm store is left in the A16W16 kernel, so the branch side is kept. gptoss_bf16_tuned_gemm.csv merges cleanly: the branch's gfx950 rows plus main's 14 gfx1250 rows from ROCm#8862, no duplicate keys. Co-authored-by: Claude <[email protected]> Signed-off-by: Andreas Karatzas <[email protected]>
Summary
Motivation
Changes
Performance (if applicable)
Testing
Documentation
Dependencies
Breaking Changes
PR Self-Review
Reviewed revision
Behavior and intent
Validation and unverified scope
PR-specific question
Changed op tests