Skip to content

[FlyDSL] [gfx950] Add gdn fused prefill kernel - #6496

Merged
zufayu merged 4 commits into
ROCm:mainfrom
amd-nprotaso:flydsl/gdn-fused-prefill
Nov 6, 2026
Merged

zufayu merged 4 commits into
ROCm:mainfrom
amd-nprotaso:flydsl/gdn-fused-prefill

Conversation

@amd-nprotaso

@amd-nprotaso amd-nprotaso commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds gdn_fused_prefill_fwd, a single-kernel FlyDSL implementation of Gated DeltaNet (GDN) varlen chunked prefill for gfx950 Qwen3.8. This kernel covers q/k l2norm, the prepare stage, the hidden-state recurrence and the output, and it updates the bf16 state pool in place. The op is opt-in: no existing op changes behavior, and no in-tree dispatcher calls it yet.

Motivation

The existing prefill path (chunk_gated_delta_rule_opt_vk) takes 8 launches per layer (l2norm ×2, gdn_prepare, fwd_h, fwd_o and 3 elementwise ops). It also writes every per-chunk state h to HBM and reads it back for the output stage. For Qwen3.8-Flash-Next TP1 at 16K tokens, that is 1 launch / 797 µs instead of 8 launches / 1267–1299 µs (summed device time).

Changes

  • aiter/ops/flydsl/gdn_fused_prefill.py (new): gdn_fused_prefill_fwd and gdn_fused_prefill_supported.
  • aiter/ops/flydsl/kernels/gdr_prefill/gdn_fused_prefill.py (new): the kernel. It is exported from the existing kernels/gdr_prefill package, which is not renamed.
  • aiter/aot/flydsl/gdn_fused_prefill.py (new), registered in common.py and listed in the README. It precompiles every BV / track / has_initial_state variant for the Qwen3.8 and Qwen3.5 head shapes at TP1–8, default scale only.
  • op_tests/test_gdn_fused_prefill.py and op_tests/op_benchmarks/flydsl/bench_gdn_fused_prefill.py (new).

Caller contract

  • cache_indices: one pool slot per sequence. Non-negative entries must be unique within a batch. A negative entry marks a padding row: its workgroup exits without writing any pool slot, track row or o row.
  • has_initial_state (optional, [N] bool/int): False rows start from a zero state and ignore their slot's contents (NaN-safe). Their final state is still written to the slot. With None, every slot is loaded, so the caller must zero a new sequence's slot first.
  • track_state / track_chunk_idx (optional): row n receives the fp32 state before chunk track_chunk_idx[n]. Rows with a negative or out-of-range index are left untouched.
  • o is freshly allocated. Rows outside [cu_seqlens[0], cu_seqlens[-1]) and rows of padding sequences are left uninitialized.
  • gdn_fused_prefill_supported(q, k, v, g, beta, ssm_states, max_seqlen=None):
    • Always checks operand support: gfx950, bf16 q/k/v with K = V = 128, fp32 g/beta, a contiguous bf16 pool, H % Hg == 0, and spans under 4 GiB.
    • Applies the performance gate only when the caller passes max_seqlen, the longest sequence in the batch. It then also rejects batches unless max_seqlen <= 1024 or H * T >= 24 * max_seqlen; for equal-length batches this is N * H >= 24. Callers that omit max_seqlen get no protection from the regressions below.
    • gdn_fused_prefill_fwd checks operands only and raises ValueError on unsupported ones.
  • The V slice per workgroup (BV) is chosen automatically: 16 when the BV=16 grid fits in one pass over the CUs, otherwise 32.

Performance

Setup: revision a0abafac0501, MI355X (gfx950, 256 CUs), ROCm 10.0.0, torch 2.11.0+rocm10.0.0, FlyDSL 0.4.1 (the repo pin), Triton 3.8.0. One GDN layer; fused vs chunk_gated_delta_rule_opt_vk with the fastest h backend per shape.

Qwen3.5 tuned-table grid, 177 points. Full results, one row per point: #6496 (comment)

Reproduce from the repo root:

python -m op_tests.op_benchmarks.flydsl.bench_gdn_fused_prefill -o out.csv
H/Hg Fused faster Fused speedup Kept on fused by gate Routed geomean
64/16 22/22 1.25–1.98x 22 1.50x
32/16 22/22 1.15–1.90x 22 1.46x
32/8 22/22 1.10–1.77x 22 1.37x
16/8 20/22 0.88–1.85x 16 1.34x
16/4 19/22 0.82–1.83x 16 1.29x
8/4 15/22 0.68–2.02x 14 1.31x
8/2 14/23 0.65–1.94x 14 1.24x
4/2 12/22 0.58–2.05x 11 1.25x
  • Small-grid regressions. Always-fused is slower on 31 of 177 shapes, down to 0.58x. These are small N·H with long sequences: each workgroup walks its sequence's chunks serially, and with 1 workgroup per CU the grid cannot fill the GPU.
  • Fallback rule. With max_seqlen passed, the gate sends all 31 to opt_vk. Every shape it keeps on fused is faster (worst 1.10x). It is conservative: 9 shapes where fused is up to 1.17x faster still go to opt_vk.
  • Routed speedup. Following the gate, no shape regresses. Geomean is 1.34x, against 1.30x for always-fused (worst 0.58x).
  • Timing method. us is summed device time of all kernels in the layer (torch profiler); speedups above use it. The benchmark also records per-call CUDA-event elapsed time, which includes launch gaps. On that measure the routed geomean is 1.36x and the worst kept shape is 1.17x.
  • Coverage. The grid packs N equal-length sequences per point. Uneven varlen batches are covered only by the three op-test shapes below, where the gate also picks the faster path.

Other shapes:

H/Hg N T Fused WGs Fused µs opt_vk µs Speedup Gate
4/2 1 32K 32 1237 720 0.58x opt_vk
4/2 1 64K 32 2474 1646 0.67x opt_vk
8/2 1 16K 64 627 407 0.65x opt_vk
8/2 1 64K 64 2505 2105 0.84x opt_vk
8/4 1 16K 64 621 422 0.68x opt_vk
8/4 1 64K 64 2524 2247 0.89x opt_vk
16/4 1 32K 128 1272 1324 1.04x opt_vk
16/8 1 64K 128 2543 2770 1.09x opt_vk
8/2 2 16K 128 326 263 0.81x opt_vk
8/2 2 32K 128 633 599 0.95x opt_vk
8/2 4 16K 256 184 211 1.15x fused
8/2 4 32K 256 353 438 1.24x fused
64/16 16 32K 4096 1530 2115 1.38x fused

Model shapes, including uneven varlen (python op_tests/test_gdn_fused_prefill.py; device time; opt_vk = faster of the triton/flydsl h backends; rel_l2 is the worst sequence vs an fp32 token-by-token recurrence):

Case H/Hg Sequence lengths Fused µs opt_vk µs Speedup Gate o / state / track rel_l2
qwen38_dense_4k 48/16 4096 197.7 310.4 1.57x fused 3.32e-3 / 2.89e-3 / 2.29e-3
qwen38_dense_16k 48/16 16384 767.0 1227.2 1.60x fused 3.32e-3 / 2.89e-3 / 2.33e-3
qwen38_varlen 48/16 1000, 64, 1, 2000, 333, 63, 65 165.7 245.9 1.48x fused 3.32e-3 / 2.96e-3 / 2.40e-3
qwen38_tp8_16k 6/2 16384 629.7 398.0 0.63x opt_vk 3.31e-3 / 2.97e-3 / 2.28e-3
qwen35_tp8_tail 8/2 300, 129 18.1 44.4 2.45x fused 3.33e-3 / 2.99e-3 / 2.44e-3
qwen35_tp8_16k 8/2 16384 625.6 412.1 0.66x opt_vk 3.32e-3 / 2.88e-3 / 2.39e-3
qwen35_tp8_batch 8/2 8 × 2048 104.5 171.8 1.64x fused 3.33e-3 / 2.99e-3 / 2.40e-3
qwen35_tp2_varlen 16/8 128, 172, 300 20.5 52.9 2.58x fused 3.34e-3 / 2.90e-3 / 2.38e-3
qwen35_tp2_long_mixed 16/8 8192, 512, 256 355.9 303.3 0.85x opt_vk 3.33e-3 / 2.93e-3 / 2.35e-3

Accuracy over the 177 points (worst sequence vs an fp32 chunked recurrence): fused o 3.36e-3 / state 3.06e-3; opt_vk o 5.00e-3 / state 6.70e-3.

