Repository navigation
Conversation
This was referenced Nov 21, 2026
leejnau
marked this pull request as ready for review
November 21, 2026 00:43
Collaborator
Author
|
/tag-and-rerun-ci |
leejnau
force-pushed
the
fix/kimi-k3-hybrid-verify-contract
branch
from
November 21, 2026 03:13
cd78ebc to
5badd57
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.
Motivation
Kimi K3 five-proposal/q6 DSpark with
--enable-nvidia-megakernelfails during preparation because the hybrid binding no longer exposesKdaStateView.intermediate_conv_window. The hybrid-view rewrite in #48414 also dropped the per-request verification scratch indices and auxiliary hidden-state output, while TRTLLM MLA keeps its decode/verify metadata inforward_decode_metadata. The plugin still needs this contract; the native buffers and post-accept commit path already exist.Modifications
Accuracy Tests
B300 CI run 44815092291 passed: five native CPU tests plus four subtests, followed by both matched E2E tests. TP8/q6, stock RadixArk draft execution, DCP off: captured B1/B2, eager B3/B4, return to B1, and a 32,768-token passkey input. GSM8K-200 was stock 151/200, plugin 150/200, with zero request errors; the unchanged 0.005 accuracy-drop and 0.5 shared-prefix logprob bounds passed.
That run tested framework
0da13fa8c67001fc88d7d9ed454cd6a2b2f41b70with pluginc5d2baead02d801e6a14b7d81239c02198855190. This PR extracts only the runtime repair and tests onto upstream83df28fc0b5c2f4cecad5ac26f765f127e910139; the verification logic and regression file are unchanged, and newer upstream DSA changes are preserved. Applicable pre-commit and syntax checks pass on the rebased patch. This is not a claim that the new full upstream pair has been GPU-retested. The latest rebase includes upstream #51978's CPU-fixture fixes; the runtime patch and its regression file are byte-for-byte unchanged. On the previous PR head, all five new native binding tests passed in Base CI; its failed shard was the Mamba fixture now corrected upstream. Fresh CI is running on5badd574f6d60d411045ccf56f0ea5ede8b9386b.Speed Tests and Profiling
The same run passed the companion's three warmed C1/C4 timing comparisons. This restores a working runtime path, rather than introducing a kernel optimization. The CI infrastructure and matched test fixture remain separate in #51429 and sgl-nvidia-mega #73; neither is included in this diff.
CI States
Latest PR Test (Base): ✅ Run #44859984991
Latest PR Test (Extra): ⊘ Skipped -- add the
run-ci-nv-extralabel to opt in.Latest PR Test (AMD ROCm 10): ✅ Run #44859984650
Tip
Base CI only covers the core cases, and its workload may not exercise your change. Use
/rerun-testto run the tests your change touches, or copy this prompt for an agent: