mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2755] [CLOSED] sycl/A770: commit all GDN layers' conv history + state replay in two launches (STRATA_GDN_COMMIT_BATCH; bitwise) #4246
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2755
Author: @aslater3
Created: 10/16/2026
Status: ❌ Closed
Base:
main← Head:a770/up-gdn-commit-batch📝 Commits (2)
9c63375sycl/A770: decode GDN recurrence in large GRF, and the split recurrence by default on Alchemist (bitwise)afead65sycl/A770: commit all GDN layers' conv history + state replay in two launches (STRATA_GDN_COMMIT_BATCH; bitwise)📊 Changes
5 files changed (+223 additions, -39 deletions)
View changed files
📝
include/strata/kernels/verify_kernels.hpp(+8 -0)📝
sycl/CMakeLists.txt(+2 -0)📝
sycl/src/core/verify.cpp(+26 -1)📝
sycl/src/kernels/cuda/verify_kernels.dp.cpp(+90 -38)➕
sycl/src/kernels/gdn_bench.cpp(+97 -0)📄 Description
sycl/A770: commit all GDN layers' conv history + state replay in two launches (STRATA_GDN_COMMIT_BATCH; bitwise)
capture_commit replayed the accepted tokens into each GDN layer's state with two launches a layer (gdn_conv_commit and
the split state replay): 36 layers -> 72 launches at the end of every verify window, on the critical path into the
next round's drafting. gdn_commit_replay_layers runs the same two kernels over all layers at once (the layer is the
outermost work-group index, selecting each layer's state, history and inputs), so every thread computes what it did.
It declines (the per-layer loop runs) where the split replay is not the path. Default on on Alchemist, where it is
measured; STRATA_GDN_COMMIT_BATCH=1 forces it on, =0 off. Needs the split replay (#2586).
gdn_bench GDN_CBATCH=1 (new): 36 layers, n_keep 1..6, every float of every layer's state and history compared per
layer vs batched: 0 differ; 1.96 -> 0.83 ms. Engine, A770, Coder IQ1_M, 8K code prompt, 3 pairs: MTP drafting
7.51 / 7.31 / 7.44 -> 6.58 / 6.44 / 6.50 ms a round (-0.91), decode 35.68 / 39.41 / 39.58 -> 35.58 / 40.04 / 41.63 tok/s,
reference tokens (one known low-hit variant).
Stacked on #2586 (the split GDN replay, which this batches); the diff to review is the top commit.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.