All 177 points
H Hg N T fused WGs gate fused us opt_vk us opt_vk h speedup fused wall us opt_vk wall us wall speedup fused o rel_l2 fused state rel_l2 opt_vk o rel_l2 opt_vk state rel_l2
64 16 1 1024 256 fused 56 105 flydsl 1.88 87.9 171 1.95 0.00331 0.00285 0.00491 0.00559
64 16 1 2048 256 fused 105 169 flydsl 1.61 138 218 1.58 0.00332 0.00286 0.0049 0.00573
64 16 1 4096 256 fused 207 360 hip 1.74 243 406 1.67 0.00332 0.0029 0.00491 0.00575
64 16 1 8192 256 fused 412 738 flydsl 1.79 448 761 1.7 0.00332 0.00286 0.00491 0.00567
64 16 1 16384 256 fused 797 1.47e+03 flydsl 1.85 840 1.48e+03 1.76 0.00332 0.0029 0.00491 0.00571
64 16 1 32768 256 fused 1.52e+03 2.93e+03 flydsl 1.93 1.58e+03 2.97e+03 1.88 0.00332 0.0029 0.00491 0.0059
64 16 1 65536 256 fused 2.98e+03 5.9e+03 flydsl 1.98 3.04e+03 5.94e+03 1.95 0.00332 0.00292 0.00491 0.00577
64 16 2 8192 512 fused 411 592 hip 1.44 457 633 1.38 0.00332 0.00289 0.00491 0.00569
64 16 2 16384 512 fused 804 1.15e+03 hip 1.43 837 1.19e+03 1.43 0.00332 0.0029 0.00491 0.00576
64 16 4 8192 1024 fused 428 541 flydsl 1.26 465 585 1.26 0.00332 0.00289 0.00492 0.00574
64 16 4 16384 1024 fused 792 1.06e+03 hip 1.34 846 1.12e+03 1.32 0.00332 0.0029 0.00492 0.00576
64 16 4 32768 1024 fused 1.5e+03 2.14e+03 hip 1.42 1.56e+03 2.2e+03 1.41 0.00332 0.0029 0.00491 0.0059
64 16 8 8192 2048 fused 436 545 flydsl 1.25 477 589 1.24 0.00332 0.00292 0.00492 0.00576
64 16 8 16384 2048 fused 804 1.06e+03 flydsl 1.32 857 1.12e+03 1.31 0.00332 0.0029 0.00492 0.00581
64 16 8 32768 2048 fused 1.51e+03 2.14e+03 hip 1.42 1.57e+03 2.19e+03 1.4 0.00332 0.0029 0.00492 0.0059
64 16 8 65536 2048 fused 2.98e+03 4.27e+03 hip 1.43 3.03e+03 4.26e+03 1.41 0.00332 0.00292 0.00492 0.00581
64 16 16 16384 4096 fused 812 1.08e+03 flydsl 1.33 874 1.12e+03 1.28 0.00332 0.00291 0.00492 0.00583
64 16 16 32768 4096 fused 1.53e+03 2.12e+03 hip 1.38 1.58e+03 2.17e+03 1.37 0.00332 0.00291 0.00493 0.0059
64 16 16 65536 4096 fused 3.01e+03 4.26e+03 hip 1.42 3.07e+03 4.29e+03 1.4 0.00332 0.00292 0.00492 0.00582
64 16 32 32768 8192 fused 1.59e+03 2.11e+03 hip 1.33 1.65e+03 2.15e+03 1.3 0.00332 0.00291 0.00493 0.00593
64 16 32 65536 8192 fused 3.05e+03 4.25e+03 hip 1.39 3.1e+03 4.25e+03 1.37 0.00332 0.00292 0.00492 0.00587
64 16 64 65536 16384 fused 3.14e+03 4.2e+03 flydsl 1.34 3.2e+03 4.3e+03 1.34 0.00333 0.00294 0.00494 0.00587
32 16 1 1024 256 fused 49.7 84.7 triton 1.7 81.9 167 2.04 0.00332 0.00289 0.0041 0.00348
32 16 1 2048 256 fused 94.8 128 flydsl 1.35 125 201 1.61 0.00332 0.00286 0.00491 0.00569
32 16 1 4096 256 fused 186 214 flydsl 1.15 216 259 1.2 0.00332 0.00287 0.0049 0.00563
32 16 1 8192 256 fused 351 472 flydsl 1.34 387 505 1.3 0.00332 0.00286 0.0049 0.0059
32 16 1 16384 256 fused 695 954 flydsl 1.37 746 976 1.31 0.00332 0.00289 0.00491 0.00562
32 16 1 32768 256 fused 1.33e+03 1.89e+03 flydsl 1.42 1.38e+03 1.91e+03 1.38 0.00332 0.00286 0.00491 0.00559
32 16 1 65536 256 fused 2.61e+03 3.9e+03 flydsl 1.49 2.65e+03 3.95e+03 1.49 0.00332 0.00286 0.00491 0.00552
32 16 2 8192 256 fused 217 406 hip 1.87 246 429 1.74 0.00332 0.00286 0.00491 0.0059
32 16 2 16384 256 fused 416 790 triton 1.9 461 851 1.85 0.00332 0.00289 0.00411 0.00349
32 16 4 8192 512 fused 221 334 hip 1.51 247 363 1.47 0.00332 0.00288 0.00491 0.0059
32 16 4 16384 512 fused 424 636 hip 1.5 473 684 1.45 0.00332 0.00291 0.00492 0.00586
32 16 4 32768 512 fused 793 1.25e+03 hip 1.58 856 1.29e+03 1.51 0.00332 0.00288 0.00491 0.00593
32 16 8 8192 1024 fused 229 314 flydsl 1.38 253 338 1.34 0.00333 0.0029 0.00492 0.0059
32 16 8 16384 1024 fused 431 592 hip 1.37 482 637 1.32 0.00332 0.00291 0.00492 0.00593
32 16 8 32768 1024 fused 795 1.18e+03 hip 1.48 862 1.21e+03 1.41 0.00332 0.00292 0.00491 0.00593
32 16 8 65536 1024 fused 1.53e+03 2.34e+03 hip 1.54 1.59e+03 2.39e+03 1.5 0.00332 0.00288 0.00492 0.00589
32 16 16 16384 2048 fused 452 594 flydsl 1.31 492 643 1.31 0.00333 0.00292 0.00492 0.00598
32 16 16 32768 2048 fused 827 1.16e+03 hip 1.41 878 1.2e+03 1.37 0.00332 0.00293 0.00492 0.00593
32 16 16 65536 2048 fused 1.56e+03 2.36e+03 hip 1.51 1.6e+03 2.4e+03 1.5 0.00332 0.00293 0.00492 0.00589
32 16 32 32768 4096 fused 868 1.18e+03 flydsl 1.36 916 1.27e+03 1.39 0.00333 0.00293 0.00493 0.00593
32 16 32 65536 4096 fused 1.61e+03 2.32e+03 hip 1.44 1.64e+03 2.35e+03 1.43 0.00332 0.00293 0.00493 0.00606
32 16 64 65536 8192 fused 1.68e+03 2.32e+03 hip 1.38 1.72e+03 2.37e+03 1.38 0.00333 0.00294 0.00494 0.00606
32 8 1 1024 256 fused 49.3 80.2 triton 1.63 81.1 167 2.06 0.0033 0.00288 0.00409 0.00347
32 8 1 2048 256 fused 92.6 125 flydsl 1.35 125 193 1.54 0.00332 0.00291 0.0049 0.00566
32 8 1 4096 256 fused 183 200 flydsl 1.1 212 248 1.17 0.00332 0.00286 0.00491 0.0057
32 8 1 8192 256 fused 352 442 triton 1.25 388 470 1.21 0.00332 0.0029 0.00411 0.00355
32 8 1 16384 256 fused 688 909 flydsl 1.32 743 943 1.27 0.00332 0.00289 0.0049 0.00567
32 8 1 32768 256 fused 1.33e+03 1.85e+03 flydsl 1.38 1.39e+03 1.86e+03 1.34 0.00332 0.00284 0.0049 0.00569
32 8 1 65536 256 fused 2.61e+03 3.63e+03 flydsl 1.39 2.66e+03 3.65e+03 1.37 0.00332 0.00289 0.0049 0.00597
32 8 2 8192 256 fused 213 365 hip 1.71 237 404 1.71 0.00332 0.0029 0.00491 0.00603
32 8 2 16384 256 fused 413 729 flydsl 1.77 459 763 1.66 0.00332 0.00289 0.0049 0.00568
32 8 4 8192 512 fused 209 304 hip 1.45 238 342 1.44 0.00332 0.0029 0.00491 0.00603
32 8 4 16384 512 fused 416 590 hip 1.42 459 630 1.37 0.00332 0.00292 0.00491 0.00571
32 8 4 32768 512 fused 796 1.17e+03 hip 1.47 847 1.21e+03 1.42 0.00332 0.00292 0.00491 0.00571
32 8 8 8192 1024 fused 220 289 flydsl 1.31 245 320 1.31 0.00333 0.00291 0.00492 0.00603
32 8 8 16384 1024 fused 416 544 flydsl 1.31 463 584 1.26 0.00332 0.00294 0.00491 0.00583
32 8 8 32768 1024 fused 839 1.07e+03 hip 1.27 852 1.11e+03 1.31 0.00332 0.00292 0.00493 0.00571
32 8 8 65536 1024 fused 1.51e+03 2.1e+03 hip 1.39 1.57e+03 2.18e+03 1.38 0.00332 0.00291 0.00491 0.00597
32 8 16 16384 2048 fused 441 552 flydsl 1.25 481 594 1.24 0.00332 0.00294 0.00492 0.00608
32 8 16 32768 2048 fused 806 1.06e+03 hip 1.31 859 1.11e+03 1.29 0.00332 0.00293 0.00493 0.00584
32 8 16 65536 2048 fused 1.53e+03 2.09e+03 hip 1.37 1.58e+03 2.14e+03 1.35 0.00332 0.00291 0.00493 0.00597
32 8 32 32768 4096 fused 831 1.08e+03 flydsl 1.3 887 1.14e+03 1.28 0.00333 0.00293 0.00495 0.00593
32 8 32 65536 4096 fused 1.56e+03 2.05e+03 hip 1.32 1.61e+03 2.11e+03 1.31 0.00333 0.00291 0.00494 0.006
32 8 64 65536 8192 fused 1.61e+03 2.07e+03 flydsl 1.28 1.67e+03 2.09e+03 1.26 0.00333 0.00293 0.00495 0.006
16 8 1 1024 128 fused 45.2 67.5 flydsl 1.5 77.2 166 2.15 0.00332 0.00294 0.0049 0.00603
16 8 1 2048 128 opt_vk 85 95.7 flydsl 1.13 117 171 1.47 0.00332 0.00292 0.0049 0.00556
16 8 1 4096 128 opt_vk 164 159 flydsl 0.971 197 222 1.13 0.00332 0.00285 0.00491 0.00564
16 8 1 8192 128 opt_vk 318 281 flydsl 0.883 352 325 0.924 0.00332 0.00289 0.00491 0.00565
16 8 1 16384 128 opt_vk 629 649 flydsl 1.03 662 669 1.01 0.00332 0.0029 0.00491 0.00578
16 8 1 32768 128 opt_vk 1.27e+03 1.36e+03 flydsl 1.06 1.31e+03 1.37e+03 1.05 0.00332 0.00283 0.00491 0.00568
16 8 1 65536 128 opt_vk 2.54e+03 2.77e+03 flydsl 1.09 2.58e+03 2.77e+03 1.08 0.00332 0.00281 0.00491 0.00566
16 8 2 8192 256 fused 188 217 flydsl 1.15 213 259 1.22 0.00332 0.00289 0.00491 0.00565
16 8 2 16384 256 fused 354 488 flydsl 1.38 383 504 1.31 0.00332 0.0029 0.00491 0.00585
16 8 4 8192 256 fused 107 186 hip 1.74 138 240 1.74 0.00332 0.00289 0.00493 0.00585
16 8 4 16384 256 fused 215 397 flydsl 1.85 244 419 1.72 0.00332 0.0029 0.00491 0.00585
16 8 4 32768 256 fused 425 787 flydsl 1.85 462 813 1.76 0.00332 0.00289 0.00491 0.00568
16 8 8 8192 512 fused 115 171 flydsl 1.48 143 216 1.51 0.00333 0.0029 0.00494 0.00586
16 8 8 16384 512 fused 217 334 hip 1.54 244 360 1.48 0.00332 0.0029 0.00492 0.00603
16 8 8 32768 512 fused 422 641 hip 1.52 469 680 1.45 0.00332 0.00291 0.00492 0.00592
16 8 8 65536 512 fused 783 1.26e+03 hip 1.6 847 1.29e+03 1.52 0.00332 0.00288 0.00492 0.0059
16 8 16 16384 1024 fused 228 317 hip 1.39 251 340 1.35 0.00333 0.00292 0.00493 0.00603
16 8 16 32768 1024 fused 431 603 hip 1.4 475 638 1.34 0.00333 0.00291 0.00492 0.00605
16 8 16 65536 1024 fused 800 1.17e+03 hip 1.46 857 1.21e+03 1.42 0.00332 0.00294 0.00493 0.0059
16 8 32 32768 2048 fused 447 621 hip 1.39 493 648 1.31 0.00333 0.00296 0.00493 0.00605
16 8 32 65536 2048 fused 828 1.21e+03 hip 1.46 873 1.24e+03 1.42 0.00333 0.00294 0.00494 0.00598
16 8 64 65536 4096 fused 858 1.2e+03 flydsl 1.39 911 1.26e+03 1.38 0.00333 0.00294 0.00495 0.00602
16 4 1 1024 128 fused 45.2 66.1 flydsl 1.46 77.1 164 2.12 0.00331 0.00287 0.00488 0.00597
16 4 1 2048 128 opt_vk 85.4 94.9 flydsl 1.11 117 171 1.46 0.00332 0.00288 0.0049 0.00548
16 4 1 4096 128 opt_vk 166 154 flydsl 0.927 198 223 1.13 0.00332 0.00281 0.00493 0.00572
16 4 1 8192 128 opt_vk 324 267 flydsl 0.823 354 318 0.9 0.00332 0.00291 0.0049 0.00588
16 4 1 16384 128 opt_vk 633 594 flydsl 0.938 667 628 0.943 0.00332 0.00295 0.00491 0.00583
16 4 1 32768 128 opt_vk 1.27e+03 1.32e+03 flydsl 1.04 1.31e+03 1.34e+03 1.02 0.00332 0.00291 0.00491 0.00539
16 4 1 65536 128 opt_vk 2.54e+03 2.61e+03 flydsl 1.03 2.57e+03 2.62e+03 1.02 0.00332 0.00283 0.00492 0.00557
16 4 2 8192 256 fused 182 203 flydsl 1.11 212 252 1.19 0.00332 0.00292 0.00491 0.00588
16 4 2 16384 256 fused 351 435 flydsl 1.24 387 473 1.22 0.00332 0.00295 0.00491 0.00583
16 4 4 8192 256 fused 106 178 hip 1.67 137 240 1.76 0.00333 0.00292 0.00492 0.00588
16 4 4 16384 256 fused 209 360 flydsl 1.72 239 479 2 0.00332 0.00295 0.00492 0.00583
16 4 4 32768 256 fused 409 747 flydsl 1.83 451 775 1.72 0.00332 0.00291 0.00492 0.00572
16 4 8 8192 512 fused 108 161 hip 1.48 140 221 1.57 0.00333 0.00292 0.00493 0.00596
16 4 8 16384 512 fused 210 306 hip 1.46 238 343 1.44 0.00333 0.00295 0.00492 0.00595
16 4 8 32768 512 fused 407 610 hip 1.5 457 637 1.39 0.00332 0.00296 0.00493 0.00591
16 4 8 65536 512 fused 789 1.15e+03 hip 1.46 838 1.19e+03 1.42 0.00332 0.00293 0.00492 0.00591
16 4 16 16384 1024 fused 224 294 flydsl 1.31 248 326 1.31 0.00333 0.00295 0.00496 0.00612
16 4 16 32768 1024 fused 420 559 hip 1.33 457 582 1.27 0.00332 0.00296 0.00493 0.00606
16 4 16 65536 1024 fused 781 1.07e+03 hip 1.37 843 1.1e+03 1.31 0.00333 0.00293 0.00493 0.00591
16 4 32 32768 2048 fused 436 572 hip 1.31 470 605 1.29 0.00333 0.00296 0.00496 0.00606
16 4 32 65536 2048 fused 800 1.08e+03 hip 1.35 845 1.11e+03 1.31 0.00333 0.00293 0.00495 0.00603
16 4 64 65536 4096 fused 840 1.11e+03 hip 1.32 869 1.13e+03 1.3 0.00333 0.00296 0.00499 0.00609
8 4 1 1024 64 fused 43.4 60.9 flydsl 1.4 76.3 164 2.15 0.00332 0.00292 0.00491 0.00561
8 4 1 2048 64 opt_vk 83.3 83.8 flydsl 1.01 114 165 1.45 0.00332 0.0029 0.00492 0.00605
8 4 1 4096 64 opt_vk 159 133 flydsl 0.837 192 210 1.1 0.00332 0.00298 0.00491 0.00555
8 4 1 8192 64 opt_vk 314 229 flydsl 0.729 348 296 0.85 0.00332 0.00283 0.0049 0.00531
8 4 1 16384 64 opt_vk 621 422 flydsl 0.679 653 461 0.705 0.00332 0.00275 0.00491 0.00543
8 4 1 32768 64 opt_vk 1.24e+03 1e+03 flydsl 0.807 1.27e+03 1e+03 0.788 0.00332 0.00286 0.00492 0.006
8 4 1 65536 64 opt_vk 2.52e+03 2.25e+03 flydsl 0.89 2.56e+03 2.34e+03 0.914 0.00332 0.00288 0.00491 0.00569
8 4 2 8192 128 opt_vk 166 159 flydsl 0.961 198 221 1.12 0.00332 0.00293 0.00491 0.00578
8 4 2 16384 128 opt_vk 317 277 flydsl 0.874 351 315 0.897 0.00332 0.00279 0.00491 0.00543
8 4 4 8192 256 fused 91 131 flydsl 1.44 123 195 1.59 0.00333 0.00293 0.00493 0.00578
8 4 4 16384 256 fused 186 215 flydsl 1.16 209 257 1.23 0.00333 0.00289 0.00492 0.00593
8 4 4 32768 256 fused 351 476 flydsl 1.36 391 495 1.26 0.00332 0.00296 0.00493 0.00604
8 4 8 8192 256 fused 55.5 112 flydsl 2.02 87.6 175 2 0.00334 0.00293 0.00495 0.00578
8 4 8 16384 256 fused 106 183 hip 1.73 138 237 1.72 0.00333 0.00292 0.00494 0.00597
8 4 8 32768 256 fused 207 401 flydsl 1.93 237 418 1.76 0.00332 0.00298 0.00494 0.00607
8 4 8 65536 256 fused 412 795 flydsl 1.93 457 820 1.79 0.00332 0.00294 0.00492 0.00581
8 4 16 16384 512 fused 113 168 flydsl 1.48 144 207 1.44 0.00334 0.00294 0.00496 0.0061
8 4 16 32768 512 fused 223 335 hip 1.5 246 369 1.5 0.00333 0.00298 0.00495 0.00607
8 4 16 65536 512 fused 428 640 hip 1.5 462 679 1.47 0.00332 0.00297 0.00493 0.00598
8 4 32 32768 1024 fused 230 321 hip 1.4 254 345 1.36 0.00333 0.00298 0.00498 0.00631
8 4 32 65536 1024 fused 438 610 hip 1.39 471 636 1.35 0.00333 0.00297 0.00493 0.00598
8 4 64 65536 2048 fused 447 624 hip 1.4 494 641 1.3 0.00333 0.00298 0.00498 0.00625
8 2 1 1024 64 fused 43.3 59.2 flydsl 1.37 74.8 165 2.2 0.00332 0.00289 0.00491 0.00567
8 2 1 2048 64 opt_vk 83.5 81.9 flydsl 0.981 115 166 1.44 0.00331 0.00284 0.00493 0.00585
8 2 1 4096 64 opt_vk 162 130 flydsl 0.804 191 206 1.08 0.00332 0.00285 0.0049 0.00557
8 2 1 8192 64 opt_vk 316 222 flydsl 0.703 350 290 0.828 0.00332 0.00288 0.00489 0.00562
8 2 1 16384 64 opt_vk 627 407 flydsl 0.65 658 458 0.696 0.00332 0.00288 0.0049 0.00554
8 2 1 32768 64 opt_vk 1.25e+03 944 flydsl 0.756 1.28e+03 959 0.748 0.00332 0.00288 0.0049 0.00582
8 2 1 65536 64 opt_vk 2.5e+03 2.11e+03 flydsl 0.841 2.54e+03 2.12e+03 0.835 0.00332 0.00285 0.0049 0.00597
8 2 2 8192 128 opt_vk 166 153 flydsl 0.919 198 220 1.11 0.00332 0.00288 0.0049 0.00606
8 2 2 16384 128 opt_vk 326 263 flydsl 0.809 354 315 0.889 0.00332 0.0029 0.00492 0.00594
8 2 2 32768 128 opt_vk 633 599 flydsl 0.946 667 631 0.946 0.00332 0.00288 0.00491 0.00582
8 2 4 8192 256 fused 92.6 122 flydsl 1.31 124 188 1.52 0.00333 0.00292 0.00492 0.00606
8 2 4 16384 256 fused 184 211 hip 1.15 213 273 1.29 0.00332 0.0029 0.00494 0.00594
8 2 4 32768 256 fused 353 438 flydsl 1.24 388 473 1.22 0.00332 0.00292 0.00492 0.00582
8 2 8 8192 256 fused 54 105 flydsl 1.94 86.7 174 2.01 0.00334 0.00293 0.00495 0.00639
8 2 8 16384 256 fused 149 171 flydsl 1.15 136 221 1.62 0.00333 0.00299 0.00496 0.00605
8 2 8 32768 256 fused 209 365 hip 1.75 234 403 1.72 0.00333 0.00293 0.00495 0.00656
8 2 8 65536 256 fused 413 746 flydsl 1.81 449 770 1.72 0.00332 0.00296 0.00491 0.00604
8 2 16 16384 512 fused 110 160 flydsl 1.45 138 203 1.47 0.00335 0.00299 0.00499 0.00611
8 2 16 32768 512 fused 216 318 flydsl 1.47 240 353 1.47 0.00333 0.00295 0.00497 0.00656
8 2 16 65536 512 fused 410 597 hip 1.46 447 641 1.43 0.00332 0.00296 0.00493 0.0061
8 2 32 32768 1024 fused 225 302 hip 1.34 244 332 1.36 0.00335 0.00295 0.00499 0.00656
8 2 32 65536 1024 fused 420 561 hip 1.33 458 595 1.3 0.00333 0.00296 0.00495 0.0061
8 2 64 65536 2048 fused 434 574 flydsl 1.32 470 603 1.28 0.00334 0.00299 0.00498 0.00626
4 2 1 1024 32 fused 42.4 57.1 flydsl 1.35 74.2 164 2.21 0.00331 0.00291 0.00488 0.00581
4 2 1 2048 32 opt_vk 81.7 74.9 flydsl 0.916 113 161 1.43 0.00331 0.00271 0.00494 0.00543
4 2 1 4096 32 opt_vk 159 120 flydsl 0.755 191 203 1.06 0.00332 0.00283 0.00489 0.00592
4 2 1 8192 32 opt_vk 313 205 flydsl 0.654 343 280 0.817 0.00332 0.00285 0.0049 0.00539
4 2 1 16384 32 opt_vk 621 374 flydsl 0.602 651 441 0.677 0.00332 0.00288 0.00491 0.00562
4 2 1 32768 32 opt_vk 1.24e+03 720 flydsl 0.582 1.27e+03 764 0.601 0.00332 0.00285 0.00491 0.00548
4 2 1 65536 32 opt_vk 2.47e+03 1.65e+03 flydsl 0.665 2.51e+03 1.65e+03 0.66 0.00332 0.00276 0.00491 0.00555
4 2 2 8192 64 opt_vk 159 134 flydsl 0.842 191 207 1.09 0.00332 0.00285 0.00491 0.00602
4 2 2 16384 64 opt_vk 313 228 flydsl 0.727 347 292 0.842 0.00332 0.00288 0.00491 0.00562
4 2 4 8192 128 opt_vk 83.9 98.2 flydsl 1.17 116 173 1.49 0.00333 0.00287 0.00491 0.00602
4 2 4 16384 128 opt_vk 163 159 flydsl 0.973 196 222 1.13 0.00332 0.00301 0.00494 0.00649
4 2 4 32768 128 opt_vk 321 281 flydsl 0.877 354 323 0.915 0.00332 0.00293 0.00493 0.00617
4 2 8 8192 256 fused 47.8 82.9 triton 1.73 79.2 479 6.06 0.00333 0.00292 0.00413 0.00362
4 2 8 16384 256 fused 89.7 130 flydsl 1.45 123 191 1.56 0.00333 0.00301 0.00495 0.00649
4 2 8 32768 256 fused 184 225 flydsl 1.22 209 262 1.26 0.00333 0.00293 0.00495 0.00617
4 2 8 65536 256 fused 352 487 flydsl 1.39 381 504 1.32 0.00333 0.00291 0.00494 0.00643
4 2 16 16384 256 fused 54.4 112 flydsl 2.05 86.8 177 2.04 0.00334 0.00306 0.00497 0.00649
4 2 16 32768 256 fused 106 189 flydsl 1.79 135 229 1.7 0.00334 0.00293 0.00497 0.00622
4 2 16 65536 256 fused 208 409 flydsl 1.96 240 422 1.76 0.00334 0.00294 0.00495 0.00643
4 2 32 32768 512 fused 113 172 hip 1.52 143 225 1.58 0.00334 0.00296 0.00499 0.00622
4 2 32 65536 512 fused 225 347 hip 1.54 247 360 1.46 0.00335 0.00297 0.00498 0.00643
4 2 64 65536 1024 fused 228 330 hip 1.45 248 348 1.4 0.00336 0.00306 0.005 0.0067

@amd-nprotaso
amd-nprotaso requested a review from a team October 13, 2026 17:51
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

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

Extended tests (opt-in via labels):

Label Tests
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 gfx1201 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 6496 --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.

@zufayu
zufayu requested a review from coderfeli October 14, 2026 01:27
@github-actions github-actions Bot changed the title [FlyDSL] [gfx950] Add gdn fused prefill kernel [Triton/Gluon] [FlyDSL] [gfx950] Add gdn fused prefill kernel Oct 21, 2026
@Boss2002n
Boss2002n requested a balanced review from Copilot October 21, 2026 13:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Missing auxiliary-tensor device checks and tracking-index length validation can allow invalid GPU memory accesses.

2 open issues
What changed in this PR

Adds a fused FlyDSL Gated DeltaNet prefill path for gfx950, keeping recurrent state on chip to reduce kernel launches and intermediate memory traffic.

Changes:

  • Adds a support gate, in-place state updates, and optional snapshots.
  • Adds correctness checks and latency measurements.
  • Renames the prefill kernel package and updates imports.
File Description
op_tests/​test_gdn_fused_prefill.py Adds reference checks and benchmarks.
aiter/​ops/​triton/​gated_delta_net/​gated_delta_rule.py Changes a backend name in documentation only.
aiter/​ops/​flydsl/​linear_attention_prefill_kernels.py Updates kernel imports.
aiter/​ops/​flydsl/​kernels/​gdn_prefill/​gdn_prepare.py Relocates the prepare kernel.
aiter/​ops/​flydsl/​kernels/​gdn_prefill/​gdn_fused_prefill.py Implements fused prefill.
aiter/​ops/​flydsl/​kernels/​gdn_prefill/​chunk_gated_delta_h.py Relocates the hidden-state kernel.
aiter/​ops/​flydsl/​kernels/​gdn_prefill/​__init__.py Exports the fused compiler.
aiter/​ops/​flydsl/​gdn_fused_prefill.py Adds the public wrapper and support checks.
aiter/​aot/​flydsl/​chunk_gdn_h.py Updates the ahead-of-time compiler import.
.claude/​skills/​review-pr/​triage.py Updates a package name in a comment.

Review effort: Balanced

Comment thread aiter/ops/flydsl/gdn_fused_prefill.py Resolved
Comment thread aiter/ops/flydsl/gdn_fused_prefill.py Resolved
@azaidy
azaidy self-requested a review October 21, 2026 14:12
@zufayu
zufayu requested a review from xytpai October 29, 2026 09:32
@amd-nprotaso amd-nprotaso changed the title [Triton/Gluon] [FlyDSL] [gfx950] Add gdn fused prefill kernel [FlyDSL] [gfx950] Add gdn fused prefill kernel Nov 2, 2026
@aiter-bot

aiter-bot commented Nov 2, 2026 •

Copy link
Copy Markdown

NOT READY FOR HUMAN REVIEW

PR Self-Review

Revision cfded984ab5e · 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 behavior would each changed op test fail on before this PR, and why is that coverage not already provided by an existing canonical test?
  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
  • FAIL — changed op test not explained in Changed op tests: op_tests/op_benchmarks/flydsl/bench_gdn_fused_prefill.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/test_gdn_fused_prefill.py
  • FAIL — Changed op tests must explain why each changed op test is necessary and non-redundant

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

@github-actions github-actions Bot changed the title [FlyDSL] [gfx950] Add gdn fused prefill kernel [Triton/Gluon] [FlyDSL] [gfx950] Add gdn fused prefill kernel Nov 2, 2026
@github-actions github-actions Bot changed the title [Triton/Gluon] [FlyDSL] [gfx950] Add gdn fused prefill kernel [FlyDSL] [gfx950] Add gdn fused prefill kernel Nov 2, 2026
@amd-nprotaso

Copy link
Copy Markdown
Contributor Author

NOT READY FOR HUMAN REVIEW

PR Self-Review

Revision 1cf4e4ed3210 · 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 behavior would each changed op test fail on before this PR, and why is that coverage not already provided by an existing canonical test?
  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 ### 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 — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer
  • FAIL — changed op test not explained in Changed op tests: op_tests/test_gdn_fused_prefill.py
  • FAIL — Changed op tests must explain why each changed op test is necessary and non-redundant

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

Why the existing behavior is insufficient. The existing prefill path (chunk_gated_delta_rule_opt_vk with Triton/HIP/FlyDSL h) takes about 8 launches per layer: l2norm ×2, gdn_prepare, fwd_h_opt_vk, fwd_o_opt_vk and elementwise ops. It also writes every per-chunk state h to HBM and reads it back for the output stage. In the fused kernel, each workgroup owns one (sequence, value head, 32-wide V slice) and keeps that slice of the state on chip across all of the sequence's chunks, so the h round trip and the launch overhead go away. On MI355X at 16K tokens this replaces 1281 us across 8 launches with one 818 us launch. End-to-end per-layer latency drops from 1.246 ms (opt_vk, best h backend) to 0.783 ms. Accuracy against an fp32 recurrence matches or beats the existing paths (tables in the description above).

  • python op_tests/test_gdn_fused_prefill.py: passes on all 4 shapes, and the contract checks pass. Each shape is checked against an fp32 token-by-token recurrence:
    • o, final pool state and tracked snapshot, each with rel_l2 < 2e-2. The observed value is ~3–5e-3.
    • Opted-out track rows stay NaN.
    • Pool slots outside the batch are bit-identical.
    • A -1 padding row touches slot 0 only.
    • <paste the summary table printed by the test, with o/state/track rel_l2 and us per shape>
  • python op_tests/test_gdn_prepare.py and python op_tests/test_gated_delta_rule.py (the existing FlyDSL prefill paths). Both import through the renamed kernels.gdn_prefill package, so they cover the rename. <state pass/fail>
  • Accuracy and latency tables in the description: <command / script used for the Triton FLA vs opt_vk vs fused comparison>, at 1×16384, 1×32768 and a 7-sequence varlen batch. The kernel-level profile used .

Unverified / out of scope:

  • Architectures other than gfx950. gfx942 and gfx1250 are not supported: the gate returns False and the test skips.
  • Head dims other than K = V = 128, non-bf16 q/k/v/state, and non-fp32 g/beta. The gate rejects all of these.
  • GQA ratio H == Hg (rep = 1). The tested ratios are 3, 4 and 2.
  • Non-default scale, an explicit stream argument, CUDA-graph capture, and the N == 0 early return.
  • Sizes near the 32-bit offset limits.
  • Integration into a serving stack (sglang/vLLM/ATOM) end to end. No in-tree caller uses the op yet.

What behavior would each changed op test fail on before this PR, and why is that coverage not already provided by an existing canonical test?

op_tests/test_gdn_fused_prefill.py is the only changed op test. Before this PR it fails at _load() with ModuleNotFoundError: aiter.ops.flydsl.gdn_fused_prefill, because the op does not exist yet. With the op present, these are the behaviors it pins:

  1. Single-launch prefill output and in-place final state match an fp32 recurrence. This includes in-kernel q/k l2norm, GQA head mapping (H % Hg == 0), and q/k/v passed as token-strided views of one packed projection.
  2. Varlen chunk boundaries: sequences of length 1, 63, 64, 65, 129 and 300 (partial, exact and multi-chunk tails) in one batch.
  3. The fp32 snapshot is written at the requested chunk boundary. A -1 index leaves the row untouched.
  4. The pool write footprint. Only the batch's slots change, and a -1 padding entry maps to slot 0 and nothing else.
  5. The gdn_fused_prefill_supported gate rejects fp32 q, bf16 g, an fp32 pool, a transposed pool and K=64, and gdn_fused_prefill_fwd raises ValueError on unsupported operands.

None of this is covered by an existing canonical test:

  • op_tests/test_gated_delta_rule.py tests the multi-kernel chunk path and its individual stages (Triton / HIP / FlyDSL fwd_h), which take pre-normalized inputs and a separate h buffer.
  • op_tests/test_gdn_prepare.py tests only the prepare stage and the chunk_gated_delta_rule_opt_vk pipeline.
  • Neither calls the new entry point. Neither covers the in-kernel l2norm, the in-place bf16 state pool with cache_indices padding semantics, the chunk-boundary track_state snapshot, or the support gate.

Changed op tests

  • op_tests/test_gdn_fused_prefill.py (new). It covers gdn_fused_prefill_fwd / gdn_fused_prefill_supported on gfx950:

    • Output, final pool state and tracked chunk-boundary state against an fp32 token-by-token recurrence, on 4 model-derived shapes:
      • Qwen3.8-Flash-Next TP1, Hg=16/H=48, dense 4K and a 7-sequence varlen batch.
      • Qwen3.5-397B TP8, Hg=2/H=8, with short tails.
      • Qwen3.5-35B TP2, Hg=8/H=16, varlen.
    • Pool-slot write isolation and -1 padding semantics.
    • Snapshot opt-out.
    • Support-gate and ValueError contract checks.
    • Per-shape latency via run_perftest, reported in a summary table.

    It is necessary because it is the only test that calls this new op. It is not redundant because test_gated_delta_rule.py and test_gdn_prepare.py exercise different entry points (the multi-kernel stages and the opt_vk pipeline) and none of the fused-only behaviors listed above. On non-gfx950 hardware it logs a warning and returns without running.

@huizzhan huizzhan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR. Keeping the per-head state on chip across chunks and folding l2norm / prepare / h / o into a single launch is a nice design. I walked through the LDS write/read ordering across phases (double-buffered kbuf, p_s, fac, vt, ap, rhs/vn/vd/td) and did not find a WAR/RAW hazard; the tail-token masking (rq = rk = 0 driving the exp2 arguments to -inf) also looks NaN-safe. A few points I would like to see addressed before merge.

Major

1. Padding slots (cache_indices < 0) read and write slot 0, and race with each other.
slot = (slot < 0).select(0, slot) makes a padded sequence load slot 0, run the whole recurrence, and store the result back to slot 0. With two or more -1 entries in one batch, several workgroups read-modify-write slot 0 concurrently (nondeterministic). If the serving stack does not reserve slot 0 as a dummy slot, this also corrupts a real sequence's state. The test only uses a single -1, so it cannot catch this.
Suggestion: early-exit the workgroup when idx < 0 (no o write, no pool write), matching the usual PAD_SLOT_ID handling in FLA/vLLM. Alternatively, document that slot 0 must be reserved and add a test with multiple -1 entries.

2. No has_initial_state / zero-init path.
The kernel always loads the initial state from the pool, so callers must zero the slot of every new sequence with an extra launch, which is easy to forget. Please consider an optional per-sequence has_initial_state flag, or at least document this contract. The docstring should also state that cache_indices must be unique within a batch.

3. Occupancy / grid fill for small N * H; no comparison with the existing path.
By my count the LDS footprint is about 89 KB per WG (qk 52 KB, s 8.5 KB, ap 8.5 KB, rhs/vn/vd 12 KB, ...), so only 1 WG (2 waves/SIMD) fits per CU on gfx950. The grid is (VD / BV) * N * H = 4 * N * H, and chunks are serialized inside a WG:

  • Qwen3.8 dense 4k (N=1, H=48): 192 WGs on 256 CUs.
  • TP8 (H=8) single long sequence: 32 WGs.

The test prints us but does not compare against flydsl_gdr_prefill or the Triton path. Could you add same-GPU A/B numbers for the shapes in the test plus small-N*H / long-sequence cases? If the fused kernel loses there, gdn_fused_prefill_supported (or the caller) should gate on it. BV=16 (2x WGs) may also be worth trying for small grids.

4. Renaming kernels/gdr_prefill to kernels/gdn_prefill breaks external imports.
The in-repo references are updated, but downstream code importing aiter.ops.flydsl.kernels.gdr_prefill will fail with ModuleNotFoundError. Please either move the rename to a separate PR or keep a thin gdr_prefill/__init__.py shim that re-exports and emits a DeprecationWarning. Please also double-check that no other gdr_prefill references remain on main (op_tests, AOT lists, docs).

Minor

  1. No AOT entry. Given the amount of range_constexpr unrolling, the first JIT compile per (H, Hg, HAS_TRACK, scale) will happen inside the serving process. An aiter/aot/flydsl/ entry similar to chunk_gdn_h.py would help.
  2. Accuracy check is loose and global. A single rel-L2 < 2e-2 over all tokens (comment says ~4e-3 observed) can hide large errors on short sequences (1/63/65 tokens) or individual tokens. Suggest a per-sequence rel-L2 and/or a max-abs bound, plus a comparison against the existing multi-kernel FlyDSL path (the bf16 state copy feeding k @ S^T / q @ S^T may drift on long sequences). Also, torch.stack([]) raises if no sequence is tracked; it is not hit by the current shapes, but it is fragile.
  3. Group 1 loads an unused copy of the state (s_init is loaded by all 8 waves and carried as loop state). This doubles the pool read traffic and costs VGPRs. Could the load be restricted to wh == 0?
  4. The _MAX_I32 check does not cover the g / beta spans. It is harmless in practice, but cheap to add for consistency.
  5. Buffer resources use the default num_records for q/k/v/g/beta/pool (views created with n=1); only o sets it explicitly. A short comment, or explicit records everywhere, would make the bounds behavior clearer.
  6. o rows outside cu_seqlens[-1] are left uninitialized (new_empty). Worth a line in the docstring.

Nits

  • _exp, _sel, and the lane argument of _wave_scan are unused.
  • Phase numbering jumps from 1 to 3.
  • The module docstring's o formula omits scale on the intra-chunk term; the code applies it via F_EQ.
  • _log2 wraps rocdl.log (v_log_f32 is log2); a short comment would avoid confusion.
  • Commits 7 and 8 ("revert changes") cancel each other out; please squash on merge.

Note: this review is based on reading the diff only; I have not run the kernel.

@huizzhan huizzhan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Follow-up on point 3 of my earlier review (grid fill and the comparison with the existing path).

The latency table in the description covers Qwen3.8 (H=48, Hg=16) at 1x16K, 1x32K and one 7-sequence varlen batch. The GDN prefill shapes the repo already tracks for Qwen3.5 are much wider, and none of them have before/after numbers:

  • aiter/configs/model_configs/qwen3_5_397b_chunk_gdn_h_opt_untuned.csv: (H, Hg) = (64, 16), (32, 8), (16, 4), (8, 2), each with is_varlen False and True.
  • aiter/configs/model_configs/qwen3_5_35b_chunk_gdn_h_opt_tuned.csv: (H, Hg) = (32, 16), (16, 8), (8, 4), (4, 2).
  • The matching tuned tables sweep T_flat from 1024 to 65536 and N from 1 to 64.

Those tables were measured on gfx942 and only time the h stage, so they cannot be compared with the fused kernel directly. Could you add a same-GPU (gfx950) before/after table for these shapes, measured per layer end to end (fused vs chunk_gated_delta_rule_opt_vk with the best h backend)? Please include per-shape us, the speedup, and o / final-state rel_l2.

The cases I care most about are small N * H with long sequences, because the fused grid is 4 * N * H workgroups, at about 89 KB LDS each (1 WG per CU), and the chunks run serially inside a WG:

H / Hg N T Fused WGs (256 CUs)
4 / 2 1 32K, 64K 16
8 / 2, 8 / 4 1 16K, 32K, 64K 32
16 / 4, 16 / 8 1 32K, 64K 64
8 / 2 2, 4 16K, 32K 64 to 128

Also please include one large N * H varlen point (e.g. H=64, N=16, T=32K) as a control.

If the fused kernel is slower than the existing path on some of these, it would help to state that in the description and gate on it, either in gdn_fused_prefill_supported or in a documented caller-side rule (for example a minimum N * H, or BV=16 for small grids). That way callers do not pick the fused path where it regresses.

Single-kernel FlyDSL Gated DeltaNet chunked prefill (BT=64) for gfx950: one
launch covers q/k l2norm, the prepare stage, the hidden-state recurrence and
the output, keeping each workgroup's state slice on chip and updating the bf16
state pool in place.

- aiter/ops/flydsl/gdn_fused_prefill.py: gdn_fused_prefill_fwd and the
  gdn_fused_prefill_supported gate (operand checks; with max_seqlen it also
  rejects batches the multi-kernel path runs faster). Optional
  has_initial_state and track_state/track_chunk_idx; padded rows
  (cache_indices < 0) are skipped; BV picked from the grid size.
- aiter/ops/flydsl/kernels/gdr_prefill/gdn_fused_prefill.py: the kernel.
- aiter/aot/flydsl/gdn_fused_prefill.py: AOT entry (OpKind.GDN_FUSED_PREFILL)
  for every BV/track/init variant of the Qwen3.8 / Qwen3.5 head shapes.
- op_tests/test_gdn_fused_prefill.py: per-sequence accuracy against an fp32
  recurrence, padding/init/track contracts, and an A/B against
  chunk_gated_delta_rule_opt_vk.
- op_tests/op_benchmarks/flydsl/bench_gdn_fused_prefill.py: fused vs opt_vk
  sweep over the Qwen3.5 tuned-table grid.

Co-Authored-By: Claude <[email protected]>
@amd-nprotaso
amd-nprotaso force-pushed the flydsl/gdn-fused-prefill branch from e67372f to 64a09ed Compare November 3, 2026 13:53
@amd-nprotaso

Copy link
Copy Markdown
Contributor Author

Thanks for the PR. Keeping the per-head state on chip across chunks and folding l2norm / prepare / h / o into a single launch is a nice design. I walked through the LDS write/read ordering across phases (double-buffered kbuf, p_s, fac, vt, ap, rhs/vn/vd/td) and did not find a WAR/RAW hazard; the tail-token masking (rq = rk = 0 driving the exp2 arguments to -inf) also looks NaN-safe. A few points I would like to see addressed before merge.

Major

1. Padding slots (cache_indices < 0) read and write slot 0, and race with each other. slot = (slot < 0).select(0, slot) makes a padded sequence load slot 0, run the whole recurrence, and store the result back to slot 0. With two or more -1 entries in one batch, several workgroups read-modify-write slot 0 concurrently (nondeterministic). If the serving stack does not reserve slot 0 as a dummy slot, this also corrupts a real sequence's state. The test only uses a single -1, so it cannot catch this. Suggestion: early-exit the workgroup when idx < 0 (no o write, no pool write), matching the usual PAD_SLOT_ID handling in FLA/vLLM. Alternatively, document that slot 0 must be reserved and add a test with multiple -1 entries.

2. No has_initial_state / zero-init path. The kernel always loads the initial state from the pool, so callers must zero the slot of every new sequence with an extra launch, which is easy to forget. Please consider an optional per-sequence has_initial_state flag, or at least document this contract. The docstring should also state that cache_indices must be unique within a batch.

3. Occupancy / grid fill for small N * H; no comparison with the existing path. By my count the LDS footprint is about 89 KB per WG (qk 52 KB, s 8.5 KB, ap 8.5 KB, rhs/vn/vd 12 KB, ...), so only 1 WG (2 waves/SIMD) fits per CU on gfx950. The grid is (VD / BV) * N * H = 4 * N * H, and chunks are serialized inside a WG:

  • Qwen3.8 dense 4k (N=1, H=48): 192 WGs on 256 CUs.
  • TP8 (H=8) single long sequence: 32 WGs.

The test prints us but does not compare against flydsl_gdr_prefill or the Triton path. Could you add same-GPU A/B numbers for the shapes in the test plus small-N*H / long-sequence cases? If the fused kernel loses there, gdn_fused_prefill_supported (or the caller) should gate on it. BV=16 (2x WGs) may also be worth trying for small grids.

4. Renaming kernels/gdr_prefill to kernels/gdn_prefill breaks external imports. The in-repo references are updated, but downstream code importing aiter.ops.flydsl.kernels.gdr_prefill will fail with ModuleNotFoundError. Please either move the rename to a separate PR or keep a thin gdr_prefill/__init__.py shim that re-exports and emits a DeprecationWarning. Please also double-check that no other gdr_prefill references remain on main (op_tests, AOT lists, docs).

Minor

  1. No AOT entry. Given the amount of range_constexpr unrolling, the first JIT compile per (H, Hg, HAS_TRACK, scale) will happen inside the serving process. An aiter/aot/flydsl/ entry similar to chunk_gdn_h.py would help.
  2. Accuracy check is loose and global. A single rel-L2 < 2e-2 over all tokens (comment says ~4e-3 observed) can hide large errors on short sequences (1/63/65 tokens) or individual tokens. Suggest a per-sequence rel-L2 and/or a max-abs bound, plus a comparison against the existing multi-kernel FlyDSL path (the bf16 state copy feeding k @ S^T / q @ S^T may drift on long sequences). Also, torch.stack([]) raises if no sequence is tracked; it is not hit by the current shapes, but it is fragile.
  3. Group 1 loads an unused copy of the state (s_init is loaded by all 8 waves and carried as loop state). This doubles the pool read traffic and costs VGPRs. Could the load be restricted to wh == 0?
  4. The _MAX_I32 check does not cover the g / beta spans. It is harmless in practice, but cheap to add for consistency.
  5. Buffer resources use the default num_records for q/k/v/g/beta/pool (views created with n=1); only o sets it explicitly. A short comment, or explicit records everywhere, would make the bounds behavior clearer.
  6. o rows outside cu_seqlens[-1] are left uninitialized (new_empty). Worth a line in the docstring.

Nits

  • _exp, _sel, and the lane argument of _wave_scan are unused.
  • Phase numbering jumps from 1 to 3.
  • The module docstring's o formula omits scale on the intra-chunk term; the code applies it via F_EQ.
  • _log2 wraps rocdl.log (v_log_f32 is log2); a short comment would avoid confusion.
  • Commits 7 and 8 ("revert changes") cancel each other out; please squash on merge.

Note: this review is based on reading the diff only; I have not run the kernel.

  1. Padding slots. Fixed: a workgroup with cache_indices < 0 now skips everything, writing no o, track or pool slot, as with PAD_SLOT_ID in FLA/vLLM. The test now pads several rows per batch and checks that no slot, including slot 0, changes.

  2. has_initial_state. Added an optional per-sequence has_initial_state flag. False rows start from zero, using a select so NaN garbage in a fresh slot is harmless. The docstring now states that non-negative cache_indices must be unique and that, without the flag, a new sequence's slot must be zeroed first.

  3. Occupancy / A/B. Confirmed: small N·H with long sequences is up to 1.7x slower fused. gdn_fused_prefill_supported(..., max_seqlen=...) now rejects those shapes, and BV=16 is chosen automatically for small grids. Same-GPU numbers over the full Qwen3.5 grid are in my follow-up reply, and the test plus bench_gdn_fused_prefill.py reproduce them.

  4. Rename. Reverted: the kernels stay in kernels/gdr_prefill/ and the new kernel lives there too, so nothing outside the repo breaks. No other references needed changes.

  5. AOT entry. Added aiter/aot/flydsl/gdn_fused_prefill.py. It replays gdn_fused_prefill_fwd the same way the other modules do since [FlyDSL] [JIT] Build the GEMM, conv, chunk_gdn_h and FP8 FMHA AOT caches by replaying the runtime #6956 and is registered in AOT_MODULES. It covers every BV/track/init variant for each Qwen3.8/3.5 head shape, and a run-only check confirms the runtime hits the cache.

  6. Accuracy check. The test now checks o and final state per sequence (< 1e-2 rel-L2; observed ≤ 3.4e-3, including 1-, 63- and 65-token sequences) and o against a max-abs bound (2e-3). On every sequence, fused must also be at least as accurate as the multi-kernel FlyDSL path, and 16k sequences show no drift. The torch.stack([]) is gone.

  7. Group 1 state load. Only wh == 0 loads the state now, and group 1 carries zeros. That's 222 → 214 VGPRs at BV=32; the duplicate read mostly hit cache, so the timing gain is small.

  8. _MAX_I32 for g/beta. Added, and in the process I found that buffer offsets are 32-bit byte offsets. The check now limits span × element_size < 2^32 for q/k/v/g/beta/o, which also covers fp32 g/beta that the element-based check missed.

  9. Default num_records. Added a comment explaining that only o needs a hardware bound (the last chunk's rows past eos belong to the next sequence), and that every other access is in range by construction. I also removed the view-size argument, which had no effect.

  10. Uninitialized o rows. The docstring now says that rows outside [cu_seqlens[0], cu_seqlens[-1]) and rows of padded sequences are left uninitialized.

Nits.

  • Removed _exp, _sel and the unused lane argument.
  • Renumbered the phases 0–3.
  • Fixed the module docstring formula so scale covers both terms.
  • Added a note that rocdl.log (v_log_f32) is log2.
  • The two "revert changes" commits were squashed away.

@amd-nprotaso

Copy link
Copy Markdown
Contributor Author

Follow-up on point 3 of my earlier review (grid fill and the comparison with the existing path).

The latency table in the description covers Qwen3.8 (H=48, Hg=16) at 1x16K, 1x32K and one 7-sequence varlen batch. The GDN prefill shapes the repo already tracks for Qwen3.5 are much wider, and none of them have before/after numbers:

  • aiter/configs/model_configs/qwen3_5_397b_chunk_gdn_h_opt_untuned.csv: (H, Hg) = (64, 16), (32, 8), (16, 4), (8, 2), each with is_varlen False and True.
  • aiter/configs/model_configs/qwen3_5_35b_chunk_gdn_h_opt_tuned.csv: (H, Hg) = (32, 16), (16, 8), (8, 4), (4, 2).
  • The matching tuned tables sweep T_flat from 1024 to 65536 and N from 1 to 64.

Those tables were measured on gfx942 and only time the h stage, so they cannot be compared with the fused kernel directly. Could you add a same-GPU (gfx950) before/after table for these shapes, measured per layer end to end (fused vs chunk_gated_delta_rule_opt_vk with the best h backend)? Please include per-shape us, the speedup, and o / final-state rel_l2.

The cases I care most about are small N * H with long sequences, because the fused grid is 4 * N * H workgroups, at about 89 KB LDS each (1 WG per CU), and the chunks run serially inside a WG:

H / Hg N T Fused WGs (256 CUs)
4 / 2 1 32K, 64K 16
8 / 2, 8 / 4 1 16K, 32K, 64K 32
16 / 4, 16 / 8 1 32K, 64K 64
8 / 2 2, 4 16K, 32K 64 to 128
Also please include one large N * H varlen point (e.g. H=64, N=16, T=32K) as a control.

If the fused kernel is slower than the existing path on some of these, it would help to state that in the description and gate on it, either in gdn_fused_prefill_supported or in a documented caller-side rule (for example a minimum N * H, or BV=16 for small grids). That way callers do not pick the fused path where it regresses.

Measured on gfx950 (MI355X), one GDN layer, fused vs chunk_gated_delta_rule_opt_vk with the fastest h backend (Triton/FlyDSL/HIP) per shape. Shapes cover the Qwen3.5 tuned-table grid (177 points, equal-length varlen). Times are summed device time; speedup = opt_vk / fused. Reproduce with python -m op_tests.op_benchmarks.flydsl.bench_gdn_fused_prefill.

Your focus cases

┌───────┬─────┬─────┬──────┬──────────┬───────────┬─────────┬────────┐
│ H/Hg │ N │ T │ WGs │ fused us │ opt_vk us │ speedup │ gate │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 4/2 │ 1 │ 32K │ 32 │ 1231 │ 725 │ 0.59x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 4/2 │ 1 │ 64K │ 32 │ 2458 │ 1667 │ 0.68x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/2 │ 1 │ 16K │ 64 │ 631 │ 408 │ 0.65x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/2 │ 1 │ 64K │ 64 │ 2509 │ 2101 │ 0.84x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/4 │ 1 │ 16K │ 64 │ 618 │ 423 │ 0.69x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/4 │ 1 │ 64K │ 64 │ 2493 │ 2192 │ 0.88x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 16/4 │ 1 │ 32K │ 128 │ 1286 │ 1322 │ 1.03x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 16/8 │ 1 │ 64K │ 128 │ 2511 │ 2762 │ 1.10x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/2 │ 2 │ 16K │ 128 │ 326 │ 262 │ 0.80x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/2 │ 2 │ 32K │ 128 │ 632 │ 606 │ 0.96x │ opt_vk │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/2 │ 4 │ 16K │ 256 │ 184 │ 206 │ 1.12x │ fused │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 8/2 │ 4 │ 32K │ 256 │ 350 │ 436 │ 1.25x │ fused │
├───────┼─────┼─────┼──────┼──────────┼───────────┼─────────┼────────┤
│ 64/16 │ 16 │ 32K │ 4096 │ 1555 │ 2140 │ 1.38x │ fused │
└───────┴─────┴─────┴──────┴──────────┴───────────┴─────────┴────────┘

All 177 points, per head shape (routed = following the gate)

┌───────┬──────────────┬───────────────┬────────────────┐
│ H/Hg │ fused faster │ fused speedup │ routed geomean │
├───────┼──────────────┼───────────────┼────────────────┤
│ 64/16 │ 22/22 │ 1.27–1.96x │ 1.49x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 32/8 │ 22/22 │ 1.10–1.78x │ 1.37x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 32/16 │ 22/22 │ 1.15–1.87x │ 1.46x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 16/4 │ 19/22 │ 0.82–1.81x │ 1.27x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 16/8 │ 20/22 │ 0.88–1.88x │ 1.33x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 8/2 │ 14/23 │ 0.65–1.88x │ 1.25x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 8/4 │ 14/22 │ 0.69–1.98x │ 1.30x │
├───────┼──────────────┼───────────────┼────────────────┤
│ 4/2 │ 12/22 │ 0.59–2.04x │ 1.24x │
└───────┴──────────────┴───────────────┴────────────────┘

As you expected, fused loses with small N·H and long sequences. gdn_fused_prefill_supported(..., max_seqlen=...) sends those shapes to opt_vk: for equal lengths the rule reduces to max_seqlen <= 1024 or N·H >= 24. Every shape it keeps on fused is faster (worst 1.10x). With routing, no shape regresses and the geomean is 1.33x, against 1.29x and a 0.59x worst case for always-fused. Accuracy: fused ≤ 3.4e-3 / 3.1e-3 (o / state rel-L2) vs opt_vk ≤ 5.0e-3 / 6.7e-3.

@huizzhan
huizzhan self-requested a review November 4, 2026 02:33

@huizzhan huizzhan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for addressing the review feedback and providing the Qwen3.5 CSV-shape A/B results.

Please update the PR description to reflect the current implementation and the results already reported:

  • API behavior: replace the outdated “negative cache indices map to slot 0” description with the new padding-skip behavior. Document has_initial_state and explain that callers must pass max_seqlen to enable the performance gate.
  • Performance results: incorporate the follow-up benchmark summary and link the full 177-point results. Include the measured revision, hardware/software versions, and reproduction command. State the small-grid regressions, fallback rule, and routed speedup; distinguish summed device time from CUDA-event elapsed time and note the equal-length varlen coverage.
  • Validation record: replace the remaining placeholders with actual results and complete the repository’s self-review sections for the current revision, including the new benchmark script and remaining unverified scope.

These description updates do not require additional code changes or rerunning the benchmarks already reported—just consolidate the existing evidence and clarify the caller contract.

Non-blocking follow-up: shape-aware kernel selection. The current heuristic is a useful conservative gate, but it does not necessarily select the fastest implementation for each shape. Consider extending it with an offline-tuned dispatch table that compares the fused BV=16/BV=32 variants and the opt_vk h backends, then selects the fastest correctness-validated candidate for each covered workload. The dispatch key should capture the relevant architecture/CU count, H/Hg, batch size, token count, sequence-length characteristics, and optional state/tracking modes. In particular, validate uneven varlen batches rather than relying only on equal-length results. Keep a safe fallback for unseen workloads and avoid benchmarking on the serving request path. This is a future optimization suggestion, not a requirement for merging this PR.

huizzhan
huizzhan previously approved these changes Nov 4, 2026
@amd-nprotaso

Copy link
Copy Markdown
Contributor Author

Thanks for addressing the review feedback and providing the Qwen3.5 CSV-shape A/B results.

Please update the PR description to reflect the current implementation and the results already reported:

  • API behavior: replace the outdated “negative cache indices map to slot 0” description with the new padding-skip behavior. Document has_initial_state and explain that callers must pass max_seqlen to enable the performance gate.
  • Performance results: incorporate the follow-up benchmark summary and link the full 177-point results. Include the measured revision, hardware/software versions, and reproduction command. State the small-grid regressions, fallback rule, and routed speedup; distinguish summed device time from CUDA-event elapsed time and note the equal-length varlen coverage.
  • Validation record: replace the remaining placeholders with actual results and complete the repository’s self-review sections for the current revision, including the new benchmark script and remaining unverified scope.

These description updates do not require additional code changes or rerunning the benchmarks already reported—just consolidate the existing evidence and clarify the caller contract.

Non-blocking follow-up: shape-aware kernel selection. The current heuristic is a useful conservative gate, but it does not necessarily select the fastest implementation for each shape. Consider extending it with an offline-tuned dispatch table that compares the fused BV=16/BV=32 variants and the opt_vk h backends, then selects the fastest correctness-validated candidate for each covered workload. The dispatch key should capture the relevant architecture/CU count, H/Hg, batch size, token count, sequence-length characteristics, and optional state/tracking modes. In particular, validate uneven varlen batches rather than relying only on equal-length results. Keep a safe fallback for unseen workloads and avoid benchmarking on the serving request path. This is a future optimization suggestion, not a requirement for merging this PR.

Updated, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants