Skip to content

[CI] [Build] Bump FlyDSL pin to v0.5.2: hotfix gfx1250 perf regression of 0.5.1 - #8450

Merged
coderfeli merged 1 commit into
mainfrom
fix/flydsl-0.5.2-gfx1250-hotfix
Nov 22, 2026
Merged

coderfeli merged 1 commit into
mainfrom
fix/flydsl-0.5.2-gfx1250-hotfix

Conversation

@coderfeli

Copy link
Copy Markdown
Collaborator

Hotfix: gfx1250 perf regression of FlyDSL 0.5.1

This bumps the FlyDSL pin from 0.5.1 to 0.5.2 in setup.py, requirements.txt, pyproject.toml and .github/requirements/triton-test.txt.

Problem

FlyDSL 0.5.1 shipped an LLVM change (ROCm/FlyDSL#1368) that keeps strict sched_vgpr exact-register pins as pseudos through register allocation. When the pinned value has other uses, RA gives the value and its pinned copy one register each.

The gfx1250 MXFP4 MoE prefill kernel hits this. That kernel is mxfp4_preshuffle_gfx1250_tdm (a4w4, tile 256x256x256, 2x2 waves), and its explicit VGPR partition place_vgpr pins A/B slots to v256+.

FlyDSL VGPR spill scratch
0.5.0 0 0
0.5.1 16 68 B (8 scratch ops)
0.5.2 0 0

These numbers are for the DSV3 shapes (K=7168, stage1 N=6144, stage2 K=3072), and the same in stage1 and stage2. Each version was compiled from the PyPI wheel with COMPILE_ONLY=1 FLYDSL_GPU_ARCH=gfx1250 against this branch. With 0.5.2 the kernel ISA is identical to 0.5.0, instruction for instruction (0 differing lines in stage1 and stage2).

Fix

FlyDSL 0.5.2 reverts the change (ROCm/FlyDSL#1477). The LLVM patch is back to its 0.5.0 version.

No aiter code changes. aiter always passes regnum to sched_vgpr, so the API change in the revert does not affect it.

🤖 Generated with Claude Code

…ssion of 0.5.1

FlyDSL 0.5.1 shipped an LLVM change (FlyDSL #1368) that keeps strict
sched.vgpr exact-register pins as pseudos through register allocation. On
gfx1250 this makes the MXFP4 MoE prefill kernel (mxfp4_preshuffle_gfx1250_tdm,
256x256x256, 2x2 waves, explicit VGPR partition) spill 16 VGPRs (68 B
scratch) in both stage1 and stage2, where 0.5.0 had no spills.

FlyDSL 0.5.2 reverts that change (FlyDSL #1477). Compiling the kernel with
the 0.5.0 LLVM patch, which is what 0.5.2 ships, gives 0 spills again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderfeli
coderfeli requested a review from a team November 22, 2026 13:23
@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 8450 --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] Bump FlyDSL pin to v0.5.2: hotfix gfx1250 perf regression of 0.5.1 [CI] [Build] Bump FlyDSL pin to v0.5.2: hotfix gfx1250 perf regression of 0.5.1 Nov 22, 2026
@aiter-bot

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision 4acaa584229d · 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 — missing ### Reviewed revision in the PR description
  • FAIL — missing ### Behavior and intent in the PR description
  • FAIL — missing ### Validation and unverified scope in the PR description
  • FAIL — missing ### PR-specific question in the PR description
  • FAIL — missing ### Changed op tests in the PR description
  • 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.

@coderfeli

Copy link
Copy Markdown
Collaborator Author

Force merged in case of 1250 regression.

@coderfeli
coderfeli merged commit 183a6ce into main Nov 22, 2026
48 of 51 checks passed
@coderfeli
coderfeli deleted the fix/flydsl-0.5.2-gfx1250-hotfix branch November 22, 2026 13:52
josh-schell-amd added a commit to josh-schell-amd/vllm that referenced this pull request Nov 25, 2026
Go back to building AITER from source and pin the v0.1.30.post1
candidate: v0.1.30 plus ROCm/aiter#8450 and vllm-project#8467 (FlyDSL 0.5.3),
tagged v0.1.30-post1-rc1 on a fork until ROCm/aiter cuts the release.
This replaces the TEMPORARY flydsl overlay. The switch to AMD's
prebuilt wheel moves to its own PR.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: josh schell <[email protected]>
josh-schell-amd added a commit to josh-schell-amd/vllm that referenced this pull request Nov 29, 2026
Go back to building AITER from source and pin the v0.1.30.post1
candidate: v0.1.30 plus ROCm/aiter#8450 and vllm-project#8467 (FlyDSL 0.5.3),
tagged v0.1.30-post1-rc1 on a fork until ROCm/aiter cuts the release.
This replaces the TEMPORARY flydsl overlay. The switch to AMD's
prebuilt wheel moves to its own PR.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: josh schell <[email protected]>
vgokhale pushed a commit that referenced this pull request Dec 1, 2026
* [FlyDSL] [Build] Bump FlyDSL pin to v0.5.2: hotfix gfx1250 perf regression of 0.5.1 (#8450)

(cherry picked from commit 183a6ce)

* [FlyDSL] [Build] Bump FlyDSL pin to v0.5.3, drop the export_to_c strip (#8467)

FlyDSL v0.5.3:
- Tags fly-emit-gpu-binary output as `bin` again (ROCm/FlyDSL#1480), so the
  compiled module prints `bin = "\7FELF..."` as it did before v0.5.2.
- Builds the embedded AOT runtime with -g0 (ROCm/FlyDSL#1465), so
  export_to_c objects no longer carry its ~240 KB of DWARF. The
  objcopy --strip-debug after each export is no longer needed: a v0.5.3
  export has no .debug_* sections.

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 2eb9ef3)

---------

Co-authored-by: Felix Li <[email protected]>
Co-authored-by: Claude Opus 5.5 <[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.

2 participants