Repository navigation
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
This was referenced Sep 22, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## kaix/linear-attention-replayssm-serving #2503 +/- ##
==========================================================================
Coverage ? 72.61%
==========================================================================
Files ? 681
Lines ? 77317
Branches ? 0
==========================================================================
Hits ? 56140
Misses ? 21177
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m2
branch
from
September 23, 2026 01:16
86c4600 to
bd1f350
Compare
kaix-nv
changed the base branch from
kaix/linear-attention-qat-m1
to
kaix/linear-attention-decode-first
September 23, 2026 01:16
This was referenced Sep 23, 2026
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m2
branch
from
September 24, 2026 06:30
bd1f350 to
580c3dc
Compare
kaix-nv
changed the base branch from
kaix/linear-attention-decode-first
to
kaix/linear-attention-vllm
September 24, 2026 06:31
Contributor
|
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m2
branch
2 times, most recently
from
September 25, 2026 01:54
207e918 to
2dd8c1d
Compare
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m2
branch
from
September 25, 2026 04:26
2dd8c1d to
3f42ee9
Compare
kaix-nv
changed the base branch from
kaix/linear-attention-vllm
to
kaix/linear-attention-replayssm-serving
October 19, 2026 22:19
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m2
branch
from
October 28, 2026 05:56
bd2be2b to
6d10361
Compare
This was referenced Oct 28, 2026
Signed-off-by: Kai Xu <[email protected]>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Merge order: 9 draft PRs
#3077 → #2519 → #3078 → #2657 → #2805 → #2788 → #2878 → #2503 → #2507
#2497 is already on main. Each PR is based on the preceding branch; #3077 is based on main.
What does this PR do?
Type of change: New feature.
Port the prefill study onto the current state-QAT interfaces. Expose left/right operand quantizers at the eight actual GDN chunk-64 algorithmic GEMMs. Provide per-row FP8 and block16 NVFP4 recipes; NVFP4 outer scales are isolated by chunk and head. The solve is exact FP32, and working arithmetic is FP32 with BF16 Q/K/V.
This profile runs full GDN prefill; it cannot compose with state or ReplaySSM QDQ in the same layer. KDA operand QAT is rejected because the previous pairwise gate-adjusted operand is not a native GEMM operand. Obsolete W-quantizer glue and study-specific training machinery are not ported.
This is training-time fake-QDQ emulation, with dynamic scales and no calibration pass. It supplies neither a native low-precision prefill kernel nor a speed or accuracy-recovery claim.
Usage
Use the Bridge example with the selected recipe. It retains the prompt label mask while the profile runs each sequence's full valid length through prefill. See the operand guide.
Testing
Restacked on main
580ffff1cddb9b20a38b7434e6290654ebf96a8fon 2026-10-27; this PR head is6d10361e803565893019933b60f1a880e140c2d3.9f913d907c298efeb99daf84a7c32246cf38208a: 226 tests passed in 108.95 seconds, covering TensorQuantizer defaults/calibration/folding/restore, state policies, independent recurrence and gradient references, replay cache lifecycle, CUDA graphs, packed two-precision gradients, GDN operand QDQ and guarded inverse behavior. These are stack-tip results; intermediate heads were not all rerun separately.Before your PR is "Ready for review"