Skip to content

Bump CuTeDSL to 4.6.2 - #34372

Merged
ispobock merged 3 commits into
mainfrom
mmangkad/bump-cutedsl-4.6.2
Aug 11, 2026
Merged

ispobock merged 3 commits into
mainfrom
mmangkad/bump-cutedsl-4.6.2

Conversation

@mmangkad

@mmangkad mmangkad commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

This fixes an FA4 startup regression on Blackwell caused by the combination of quack-kernels==0.6.3 and nvidia-cutlass-dsl==4.6.0.

I hit this while starting thinkingmachines/Inkling-Small-NVFP4 with --attention-backend fa4 on SM103. During FlashInfer autotuning, the FA4 relative-bias kernel failed to compile:

error[TYPE_UNSTABLE_JOIN]: `tBrS_cur` has type `None` on one path and `_Tensor` on another
  --> flash_fwd_sm100.py:4336

This started happening because of how the old dependency range resolves:

  • SGLang pinned CuTeDSL 4.6.0 but allowed quack-kernels>=0.6.1.
  • Quack 0.6.1 uses CuTeDSL 4.6.0 and does not include the mixed-constexpr AST rewrite.
  • Quack 0.6.2 introduces the process-wide rewrite, but requires CuTeDSL 4.6.1, so it cannot resolve with SGLang's pin.
  • Quack 0.6.3 relaxes the requirement to ~=4.6.0. This makes Quack 0.6.3 and CuTeDSL 4.6.0 resolvable together and exposes the compiler bug.

The Quack rewrite turns mixed static/dynamic conditions such as:

if const_expr(self.bias_block_size == 128) or tidx < self.bias_block_size:

into nested constexpr and dynamic branches. CuTeDSL 4.6.0 can leak branch-local definitions into join analysis and incorrectly infer tBrS_cur as None | Tensor.

There are two options:

  1. Pin Quack 0.6.1 and keep CuTeDSL 4.6.0.
  2. Move forward to Quack 0.6.4 and CuTeDSL 4.6.2.

This PR takes option 2. Quack 0.6.4 requires CuTeDSL 4.6.2 exactly, and CuTeDSL 4.6.2 includes the branch-scope fix needed by the rewrite.

Modifications

  • Bump nvidia-cutlass-dsl[cu13] from 4.6.0 to 4.6.2.
  • Pin quack-kernels to the matching 0.6.4 release.
  • Keep the main and vendored FA4 package metadata aligned, including the cu13 extra.
  • Remove stale inline guidance telling users to install CuTeDSL 4.2.0.

Test Plan

CI


CI States

Latest PR Test (Base): ✅ Run #31494015852
Latest PR Test (Extra): ✅ Run #31539623631

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file jit-kernel labels Aug 11, 2026
@mmangkad mmangkad added run-ci CI: run the baseline test suite on this PR run-ci-extra CI: also run the extra suite (requires run-ci) labels Aug 11, 2026
@ispobock

Copy link
Copy Markdown
Collaborator

/rerun-test test/registered/models_e2e/test_inkling_small_nvfp4.py

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Results for /rerun-test test/registered/models_e2e/test_inkling_small_nvfp4.py:

🚀 4-gpu-b200 (1 test): ❌ View workflow run

cd test/ && python3 registered/models_e2e/test_inkling_small_nvfp4.py

@ispobock

Copy link
Copy Markdown
Collaborator

The compiling issue is gone.
#34372 (comment) is already fixed in #34405.

@ispobock
ispobock merged commit a3bd7d9 into main Aug 11, 2026
329 of 383 checks passed
@ispobock
ispobock deleted the mmangkad/bump-cutedsl-4.6.2 branch August 11, 2026 16:35
@Fridge003 Fridge003 added the release-highlight Candidate PR for release note highlight label Aug 11, 2026
vstone-w pushed a commit to ClownBin/sglang that referenced this pull request Aug 12, 2026
saturn-acc pushed a commit to saturn-acc/sglang that referenced this pull request Aug 16, 2026
Atituiset pushed a commit to Atituiset/sglang that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bypass-fastfail dependencies Pull requests that update a dependency file high priority jit-kernel release-highlight Candidate PR for release note highlight run-ci CI: run the baseline test suite on this PR run-ci-extra CI: also run the extra suite (requires run-ci)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants