Repository navigation
[WS1][CUDA][Qwen3-Next] Gated RMSNorm CUDA kernel for the GDN block (RFC #428 stack 3/4) #468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Flink-ddd
merged 39 commits into
RL-Align:test-qwennext
from
fusheng-ji:feat/cuda-qwen3-next-gated-rmsnorm
Oct 28, 2026
Merged
Changes from 34 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
b11b957
feat(cuda): gated RMSNorm kernel for the Qwen3-Next GDN block
fusheng-ji 7dd291a
fix(norm): enforce gated tensor boundaries and align parameter VJP st…
fusheng-ji 8df1ffb
test(norm): add Qwen3-Next workload and C3 C4 adapters
fusheng-ji aaf0986
fix(norm): preserve gated signed-zero weights when offset is disabled
fusheng-ji 4ea1611
test(dispatch): cover qwen3_next_rms_norm priority and missing-extens…
fusheng-ji 5eaeca8
test(norm): sweep the gated-vs-plain rstd identity across dtype, H, a…
fusheng-ji b0f4c5c
fix(norm): address the gated-norm review (R2-2, 7, 8, 9, 12, 13, 14, …
fusheng-ji 0cceb84
fix(rmsnorm): use OptionalCUDAGuard in the launchers outside the ROCm…
fusheng-ji cf68fd9
docs(norm): reconcile the C1 norm page, docstrings and gated tests wi…
fusheng-ji 8ce67e0
Merge updated C1 norm base into gated RMSNorm branch
fusheng-ji 1edc9d4
Merge Qwen3-Next C1 norm fixes and evidence runner into gated RMSNorm…
fusheng-ji a441ff9
feat(scripts): extend the Qwen3-Next norm evidence runner to the gate…
fusheng-ji ff271d5
Merge Qwen3-Next C1 norm plot fix into gated RMSNorm branch
fusheng-ji 6f07962
docs(norm): gated RMSNorm evidence vs existing implementations on B200
fusheng-ji be485ee
Merge Qwen3-Next C1 norm evidence into gated RMSNorm branch
fusheng-ji fece41b
docs(norm): correct the gated backward slowdown ratio
fusheng-ji 6ac74cd
Merge the Qwen3-Next norm reuse check into PR #468
fusheng-ji 713c5dc
Merge the #467 norm reuse evidence into PR #468
fusheng-ji da6aa8d
Merge the norm reuse-check output fix into PR #468
fusheng-ji d33c3ac
docs(norm): C3/C4 gates for the zero-centred norm with each existing …
fusheng-ji 8ac348b
docs(norm): rms_norm_gated vs existing implementations, every-row bat…
fusheng-ji d333a43
fix: exclude invalid Megatron zero-centered norm evidence
fusheng-ji 0de9f00
fix: make norm reuse checks exhaustive and require primary candidate
fusheng-ji 102c2c6
Merge test-qwennext refactor and migrate Qwen3-Next code and tests
fusheng-ji 9ffdc1e
docs: move the measurement outputs out of the pull request
fusheng-ji 1e2eaec
docs: point commit hashes at the rewritten history
fusheng-ji 4a3d19f
fix(norm): require the RMSNorm API version in the gated CUDA op and d…
fusheng-ji f9fa9b8
refactor(norm): reshape the saved rstd to x's leading dims in the gat…
fusheng-ji d634d0b
fix(workload): raise WorkloadError for a norm manifest with a missing…
fusheng-ji 08eee50
docs(norm): say why the declared contributions use the kernel's rstd
fusheng-ji 5aa9aa1
ci(ws1): say why both Qwen3-Next norm gates take --hidden 2048 --head…
fusheng-ji 6c63f0b
Merge test-qwennext after #467 landed
fusheng-ji 339bc3f
fix(norm): judge the swapped library's own dweight in the reuse-check…
fusheng-ji 789a285
docs(norm): report the reuse-check C4 gates with each library's own d…
fusheng-ji 025476b
test(workload): pin the norm gate widths and the norm adapters' manif…
fusheng-ji 9c84b32
fix(workload): reject an unknown manifest scope instead of validating…
fusheng-ji acf4aa5
refactor(workload): take the norm gate widths from NORM_OPS
fusheng-ji caedea5
fix(norm): reject inputs past 32-bit row offsets; drop the unused gat…
fusheng-ji a203719
fix(workload): check the norm manifest's top-level keys and chain sem…
fusheng-ji File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.