Skip to content

[FlyDSL] [CI] [Build] Pin FlyDSL to v0.5.5 - #8460

Merged
coderfeli merged 9 commits into
mainfrom
jli/update-flydsl
Dec 3, 2026
Merged

coderfeli merged 9 commits into
mainfrom
jli/update-flydsl

Conversation

@jli-melchior

Copy link
Copy Markdown
Contributor

Summary

Motivation

Changes

Performance (if applicable)

Hardware Workload/configuration Before After Change

Testing

  • Unit tests added or updated
  • Performance benchmarks run
  • Tested on MI250X
  • Tested on MI300X

Documentation

  • Docstrings updated
  • User guide updated
  • Performance guide updated
  • No documentation change is needed, with the reason stated below

Dependencies

  • No new third-party dependencies added
  • New dependencies are listed and justified below

Breaking Changes

PR Self-Review

Reviewed revision

Behavior and intent

Validation and unverified scope

PR-specific question

Changed op tests

@jli-melchior
jli-melchior requested a review from a team November 23, 2026 02:16
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter standard tests on MI35X
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:mi300x Run Aiter standard tests on MI300X in PRs; main branch always runs them
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the Radeon R9700 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 8460 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

Reviews:
A reviewer is usually assigned within one working day after the PR is ready for review (see Code Review Process). If nobody has responded for about a week, mention the area contact listed in CONTACTS.md. Want to help review? See REVIEWERS.md.

@github-actions github-actions Bot changed the title [FlyDSL] [Build] Pin FlyDSL to v0.5.1.dev1065 [Build] Pin FlyDSL to v0.5.1.dev1065 Nov 23, 2026
@github-actions github-actions Bot added the Build label Nov 23, 2026
@aiter-bot

aiter-bot commented Nov 23, 2026 •

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision e75c3f478735 · mode shadow

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

  1. What behavior does this PR change, and why is the existing behavior insufficient?
  2. What did you validate, and what remains unverified? Include commands, hardware/configuration and results.
  3. What permissions and untrusted-input boundary does this CI change have, and can fork PR code or text reach a privileged execution path?
  4. For every changed op_tests/ file, what behavior does it cover and why is it not redundant? Write None if no op test changed.

Edit the PR Self-Review section in the PR description. Include the current revision SHA; this comment refreshes automatically.

Missing or invalid answers

  • FAIL — Reviewed revision must contain at least the first 7 characters of the current head SHA
  • FAIL — Behavior and intent has no substantive answer
  • FAIL — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

@jli-melchior jli-melchior changed the title [Build] Pin FlyDSL to v0.5.1.dev1065 [Build] Pin FlyDSL to v0.5.4\ Nov 23, 2026
@jli-melchior jli-melchior changed the title [Build] Pin FlyDSL to v0.5.4\ [Build] Pin FlyDSL to v0.5.4 Nov 23, 2026
@zufayu
zufayu requested a review from valarLip November 24, 2026 01:15
jli-melchior and others added 2 commits November 30, 2026 03:30
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]>
@github-actions github-actions Bot changed the title [Build] Pin FlyDSL to v0.5.4 [FlyDSL] [Build] Pin FlyDSL to v0.5.4 Nov 30, 2026
@jli-melchior jli-melchior changed the title [FlyDSL] [Build] Pin FlyDSL to v0.5.4 [FlyDSL] [Build] Pin FlyDSL to v0.5.5 Nov 30, 2026
jli-melchior and others added 2 commits November 30, 2026 13:53
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]>
@github-actions github-actions Bot changed the title [FlyDSL] [Build] Pin FlyDSL to v0.5.5 [FlyDSL] [CI] [Build] Pin FlyDSL to v0.5.5 Nov 30, 2026
@github-actions github-actions Bot added the CI label Nov 30, 2026
jli-melchior and others added 4 commits December 1, 2026 09:57
…-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]>
@coderfeli
coderfeli merged commit 04eff71 into main Dec 3, 2026
141 of 158 checks passed
@coderfeli
coderfeli deleted the jli/update-flydsl branch December 3, 2026 02:01
AndreasKaratzas added a commit to AndreasKaratzas/aiter that referenced this pull request Dec 3, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants