Skip to content

[Feat] [AMD] linear-attn: Add FlyDSL GDN prefill backend - #39595

Merged
HaiShaw merged 46 commits into
sgl-project:mainfrom
chuyeh:feat/flydsl-gdn-e2e-0915
Nov 27, 2026
Merged

HaiShaw merged 46 commits into
sgl-project:mainfrom
chuyeh:feat/flydsl-gdn-e2e-0915

Conversation

@chuyeh

@chuyeh chuyeh commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

AITER ships fused FlyDSL implementations of the GDN prepare stages and the K5 state scan for AMD gfx95. Qwen3.5-397B has 45 Gated DeltaNet layers, and at TP4 each rank runs them with 4 key heads, 16 value heads and K=V=128. On those shapes the FlyDSL path runs a prefill batch 1.4-1.74x faster than SGLang's Triton GDN prefill.

This PR exposes that path as an opt-in prefill backend:

--linear-attn-prefill-backend flydsl

Decode and speculative verification stay on Triton. The backend requires gfx95 and is rejected with deterministic inference or multi-item scoring. It also serves batches that track Mamba state for the radix cache, so it stays active with radix cache on (e.g. AgentX). It falls back to Triton for unsupported input/state shapes, mixed batches, and graph-planned paths.

Modifications

  • Register flydsl in the linear-attention backend enum and CLI choices.
  • Add FlyDSLGDNKernel, which runs AITER's FlyDSL prepare, FlyDSL K5 state scan, and output stages.
    • Calls the stages directly instead of chunk_gated_delta_rule_opt_vk, which only returns (o, final_state). Radix-cache Mamba tracking needs the per-chunk states h, so the adapter keeps them.
    • Uses SGLang's native [N, H, V, K] state pool with indexed in-place updates, reuses the caller-provided output buffer, and remaps DP-attention padding indices to the pool's padding slot once per batch.
    • use_exp2=True (FlyDSL's fused prepare owns the gate cumsum). Recurrent state follows --mamba-ssm-dtype; per-chunk snapshots are bf16.
    • Requires AITER with the gated_delta_net module layout (cf89ffd76, 2026-09-29) or later, which covers main's pin and the -20261020 ROCm image.
  • Build AITER's prefill schedule once per eligible forward batch (init_forward_metadata) and pass it through forward_extend so every GDN layer reuses it.
  • Gate dispatch on SGLANG_USE_AITER and gfx95; reject FlyDSL for decode and verify.
  • Unit tests for CLI registration, backend validation (via GDNAttnBackend.__init__), dispatch, schedule flow into the kernel, padding-index remap, and Triton fallback (test_gdn_prefill_backend_policy.py, 27 passed).

Accuracy Tests

Qwen3.5-397B-A17B-MXFP4, TP4, real EAGLE MTP, 200 GSM8K questions, five-shot chat template with thinking disabled:

Configuration Triton prefill FlyDSL prefill
Radix cache on (state tracking active) 0.975 0.970
Radix cache off 0.985 0.980

One answer apart in both modes, which is within sampling resolution at 200 questions. Both arms move together between modes. The radix-off row predates the switch to calling AITER's stages directly; kernel numerics are unchanged by it.

Kernel-level comparison of FlyDSLGDNKernel.extend against TritonGDNKernel.extend on MI355X, TP4 (Hq=4, Hv=16) and TP2 (Hq=8, Hv=32) shapes, K=V=128, BF16 Q/K/V, BF16 and FP32 state, mixed-length batches up to 16K tokens and a padding row:

  • output max abs diff <= 9.77e-4
  • final state <= 7.84e-3
  • per-chunk states h <= 1.56e-2 (same shape and chunk order as Triton's; about one bf16 step)
  • state slots outside the batch unchanged

Qwen3.8-Flash-Next, TP1, same image and tree as the AgentX runs below. FlyDSL vs Triton on Qwen3.8-Flash-Next TP1 shapes (Hq=16, Hv=48): output max abs diff 4.9e-4, final state 7.8e-3, other state slots untouched.

GSM8K with InferenceX's lm-eval (all 1319 questions, five-shot, chat completions), strict match: Triton 0.9765 ± 0.0042, FlyDSL 0.9780 ± 0.0040. Two questions apart, well inside one standard error.

Benchmarking and Profiling

Common setup:

  • Hardware: MI355X (gfx950), Qwen3.5-397B-A17B-MXFP4, AITER attention and MoE, FP8 E4M3 KV cache, page size 16, EAGLE 3 / 1 / 4.
  • Images: fixed-length runs use rocm/sgl-dev:v0.5.19-rocm720-mi35x-20260913 with radix cache off and BF16 SSM; AgentX images are listed under AgentX benchmark.
  • Variance is the larger of the two arms' run-to-run spreads. Bold changes are larger than their variance; the rest are noise.

GDN prefill microbenchmark

One prefill batch through all 45 GDN layers, TP4 per-rank shapes, wall time including the per-batch schedule build:

Extend tokens Triton (ms) FlyDSL (ms) Change
1x1024 9.37 6.67 −28.8%
1x4096 10.55 6.72 −36.3%
4096+4096+2000+512 14.89 10.20 −31.5%
1x8192 19.11 10.98 −42.6%
1x16384 37.00 25.53 −31.0%

Below ~4K tokens both are launch-bound, so a batch saves ~3-4 ms. A 70K prompt is five 16384-token chunks and saves about 57 ms.

Fixed-length serving

  • InferenceX serving client, TP4, 70000-token input / 300-token output, radix cache disabled (--disable-radix-cache).
  • 3 runs per arm: 60 requests at concurrency 1, 240 at concurrency 4 and 8.
  • Concurrency 1 ran on the merged head; 4 and 8 on 2b0f3e2992, the same backend before a main merge.
Concurrency Metric Triton FlyDSL Change Variance
1 TTFT p50 / p90 (ms) 1751 / 1766 1688 / 1703 −3.60% / −3.55% 0.90% / 1.32%
1 E2E p50 / p90 (ms) 2938 / 3028 2866 / 2942 −2.46% / −2.84% 0.93% / 0.30%
1 Total throughput (tok/s) 23928 24617 +2.88% 0.54%
4 TTFT p50 / p90 (ms) 3663 / 4345 3532 / 4245 −3.56% / −2.31% 1.1% / 9.9%
4 E2E p50 / p90 (ms) 8246 / 9171 7959 / 9492 −3.48% / +3.50% 1.4% / 11.8%
4 Total throughput (tok/s) 33986 35222 +3.64% 1.3%
8 TTFT p50 / p90 (ms) 3436 / 4832 3280 / 4619 −4.56% / −4.41% 1.5% / 5.4%
8 E2E p50 / p90 (ms) 14591 / 16936 14141 / 17095 −3.09% / +0.94% 0.8% / 5.2%
8 Total throughput (tok/s) 38403 39665 +3.29% 0.8%

Median TTFT and E2E drop 2.5-4.6% and throughput rises ~3% at every concurrency. The 63 ms TTFT saving at concurrency 1 matches the 57 ms predicted above. At concurrency 4 and 8 the P90 tail is set by prefill queueing and stays inside its 5-12% variance.

AgentX benchmark

  • MI355X, MTP, one configuration at a time with nothing else on the node. Each point is two 3600 s runs per arm on semianalysis_cc_traces_weka_062126_256k, in the order Triton, FlyDSL, FlyDSL, Triton; each value is the mean of an arm's two runs. Within a point both arms use the same commit and differ only in --linear-attn-prefill-backend. Not official InferenceX results.
  • Qwen3.5-397B-A17B-MXFP4 (amd/Qwen3.5-397B-A17B-MXFP4; upstream now uses the AttnFP8-V2 checkpoint, same GDN dimensions): recipe qwen3.5_fp4_mi355x_sglang_mtp.sh, client aiperf profile --scenario inferencex-agentx-mvp, 0 failed requests. TP4 (c4 on 67fc5b96, c16 on 93f3073fe9) uses rocm/sgl-dev:v0.5.19-rocm720-mi35x-20260915 with no KV offload. TP2 (fba97a0033) uses rocm/sgl-dev:v0.5.22-rocm724-mi35x-20261020 with HiCache DRAM (--hicache-ratio 1.5, write-through).
  • Qwen3.8-Flash-Next (amd/Qwen3.8-Flash-Next-Quark-MXFP4-AttnFP8-PLEFP8), TP1: server and client args from InferenceX upstream (qwen3.8next/sglang/mi355x-fp4-mtp/agentic.yaml at 1f8cf90a7), client infx.bench agentic (agentx-harness 1.0.14), image lmsysorg/sglang-rocm:v0.5.23-rocm10-mi35x-20261110, tree b8b631c903 (this PR's changes are unchanged since; the head now also merges main at 7f8f1351b8). c48 runs with HiCache DRAM, c4 and c16 without offload.

Qwen3.5, TP4, concurrency 16:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 4.41 / 6.26 4.38 / 6.13 −1% / −2%
TTFT p50 / p90 (ms) 832 / 1419 823 / 1386 −1% / −2%
E2E p50 / p90 (s) 2.52 / 11.53 2.48 / 11.53 −1% / ~0
Requests completed in 3600 s 2923 2934 ~0
Output throughput (tok/s) 761 762 ~0
Total throughput (tok/s) 87524 87736 ~0
Interactivity p50 / p90 (tok/s/user) 227 / 160 229 / 163 +1% / +2%

Qwen3.5, TP2, concurrency 40, with HiCache:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 13.39 / 28.25 13.07 / 27.38 −2% / −3%
TTFT p50 / p90 (ms) 1827 / 5108 1804 / 4967 −1% / −3%
E2E p50 / p90 (s) 8.61 / 43.21 8.41 / 41.63 −2% / −4%
Requests completed in 3600 s 4619 4672 +1%
Output throughput (tok/s) 1223 1236 +1%
Total throughput (tok/s) 137081 138609 +1%
Interactivity p50 / p90 (tok/s/user) 75 / 35 77 / 37 +2% / +3%

Qwen3.8-Flash-Next, TP1, concurrency 16, no KV offload:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 12.11 / 21.54 11.88 / 21.41 −2% / −1%
TTFT p50 / p90 (ms) 494 / 1622 488 / 1634 −1% / +1%
E2E p50 / p90 (s) 5.03 / 27.06 4.98 / 27.27 −1% / +1%
Requests completed in 3600 s 2334 2364 +1%
Output throughput (tok/s) 569 582 +2%
Total throughput (tok/s) 63604 65074 +2%
Interactivity p50 / p90 (tok/s/user) 83 / 46 84 / 47 +2% / +1%

Qwen3.8-Flash-Next, TP1, concurrency 48, with HiCache:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 28.57 / 44.70 28.59 / 44.59 ~0 / ~0
TTFT p50 / p90 (ms) 772 / 2154 772 / 2037 ~0 / −5%
E2E p50 / p90 (s) 11.73 / 62.75 11.61 / 61.87 −1% / −1%
Requests completed in 3600 s 4542 4553 ~0
Output throughput (tok/s) 1113 1111 ~0
Total throughput (tok/s) 123597 124531 +1%
Interactivity p50 / p90 (tok/s/user) 35 / 22 35 / 22 ~0 / ~0

Neutral to slightly better at every point, and nothing regresses beyond the spread. Qwen3.5 gains the most at TP2 c40, the most loaded point: TPOT −2-3%, P90 E2E −4%, interactivity +2-3%. At TP4 c16 it's about 2% on P90 TPOT and interactivity. Qwen3.8-Flash-Next moves less: 1-2% on c16 median latency, 1% on c48 median E2E and total throughput. TPOT and interactivity move because decode waits while a prefill batch runs, and FlyDSL shortens those batches. TTFT mostly stays within the spread because 83-91% of prompt tokens hit the prefix cache, so a typical prefill batch has only a few thousand new tokens (Qwen3.8-Flash-Next computes only about 1.6K, 6.0K and 10.1K new prompt tokens/s at c4, c16 and c48).

Lower-load points: Qwen3.5 TP4 c4 and TP2 c36, Qwen3.8-Flash-Next c4

Qwen3.5, TP4, concurrency 4:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 3.89 / 4.62 3.90 / 4.65 ~0 / +1%
TTFT p50 / p90 (ms) 539 / 1017 550 / 1016 +2% / ~0
E2E p50 / p90 (s) 2.00 / 10.22 1.96 / 10.03 −2% / −2%
Requests completed in 3600 s 960 972 +1%
Output throughput (tok/s) 254 255 ~0
Total throughput (tok/s) 23387 23711 +1%
Interactivity p50 / p90 (tok/s/user) 257 / 216 256 / 215 ~0 / −1%

Qwen3.5, TP2, concurrency 36, with HiCache:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 11.51 / 24.48 11.49 / 25.40 ~0 / +4%
TTFT p50 / p90 (ms) 1613 / 4820 1630 / 4817 +1% / ~0
E2E p50 / p90 (s) 7.56 / 40.84 7.63 / 39.57 +1% / −3%
Requests completed in 3600 s 4362 4370 ~0
Output throughput (tok/s) 1138 1146 +1%
Total throughput (tok/s) 130382 130607 ~0
Interactivity p50 / p90 (tok/s/user) 87 / 41 87 / 39 ~0 / −4%

Qwen3.8-Flash-Next, TP1, concurrency 4, no KV offload:

Metric Triton FlyDSL Change
TPOT p50 / p90 (ms) 5.67 / 8.09 5.62 / 8.02 −1% / −1%
TTFT p50 / p90 (ms) 334 / 1020 326 / 920 −3% / −10%
E2E p50 / p90 (s) 2.22 / 16.94 2.18 / 17.54 −2% / +4%
Requests completed in 3600 s 717 722 +1%
Output throughput (tok/s) 204 206 +1%
Total throughput (tok/s) 19001 19028 ~0
Interactivity p50 / p90 (tok/s/user) 176 / 124 178 / 125 +1% / +1%

Only P90 E2E at TP2 c36 (−3%) is beyond the spread in these tables. Every other change is within it.

Checklist

Review and Merge Process

  1. Ping Merge Oncalls to start the process. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments or contact authorized users to do so.
    • Common commands include /tag-and-rerun-ci, /tag-run-ci-label, /rerun-failed-ci
  4. After green CI and required approvals, ask Merge Oncalls or people with Write permission to merge the PR.

CI States

Latest PR Test (Base): ⏳ Run #45837557150
Latest PR Test (Extra): ⊘ Skipped -- add the run-ci-nv-extra label to opt in.
Latest PR Test (AMD ROCm 10): ✅ Run #45837566220

Tip

Base CI only covers the core cases, and its workload may not exercise your change. Use /rerun-test to run the tests your change touches, or copy this prompt for an agent:

Find the registered tests this PR affects and run them with /rerun-test, following https://github.com/sgl-project/sglang/blob/main/.agents/skills/rerun-test/SKILL.md

Expose AITER's fused FlyDSL prepare and state-scan path as a safe gfx95 prefill-only backend with reusable metadata and Triton fallbacks.

Co-authored-by: Cursor <[email protected]>
@chuyeh
chuyeh marked this pull request as ready for review September 15, 2026 12:24
@yichiche yichiche added the run-ci CI: run the baseline test suite on this PR label Sep 16, 2026
Resolve two conflicts against main:

- gdn_backend.py: main added its own init_forward_metadata_out_graph
  override, so keeping both sides would have defined the method twice and
  silently shadowed main's target-verify QKV routing. Fold the FlyDSL
  prefill-metadata reset into main's override instead and keep main's
  routing helpers unchanged.
- test_gdn_prefill_backend_policy.py: import-only conflict; keep main's
  single-line MambaAttnBackendBase import alongside the backend-choices
  import.

Co-authored-by: Cursor <[email protected]>
chuyeh and others added 4 commits September 22, 2026 23:12
Run AITER's FlyDSL stages directly so the adapter returns the per-chunk
states that Mamba state tracking reads, instead of falling back to Triton
for those batches (most AgentX prefill). Remap padding indices once per
batch rather than once per layer.

Co-authored-by: Cursor <[email protected]>
@yichiche

Copy link
Copy Markdown
Collaborator

test_kimi_k3_b300.py (exit code 1) known fail from #17050
Other PR Test Base look good.

@chuyeh

This comment was marked as outdated.

@yichiche

Copy link
Copy Markdown
Collaborator

@chuyeh heads-up — this PR now conflicts with main (mergeStateStatus: DIRTY) as of 7a676de7, so CI cannot run to completion.

Could you merge or rebase main into feat/flydsl-gdn-e2e-0915? Happy to help if the conflict lands in AMD/ROCm code.

@BBuf

BBuf commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@sglang-bot

Copy link
Copy Markdown
Member

[sglang-bot Review Agent] Could you merge the latest main into this branch? test/registered/unit/mem_cache/test_page_interleave_gather_multi_gpu.py changed on main after this branch (216bd33 [CI] mem_cache: Count the multicast gather copies as enqueued instead of profile), and a CI rerun replays the old code.

@chuyeh

chuyeh commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

[sglang-bot Review Agent] Could you merge the latest main into this branch? test/registered/unit/mem_cache/test_page_interleave_gather_multi_gpu.py changed on main after this branch (216bd33 [CI] mem_cache: Count the multicast gather copies as enqueued instead of profile), and a CI rerun replays the old code.

Done. @BBuf @sglang-bot PR Test needs a run-ci approval for the current head commit. Could a maintainer comment /approve-ci or /tag-and-rerun-ci? Thanks!

@sglang-bot

Copy link
Copy Markdown
Member

[sglang-bot Review Agent] This PR is queued for CI: the review bot starts CI on at most 30 PRs a day so the shared runners stay free. It is #1 in line, expected to start around 2026-11-26 08:55 UTC.

@sglang-bot

Copy link
Copy Markdown
Member

/tag-and-rerun-ci

chuyeh and others added 2 commits November 26, 2026 01:28
…915-merge

Co-authored-by: Cursor <[email protected]>

# Conflicts:
#	python/sglang/srt/model_executor/runner/eager_runner.py
…state is set

Main's TritonGDNKernel now sets _recurrent_kwargs in its constructor. FlyDSLGDNKernel subclasses it without calling the constructor, so the attribute was missing on FlyDSL instances. The dispatcher only calls extend() on the FlyDSL kernel today, so nothing read it yet.

Co-authored-by: Cursor <[email protected]>
@yichiche

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@bingxche

Copy link
Copy Markdown
Collaborator

/approve-ci

1 similar comment
@yichiche

Copy link
Copy Markdown
Collaborator

/approve-ci

@sglang-bot sglang-bot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[sglang-bot Review Agent] LGTM. Let's wait for CI.

@bingxche

Copy link
Copy Markdown
Collaborator

/approve-ci

@bingxche

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@yichiche

Copy link
Copy Markdown
Collaborator

/approve-ci

@HaiShaw

HaiShaw commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

/tag-and-rerun-ci

@chuyeh

chuyeh commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

/rerun-failed-ci

@HaiShaw
HaiShaw merged commit 94e8c3c into sgl-project:main Nov 27, 2026
190 of 200 checks passed
amd-nprotaso added a commit to amd-nprotaso/sglang that referenced this pull request Nov 27, 2026
The FlyDSL GDN prefill dependency (sgl-project#39595) landed on main. Conflicts
resolved by taking main's version of the dependency and re-applying only
this PR's changes:
- The decode/verify "prefill only" guard moved to attention_hook.py on
  main; extend it there to flydsl_fused instead of re-adding it to
  gdn_backend.py, and parametrize main's hook-level test over both.
- Keep main's _validate_gdn_target_verify_layout next to
  _validate_fused_flydsl_state_dtype.
- The padding-sink fix for padded rows is already on main; keep main's.

Co-Authored-By: Claude <[email protected]>
YAMY1234 added a commit to sgl-project/sgl-nvidia-mega that referenced this pull request Nov 29, 2026
…PI v3 and contract (#103)

* [Fix] minimax_m31: Speak megakernel API version 3 and follow SGLang main's contract

#66 merged after #81 moved the unit tests to SGLang main, but its last unit
run was against the old pinned SGLang, where the MiniMax-M3.1 checks are
skipped. On SGLang main the spec is refused at registration and four
contract checks fail, so main's unit job has been red since #66.

- Megakernel API 3 (sgl-project/sglang#52054 replaced the verify penalty
  tables with step_penalties): declare 3, as #81 did for the other specs.
  The package reads no verify sampling penalties (its slots are the verify
  forward and the DSpark draft proposal), so nothing else changes.
- sgl-project/sglang#52870 moved minimax_sparse_nvfp4_backend.py to
  minimax_sparse/msa_v1_backend.py; msa_v1_decode_plan is the same field.
  Name the new file first and keep the old one as the alternative.
- fused_experts_none_to_flashinfer_trtllm_fp4: sgl-project/sglang#50195
  passes the ignored output buffer on the logits-routed path too; the
  routed-top-k path moe_nofill follows already passed it. Re-pin.
- _draft_step and _markov_sample_partial_kernel: sgl-project/sglang#51298
  adds a step softcap and vocab limit that only Inkling2's MTP head sets,
  and #52728 a folded-bias kernel path _draft_step never takes. The chain
  serves only VanillaMarkov, which leaves both None. Re-pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] qwen3_5: Follow SGLang main's GDNAttnBackend.forward_extend

sgl-project/sglang#39595 (FlyDSL GDN prefill on AMD) passes
prefill_metadata=self.kernel_prefill_metadata to the extend kernel in the
prefill arm of forward_extend, None for every kernel but FlyDSL, and adds
kernel_prefill_metadata = None to GDNAttnBackend.

- gdn/prefill.py serves only the Triton prefill kernel (view.kernel_id),
  and gdn/verify.py mirrors the target-verify arm, which the change does
  not touch. Re-pin both mirrors.
- The runtime tests' fake GDN backend gains kernel_prefill_metadata=None,
  as SGLang's class now defines it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] kimi_k31: Follow SGLang main's verify sampling stages in the DFlash runtime

sgl-project/sglang#52406 deleted sampling_batch_info.adjusts_logits and
speculative/target_verify.py (adjust_verify_logits). SGLang's DFlash round
now reads VerifyRoute.adjusts_logits and calls VerifyStep.adjust from
SamplingPipeline.plan_verify. The K3.1 DFlash runtime imported both old
names, so it no longer imported on SGLang main.

- _unserved: VerifyRoute.derive(...).adjusts_logits is the same predicate
  as adjusts_logits (grammar, watermark, penalties, logit bias or a custom
  logit processor), so the same rounds go back to SGLang.
- _accept, greedy round on gathered logits: the target's
  sampling_pipeline.plan_verify(batch, watermark_full_mask=False).adjust()
  runs the same stages in the same order as adjust_verify_logits did:
  penalties along the chain, logit bias and the custom logit processor,
  each width rows per request, with no grammar mask. DFlash refuses the
  watermark, so none is bound. As before, _unserved already refuses every
  round these stages would change.
- The test fakes gain the target's sampling_pipeline and
  need_min_p_sampling, which SGLang's SamplingBatchInfo defines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] qwen3_5: Re-pin GDNAttnBackend.forward_extend after sgl-project/sglang#44195

sgl-project/sglang#44195 gives the Triton GDN kernel an FP32 track
snapshot and gates the snapshot in forward_extend's prefill arm on
use_track_state_snapshot(): a snapshot-capable kernel in batch-invariant
mode.

- gdn/prefill.py: only --enable-deterministic-inference turns on
  batch-invariant mode, and it refuses the trtllm_mha attention backend
  this spec requires. The served prefill arm still writes checkpoints from
  the per-chunk states, as the slot does. Re-pin.
- gdn/verify.py mirrors the target-verify arm, which the change does not
  touch. Re-pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
amd-cgilli added a commit to amd-nprotaso/sglang that referenced this pull request Dec 2, 2026
…fused FlyDSL GDN prefill

Mixed prefill/decode batches (--enable-mixed-chunk) carry no prefill
metadata, so AITER's support check got max_seqlen=None and could still
pick the fused kernel. Gate the fused path on the metadata so these
batches take sgl-project#39595's Triton fallback, and add a regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants