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
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## kaix/linear-attention-qat-m2 #2507 +/- ##
================================================================
+ Coverage 72.61% 72.63% +0.02%
================================================================
Files 681 682 +1
Lines 77317 77390 +73
================================================================
+ Hits 56140 56211 +71
- Misses 21177 21179 +2
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-m4
branch
from
September 23, 2026 01:16
34e549e to
ff21e39
Compare
kaix-nv
changed the base branch from
kaix/linear-attention-qat-m3
to
kaix/linear-attention-qat-m2
September 23, 2026 01:16
This was referenced Sep 23, 2026
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m4
branch
from
September 24, 2026 06:30
ff21e39 to
f3ce747
Compare
Contributor
|
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m4
branch
from
September 24, 2026 18:17
f3ce747 to
99d02c3
Compare
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m4
branch
from
September 25, 2026 01:54
99d02c3 to
9d3c35f
Compare
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m4
branch
2 times, most recently
from
September 25, 2026 05:11
1dd4bb1 to
999fe60
Compare
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m4
branch
from
October 28, 2026 05:56
e6a7d55 to
9f913d9
Compare
This was referenced Oct 28, 2026
Signed-off-by: Kai Xu <[email protected]>
kaix-nv
force-pushed
the
kaix/linear-attention-qat-m4
branch
from
November 17, 2026 01:08
9f913d9 to
e078c16
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.
Keep the approximate-inverse investigation as the final draft in the stack. The unguarded Neumann candidate failed numerical, model-quality and cost gates and is not a supported optimization.
The repaired policy evaluates the polynomial only when a sufficient truncation bound holds: for r = ||L||_inf < 1, require r^(degree+1)/(1-r) below the configured threshold. Unsafe matrices use an exact solve by default or raise when explicitly configured. Exact solve remains the default, and no built-in recipe enables the approximation.
The guard bounds exact-arithmetic truncation, not FP32 roundoff or model quality. Tests retain the correlation-0.9 failure case and check safe polynomial gradients and unsafe fallback. A high fallback rate cannot be reported as a speedup. The current implementation is GDN research only.
Usage
See the guarded-inverse report.
Testing
Restacked on main
580ffff1cddb9b20a38b7434e6290654ebf96a8fon 2026-10-27; this PR head is9f913d907c298efeb99daf84a7c32246cf38208a.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"