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 Oct 14, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## kaix/linear-attention-state-nvfp4 #2788 +/- ##
=====================================================================
- Coverage 73.12% 72.72% -0.40%
=====================================================================
Files 674 679 +5
Lines 76627 77088 +461
=====================================================================
+ Hits 56032 56064 +32
- Misses 20595 21024 +429
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-replayssm
branch
from
October 14, 2026 20:17
291b2c1 to
bd91f22
Compare
kaix-nv
changed the base branch from
kaix/linear-attention-qat-example
to
kaix/linear-attention-state-nvfp4
October 14, 2026 20:19
Contributor
|
kaix-nv
force-pushed
the
kaix/linear-attention-replayssm
branch
from
October 19, 2026 22:19
be18a1f to
4fc6028
Compare
kaix-nv
changed the base branch from
kaix/linear-attention-state-nvfp4
to
kaix/tensor-quantizer-rounding
October 19, 2026 22:19
kaix-nv
force-pushed
the
kaix/linear-attention-replayssm
branch
from
October 23, 2026 21:50
4fc6028 to
6c0a9f2
Compare
kaix-nv
force-pushed
the
kaix/linear-attention-replayssm
branch
from
October 28, 2026 05:56
6c0a9f2 to
2effab8
Compare
This was referenced Oct 28, 2026
kaix-nv
changed the base branch from
main
to
kaix/linear-attention-state-nvfp4
October 28, 2026 06:01
Signed-off-by: Kai Xu <[email protected]>
Record forward BF16 operands and FP16 read updates for the STE adjoint. Strengthen native forward, recurrence-anchor and independent triangular-solve gradient regression coverage. Signed-off-by: Kai Xu <[email protected]>
kaix-nv
force-pushed
the
kaix/linear-attention-replayssm
branch
from
November 17, 2026 01:08
2effab8 to
846521e
Compare
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.
Add two-precision GDN ReplaySSM training and serving with an FP32 recurrence anchor, FP8 or NVFP4 read values, and a fixed 16-token replay window. Read QDQ is independent of recurrence updates; backward uses the window adjoint and STE through the sampled read values.
The in-repository Triton backend, cache lifecycle and worker land together here, so this PR runs without the undeclared external
emulationpackage. NVFP4 outer scales are local to each request and head, partial value tiles are covered, and cache offsets widen to int64 before page-stride multiplication. Nearest and unbiased stochastic NVFP4 reads are supported; the biased mode is removed.The worker requires an explicit recipe and checks saved policies. The ordinary FakeQuantWorker rejects this profile. Two-precision tests use an independent Torch oracle and do not skip when vLLM is absent. The separate legacy INT8/Hadamard profile still has its own optional fork dependency.
This is floating-storage numerical emulation, not packed low-bit cache compression. K=128 is required. Engine qualification beyond one active request and full-model quality remain follow-up work.
Usage
For serving, use
examples/vllm_serve/replayssm_worker.pywith the same explicit recipe. Complete launch settings are in REPLAYSSM.md.Testing
Restacked on main
580ffff1cddb9b20a38b7434e6290654ebf96a8fon 2026-10-27; this PR head is2effab8b66fc7e74c932f51c9a62aad10b679da1.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"