Repository navigation
[None][feat] modeling_v2 catalog: Kimi K3 decode, KDA / MLA and generic-path kernels as entries (sm_100) #19990
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
Closed
Closed
Changes from 119 commits
Commits
Show all changes
193 commits
Select commit
Hold shift + click to select a range
1c1d49d
[None][perf] Cut host work between speculative decoding steps
vsabavat f6cb23b
[None][feat] KDA verify: optional per-token states in the V2 hybrid c…
vsabavat b44c537
[None][fix] spec_step_copies: store zeros past a row's accepted tokens
vsabavat 92d67f3
[None][test] spec_step_copies tests: side stream waits for the curren…
vsabavat f3cf23f
[None][fix] KV cache manager V2: keep the SSM pool at its live floor …
vsabavat 67d93e9
[None][fix] multi_stream_utils: record the calling stream on fn1's ou…
vsabavat 5e16d82
[None][fix] MNNVL all-reduce: keep a grown workspace's predecessor al…
vsabavat f0ff9a8
MNNVL all-reduce: run the workspace-growth graph test in the GB200 mu…
vsabavat 551ca16
[None][chore] MNNVL all-reduce test: yapf the workspace-growth test
vsabavat df9d9bf
[None][test] MNNVL all-reduce: one-rank test of the workspace's captu…
vsabavat fd1bddc
MNNVL all-reduce: count Lamport arrivals per CTA in the RMSNorm-fused…
vsabavat 7a7ccf3
MNNVL all-reduce: start every CTA of the cluster before the RMSNorm c…
vsabavat f467211
[None][fix] Kimi K3 attn_res_fwd online kernel: order the ws_stats re…
vsabavat 26cb3c3
[None][fix] Kimi K3 attn_res: cross-proxy fence before a consumer rel…
vsabavat 05e9e4f
[None][test] Kimi K3 attn_res: check the cross-proxy fence before eac…
vsabavat c5a4eaa
Kimi K3 KDA prefill: K1 warps finish reading sPartialLast before the …
vsabavat af3e384
[None][fix] kdaDecode legacy: __syncwarp before the lane-0 block-redu…
vsabavat 1e0dceb
DFlash: start the dummy slot at context length 0 every step
vsabavat ee0dc11
Merge #19830's head af3e384175 (kdaDecode legacy: __syncwarp before t…
vsabavat 5db6a14
[None][feat] Kimi K3 decode: KDA and MLA CuTe DSL kernels with their …
vsabavat b45a946
[None][feat] Kimi K3 MLA attention: a caller-owned workspace
vsabavat f51e780
[None][feat] modeling_v2 catalog: Kimi K3's stateful KDA and MLA deco…
vsabavat 373b10b
[None][chore] Kimi K3 KDA / MLA decode: format with main's hooks
vsabavat ce2b3c3
[None][fix] modeling_v2 ssm/kda_decode: the op supports only the prod…
vsabavat 95fbc35
[None][test] modeling_v2 K3 KDA / MLA entries: sm_100 only, measured …
vsabavat 8ce0792
[None][test] Kimi K3 KDA / MLA decode: sm_100 receipts and l0_b200 en…
vsabavat 0ca3a9f
[None][feat] Kimi K3 decode kernels (CuTe DSL): CTM GEMVs, decode GEM…
vsabavat a6828d2
[None][perf] Kimi K3 attn_res decode RMSNorm: release the next kernel…
vsabavat b6a8fb5
[None][feat] Kimi K3 head GEMV: a caller-owned workspace
vsabavat 11cefbd
[None][feat] modeling_v2 catalog: the Kimi K3 single-GPU decode entries
vsabavat c69ed9c
[None][chore] Kimi K3 decode kernels: format with the repo's pre-comm…
vsabavat 2700b9d
[None][test] Kimi K3 MLA op tests: drop the batch-1 identity cases
vsabavat 9bc4dae
[None][test] modeling_v2 attn_res entries: replay once before poisoni…
vsabavat b280442
[None][test] modeling_v2 Kimi K3 decode entries: sm_100 receipts
vsabavat b4fddc8
[None][fix] modeling_v2 MoE runner test: sm_100's FC1 epilogue uses t…
vsabavat 3ed9de7
[None][feat] modeling_v2 catalog: Kimi K3's generic-path entries
vsabavat 8fa0e05
[None][test] modeling_v2 catalog: Kimi K3 sm_100 cells on the shared …
vsabavat adb6618
[https://nvbugs/6852473][fix] Skip zero-row launches in fp4_quantize,…
vsabavat 41702cb
[None][test] Kimi K3 generic-path catalog: sm_100 receipts and l0_b20…
vsabavat 5e23844
[None][fix] kda_prefill: return a new output tensor on every call
vsabavat 936f38f
[None][fix] Kimi Linear / Kimi K3: make fla-core a runtime dependency
vsabavat 516bb11
Merge #19835's head 5e238440d7 (kda_prefill: return a new output tens…
vsabavat 35b4d73
[None][test] modeling_v2 ssm/kda_prefill: pin a new output tensor on …
vsabavat 06e5078
[None][doc] modeling_v2 catalog: state the 6 sm_100 receipts
vsabavat 0102a35
[None][fix] MNNVL all-reduce: keep a replaced workspace only if a cap…
vsabavat b122103
[None][fix] Kimi K3 k3_kda_attn: refuse a device with fewer than 128 SMs
vsabavat 49a9715
[None][test] Kimi K3 MLA decode view test: list it in l0_cpu, not l0_…
vsabavat 0ad2406
[None][test] modeling_v2 kda_decode entry test: drop the import-time …
vsabavat ba20fa1
[None][fix] DSpark GQA drafter: keep the checkpoint's trained mask-to…
vsabavat e30477f
[None][fix] KV cache manager V2: take the per-token KDA states out of…
vsabavat 86eac6c
[None][test] modeling_v2 thop_attention: Kimi K3 MLA generation cell
vsabavat 73692a6
[None][test] modeling_v2 thop_attention: sm_100 receipt
vsabavat ea84b23
[None][perf] Mamba state metadata: skip unchanged per-step uploads
vsabavat 546e567
[None][perf] DFlash: skip unchanged slot-buffer copies on decode steps
vsabavat a9938c2
[None][fix] KV cache manager V2: count the live-floor KDA token-state…
vsabavat 54b87a2
[None][fix] KV cache manager V2: refuse per-token KDA states off the …
vsabavat c954d6a
[None][test] Kimi K3 noaux_tc MXFP8 quant graph test: free each captu…
vsabavat 1e6eb67
[None][fix] KV cache manager V2: keep a suspended request's KDA repla…
vsabavat 10fd5cf
[None][fix] KV cache manager V2: refuse a KV pool rebalance with the …
vsabavat 50ac9d6
[None][fix] kda_prefill: release evicted scratch with its cache entry
vsabavat a0509b3
[None][fix] LoRA overlap: leave the output record to maybe_execute_in…
vsabavat 77a450e
[None][doc] multi_stream_utils: note the compiled path and the error'…
vsabavat c3ced8d
[None][test] test_multi_stream_utils: bound the capture's block count
vsabavat f39f875
[None][perf] Kimi K3 attn_res_fwd online kernel: double-buffer ws_sta…
vsabavat b2a6af4
Kimi K3 KDA prefill: K1 warps finish reading sPartialLast before the …
vsabavat 2e598e1
[None][feat] One-model speculative decoding: the worker produces the …
vsabavat b12bfad
DFlash: empty the dummy slot in the drafting step, not in prepare()
vsabavat ce1ae63
[None][feat] KDA: commit pending accepted drafts into the live pools
vsabavat f9d32b4
[None][fix] KV cache manager V2: commit a suspended request's KDA rep…
vsabavat 93c0b28
MNNVL all-reduce: remove LamportFlags' unused cluster-arrival mode
vsabavat 0c9ab14
Merge main 70193ec43b into k3-up/u1-engine-host-gap
vsabavat eda9db2
[None][fix] DSpark GQA drafter: check the kept mask row at load and c…
vsabavat a0fa306
[None][fix] Mamba2 metadata: upload CPU-tensor state indices through …
vsabavat fd37763
[None][test] copy_to_device_if_changed: check skipped copies in debug…
vsabavat bea6002
[None][perf] spec_step_copies: run on the SM 100 family (SM 100, 103,…
vsabavat 0e29964
[None][perf] spec_step_copies: drop the staged host-to-device copies,…
vsabavat 0cbb559
[None][fix] DSpark GQA drafter: keep no mask row for DFlash's default…
vsabavat b83f960
[None][fix] DSpark GQA drafter: keep the trained row of the worker's …
vsabavat 2c331d5
[None][fix] Kimi K3 KDA verify: kda_state_tok holds the drafts' records
vsabavat c95eac1
[None][fix] KDA suspend: read the drafts' records as [slots, 3, num_s…
vsabavat dc903ae
[None][fix] KDA verify: size kda_state_tok for the drafts' records
vsabavat c05a0c3
[None][fix] KDA verify: drop the replay caches the drafts' records re…
vsabavat 44a06db
Merge main a1f562a696 into k3-up/u1-engine-host-gap
vsabavat 003f8d0
[None][fix] KDA suspend: commit and relocate without the replay caches
vsabavat de2f7e1
[None][fix] KV cache manager V2: count every live-floor SSM slot in t…
vsabavat fd476e7
Merge main 4a36c5b2fb into k3-up/u4-g3-stateful
vsabavat 547f6bf
Merge #19831 (P1) at c3ced8d8c1 into the main fixes branch
vsabavat 70bb2a3
Merge #19828 (P2) at 0102a35eea into the main fixes branch
vsabavat 0778b55
Merge #19836 (P3) at 93c0b28bbd into the main fixes branch
vsabavat adce84a
Merge #19829 (P4) at f39f875fa8 into the main fixes branch
vsabavat cb4a371
Merge #19826 (P5) at b2a6af4680 into the main fixes branch
vsabavat 2cc72d5
Merge #19827 (P7) at b12bfad22c into the main fixes branch
vsabavat 21462e1
Merge #19840 (P8) at adb66182fa into the main fixes branch
vsabavat ddff9e8
Merge #19835 (P9) at 5e238440d7 into the main fixes branch
vsabavat ca4918f
Merge #19837 (P10) at 936f38fbe7 into the main fixes branch
vsabavat 67a3ad5
Merge #19842 (P11) at b83f960a1d into the main fixes branch
vsabavat 989766a
Merge #19846 (P12a) at f9d32b4c4d into the main fixes branch
vsabavat 347d22f
Merge #19854 (P13) at 50ac9d64e4 into the main fixes branch
vsabavat dc76338
Merge #19816 (U1) at 44a06db574 into the runtime branch
vsabavat 8002879
Merge #19814 (U3) at 2e598e10cb into the runtime branch
vsabavat a0712cb
Merge #19846 (P12) at 003f8d088d into the runtime branch: its two com…
vsabavat fa41a16
Merge #19817 (U2) at de2f7e12ef into the runtime branch
vsabavat bbd3d04
Merge #19833 (G2) at b28044256d into the specialized kernels branch
vsabavat d67d88e
Merge #19832 (G3) at fd476e7662 into the specialized kernels branch
vsabavat b803497
Merge #19834 (G5) at c954d6ad6f into the specialized kernels branch
vsabavat 84dfe86
Merge k3-cons/b-runtime (format fix) into k3-cons/c-kernels
vsabavat 0d83ef5
Runtime branch: the blank line ruff-format wants between two merged t…
vsabavat e4b9968
modeling_v2 catalog: count G5's sm_100 receipts in the receipt status
vsabavat 35433fb
[None][fix] thop_attention catalog test: do not probe a context lengt…
vsabavat eedff8c
Merge k3-cons/a-main-fixes (thop_attention test fix) into k3-cons/b-r…
vsabavat c9d0cd4
Merge k3-cons/b-runtime (thop_attention test fix) into k3-cons/c-kernels
vsabavat bcef591
Merge main f891b3d9ba into k3-cons/a-main-fixes
vsabavat 338f9d0
Merge k3-cons/a-main-fixes (main f891b3d9ba) into k3-cons/b-runtime
vsabavat 73a9e90
Merge k3-cons/b-runtime (main f891b3d9ba) into k3-cons/c-kernels
vsabavat c53ffc8
Merge main 3beeef3a5f into k3-cons/b-runtime
vsabavat 3ac75a7
Merge k3-cons/b-runtime (main 3beeef3a5f) into k3-cons/c-kernels
vsabavat bdadd40
[None][test] List the MNNVL capture-guard test in l0_dgx_b200.yml
vsabavat 305118f
Merge k3-cons/a-main-fixes (l0_dgx_b200 move) into k3-cons/b-runtime
vsabavat b395762
Merge k3-cons/b-runtime (l0_dgx_b200 move) into k3-cons/c-kernels
vsabavat cd21be6
[None][fix] Enable the spec step-copy kernels on SM 100 only
vsabavat 54ff61f
[None][fix] Make the attn_res decode kernels' early PDL trigger opt-in
vsabavat 97f7072
[None][fix] Reject linear_beta=0.0 in trtllm::k3_situ_mul
vsabavat 55f0635
Merge k3-cons/b-runtime (SM 100 step-copy fix) into k3-cons/c-kernels
vsabavat c14508c
[None][chore] Move k3_mla_decode_view into the Kimi K3 MLA kernel pac…
vsabavat 3a990dc
Merge main 24d0f2716f into k3-cons/b-runtime
vsabavat 4612146
Merge k3-cons/b-runtime (main 24d0f2716f) into k3-cons/c-kernels
vsabavat 9190f8b
Merge k3-cons/b-runtime (main 24d0f2716f) into k3-cons/c-kernels
vsabavat 4552c8d
[None][feat] DSpark: load speculators-format drafter checkpoints
vsabavat c6cd921
Merge main (01a3a967a9) into k3-cons/a-main-fixes
vsabavat c44c900
Merge k3-cons/a-main-fixes (speculators DSpark loader, main 01a3a967a…
vsabavat edc6351
Merge k3-cons/b-runtime (new A c6cd921256) into k3-cons/c-kernels
vsabavat 0fd5a3a
[None][fix] Ragged spec sampler tests: give the stub sampler B's stor…
vsabavat 6157fb8
Merge k3-cons/b-runtime (ragged sampler test fix) into k3-cons/c-kernels
vsabavat d639ec5
Merge main fcc4432bef into k3-cons/b-runtime
vsabavat bca86ba
Merge k3-cons/b-runtime (main fcc4432bef) into k3-cons/c-kernels
vsabavat 145def6
Merge main 16df7eaf25 into k3-cons/a-main-fixes
vsabavat 0ed2dfd
Merge k3-cons/a-main-fixes (main 16df7eaf25) into k3-cons/b-runtime
vsabavat 23a02c1
Merge k3-cons/b-runtime (main 16df7eaf25) into k3-cons/c-kernels
vsabavat 6a95a9e
[None][fix] KV cache manager V2: do not commit an unseeded disagg gen…
vsabavat 6b07622
Merge k3-cons/a-main-fixes (unseeded disagg KDA replay suspend fix) i…
vsabavat ee481ee
Merge k3-cons/b-runtime (unseeded disagg KDA replay suspend fix) into…
vsabavat 63aa7a2
[None][chore] KV cache manager V2: separate KDA draft-record accounti…
vsabavat 83becf9
Merge k3-cons/b-runtime (KDA draft-record accounting review follow-up…
vsabavat a486e00
Merge main fced9ff984 into k3-cons/a-main-fixes
vsabavat 52a3283
Merge k3-cons/a-main-fixes latest-main compatibility into k3-cons/b-r…
vsabavat 520ae9c
Merge branch 'mr11/b' into mr11/c
vsabavat 379cdf6
Preserve K3 numeric contracts through model-owned operation migration
vsabavat cdbba03
test: isolate MNNVL workspace lifecycle from CUDA capture state
vsabavat 0202519
test: align hybrid fixtures and CUDA requirements with main
vsabavat 40df45e
Merge commit 'cdbba03f749f6012d8288d71c915c7af7f863ea6' into mr11/b
vsabavat be9f0e4
Merge commit '40df45e324fdeb290aa058d4a0af4e571d729bb5' into mr11/c
vsabavat 72bb8ca
test: remove obsolete MNNVL workspace dictionary assertion
vsabavat 951048b
Merge commit '72bb8ca0b8ad4f5086f6fe4e1162afc6de533f61' into mr11/b
vsabavat 1cf3ae6
Merge commit '951048b17591f880cf89bd63161cf70dd0ec4921' into mr11/c
vsabavat a1fb5ba
Merge upstream after A #19988 while preserving B runtime records
vsabavat 44c31f6
Merge repaired B predecessor after A #19988
vsabavat 9afa851
Merge current upstream main for K3 B CI
vsabavat fd2bb56
Merge updated predecessor for K3 C CI
vsabavat 1f94ed5
Own cached host-to-device copies and share metadata buffer snapshots
vsabavat 15d5054
Merge reviewed B buffer ownership into C kernel stack
vsabavat b279e48
Admit K3 MLA spin barriers using the actual stream SM resources
vsabavat 597e23a
Reject malformed DSpark auxiliary layer IDs before translation
vsabavat 3a51287
Merge strict B DSpark config validation into C
vsabavat f1d74e3
Merge main Qwen catalog additions into K3 kernels
vsabavat 3261a6f
Address speculative runtime review nits
vsabavat 97d8936
Merge speculative runtime review nits into K3 kernels
vsabavat 6b3d878
[None][fix] Align Kimi cache test fixture with upstream mapping fields
vsabavat 28d1e2a
[None][chore] Merge current main after the Kimi fixture correction
vsabavat 6b38abc
[None][chore] Propagate the Kimi fixture correction through the K3 stack
vsabavat 413ee68
[None][chore] Merge current main dac84b01a6 into the K3 runtime branch
vsabavat 3e46156
[None][chore] Propagate the current-main merge through the K3 stack
vsabavat 14a76b0
[None][fix] Refresh serving configuration schemas (By Agent)
VALLIS-NERIA cb9aa92
[None][chore] Merge current main c226e2d77c into the K3 runtime branch
vsabavat 97811d8
[None][chore] Propagate the current-main merge through the K3 stack
vsabavat 7bc9de8
[None][chore] Merge latest main into K3 runtime branch (By Agent)
VALLIS-NERIA 27a60ad
[None][test] Fix KDA admission fixture indices (By Agent)
VALLIS-NERIA cd4d74c
[None][chore] Merge decoder refactor from main (By Agent)
VALLIS-NERIA 7487caf
[None][test] Initialize decoder input preparer fixture config (By Agent)
VALLIS-NERIA 9595d2f
[None][chore] Propagate the latest K3 runtime branch into the K3 kern…
vsabavat be8488e
[None][chore] Merge current main d6bb0609df into the K3 kernels branch
vsabavat 423c804
[None][chore] Merge current main 66ff20f205 into the K3 kernels branch
vsabavat 0f9ee92
[None][chore] Merge main kernel directory reorganization (By Agent)
VALLIS-NERIA 45aabf9
[None][chore] Merge the K3 runtime branch with the kernel directory s…
vsabavat ea00015
[None][chore] Apply ruff to the relocated Kimi K3 kernel imports
vsabavat c7b667d
[None][test] Account for generation KV cache events (By Agent)
VALLIS-NERIA 996bb14
[None][chore] Merge main KV cache retention updates (By Agent)
VALLIS-NERIA 653a47a
[None][chore] Merge the K3 runtime branch with the KV cache retention…
vsabavat c60ee69
[None][feat] Express the Kimi K3 catalog entries as #19977 OpWrapper …
vsabavat a43e651
[None][chore] Merge main kernel test relocations (By Agent)
VALLIS-NERIA f5d9d73
[None][chore] Merge the K3 runtime branch with the kernel test reloca…
vsabavat 8c2cefa
[None][chore] Merge main speculative decoding cleanup (By Agent)
VALLIS-NERIA a688df8
[None][chore] Merge the K3 runtime branch with main 53edc7d4b1 into t…
vsabavat 73ca651
[None][chore] Merge main dd63b36fcf into the K3 kernels branch
vsabavat 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes an existing model path:
trtllm::attn_res_rmsnorm_fwd/attn_res_add_rmsnorm_fwdare called bymodeling_kimi_linear.pyon main.The benefit targets the new GEMVs, which nothing calls yet. Could we pass
early_triggerfrom the caller so only the new decode path sets it? .