Commit Graph
5842 Commits
Author SHA1 Message Date
yangzhuxinyzx d64150fb9b [Core] Invoke custom KV cache bind hooks
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 05:18:08 +08:00
yangzhuxinyzx f73cedb3ec [Bugfix] Fall back for unsupported custom AR dtypes
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 05:03:56 +08:00
yangzhuxinyzx 7fb606850b [Bugfix] Zero heterogeneous hybrid KV pages
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 02:34:12 +08:00
yangzhuxinyzx d174f3ff0e [Model] Honor custom V2 model state providers
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 02:25:34 +08:00
yangzhuxinyzx 78225e67fa [Model] Pass 1Cat GDN output buffer in Qwen4Exp
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 02:16:52 +08:00
yangzhuxinyzx 86b19124e5 [Bugfix] Preserve QKV shard metadata in auto loading
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 02:08:17 +08:00
yangzhuxinyzx 3fc247d1e9 [Bugfix] Attach Qwen4Exp expert mapping
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 01:49:09 +08:00
yangzhuxinyzx a90419ba0b [Model] Add Qwen3.8 Flash Next SM70 V2 route
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-27 01:06:40 +08:00
yangzhuxinyzx d63e9490f6 [Kernel][SM70] Default exact PP2 TP4 decode optimizations (#10)
Default the audited non-fused shared-gate QPN8 and exact TP4 six-route MXFP4 QPN M1 paths with explicit rollback and old-extension fallback.

Preserve the recorded PP2 x TP4 endpoint, rejected-path evidence, and long-context design scope.

Tests: Ruff 0.16.4; clang-format 21; git diff --check; 39 passed, 4 skipped policy tests; recorded matching-extension suite 41 passed.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 18:42:44 +08:00
yangzhuxinyzx a0336cfbb1 [Kernel][SM70] Default stable D256 GQA prefill through 256K (#8)
Extends the quality-valid max-aware D256 GQA architecture to KV256K, removes the rejected raw-logit half2 experiment, preserves explicit rollback, and retains the recorded exact output hash with 19.5% prompt-throughput gain.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 18:22:45 +08:00
yangzhuxinyzx 720153de24 [Kernel][SM70] Default exact DFlash2 long-context verifier (#9)
Source-audited against private main b06f54cee3. Includes strict route/shape admission, bitwise-equivalent long-context kernel optimizations, static-gate fixes, default-on promotion, and explicit rollback.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 18:15:59 +08:00
yangzhuxinyzx b06f54cee3 [Bugfix][SM70] Isolate MXFP4 direct-order offsets (#326)
Prevent M2-M8 active-expert compaction from poisoning B1 direct-order graph capture by selecting the immutable one-row slot offsets. CUDA kernels, arithmetic, route order, defaults, and rollbacks remain unchanged.

Reported-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Original-commit: 052312c66f
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 14:07:50 +08:00
yangzhuxinyzx 8700861efa [Kernel][SM70] Default guarded packed FP13 GEMV (#325)
Repair #322 on current main, retaining only the measured FP13 kernel and adding tensor-value, CUDA-device, shape, dtype, layout, memory, quality, and rollback safeguards. The production path defaults on without model/checkpoint identity admission.

Original-commit: 165ec09fa9
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 13:58:21 +08:00
yangzhuxinyzx 232e1e4b58 [CI/Build] Repair CUDA test dependency updates (#317)
Upgrade SentenceTransformers, Pillow, and Black with a regenerated CUDA test lock; add the new pytokens dependency and repair the CrossEncoder model_kwargs API. Keep chardet 5.2 because mbstrdecoder currently requires chardet below 6.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 12:25:13 +08:00
yangzhuxinyzx d9d0da21de [Kernel][SM70] Default safe FP8 prescaled M1 decode (#316)
* [Kernel][SM70] Prescale DeepSeek V4 FP8 decode

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit b8d928d803)

* [Kernel][SM70] Default safe FP8 prescaled M1 decode

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>

---------

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 11:39:04 +08:00
yangzhuxinyzx 1b1c9faeb8 [Kernel][SM70] Default audited PP2 TP4 decode hot paths (#314)
* [Kernel] Tune sparse MLA head grouping for TP4

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit 4397e7adab)

* [Kernel] Fuse TP4 Q transform and KV insertion

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit 19e64ab107)

* [Kernel] Broadcast MXFP4 W13 input for batch one

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit 089feeae72)

* [Kernel] Remove redundant MXFP4 top-6 sorting

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit d1e8c1c40b)

* [Kernel][SM70] Default audited PP2 TP4 hot paths

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>

* [Kernel][SM70] Align compact decode defaults

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>

---------

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 11:16:04 +08:00
yangzhuxinyzx f5fc157c49 [Model][SM70] Exclude unsafe PP2 TP4 QPN8 gate/up (#313)
* [Model][SM70] Prefer accurate PP2 TP4 QPN8 schedules

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit a253e045a6)

* [Doc] Record DeepSeek V4 QPN8 accuracy audit

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
(cherry picked from commit bdc82e879f)

* [Model][SM70] Preserve bounded QPN8 speed schedules

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>

---------

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 10:56:44 +08:00
yangzhuxinyzx 1d64f84dce [Bugfix][SM70] Bound Gemma4 tower attention memory (#310)
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 10:40:38 +08:00
yangzhuxinyzx 6cdfc4430a [CI/Build] Restore repository pre-commit baseline (#311)
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 10:31:35 +08:00
yangzhuxinyzx 1492e6985a [Kernel][SM70] Default exact grouped FP8 WO-A decode (#300)
Default the exact SM70 block-FP8 batch-one grouped WO-A route: two K=4096/N=1024 launches become one fixed 8x128x64 split-K-7 grouped dispatch. Admission requires the exact `[128,128]` layout, two groups, batch-one, and both source-built operators; every other case keeps the existing two-launch fallback. `VLLM_SM70_FP8_GROUPED_BMM_DECODE=0` rolls back.

Performance: matched three-run endpoint median improves 57.436 to 59.209 token/s (+3.09%) and TPOT 17.411 to 16.889 ms (-0.521 ms/token). Eager and changing-input graph operator checks have zero mismatches on exact-small, random-small, and model-like inputs. Cross-process token hashes remain diagnostic because unrelated FP8 tactics autotune independently; greedy identity is not a gate.

Tests: 17 focused tests and all changed-file hooks, including clang-format, ruff, mypy, configuration, and fallback checks, passed. Repository all-files CI rewrote 226 historical baseline files with zero overlap with the seven-file merge result.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 03:56:02 +08:00
yangzhuxinyzx 928fe1037a [Bugfix][SM70] Guard grouped DFlash RMSNorm runtime (#301)
Verify the loaded RMSNorm extension once with nonzero per-layer weights before using grouped DFlash K normalization. Conforming binaries keep the grouped fast path; stale stable-ABI binaries that reuse weight row zero fall back to the correct per-layer route with an explicit warning.

The selector-QPN8 connection remains explicit opt-in because its speed evidence is cross-GPU and its prepared layout reduces KV capacity. Aggregate FP8/NVFP4 acceptance and matched MBPP/EvalPlus quality pass without requiring greedy identity.

Tests: 78 CPU-focused cases passed and 12 GPU cases skipped with GPUs hidden; submitted repaired/stale fixtures pass 13/13 versus 3/13 and exercise the fallback. All changed-file hooks passed. Repository all-files CI rewrote 226 historical baseline files with zero overlap with this five-file merge result.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 03:42:28 +08:00
113636xfh 40a2550503 [Core] Add generic UVA multimodal tower offload (#297)
Route explicitly configured UVA CPU offloading through the generic multimodal-tower lifecycle, with qualified parameter-path matching and no model/checkpoint identity admission. Keep prefetch/no-op backends on a single-component no-op and avoid double-copying already offloaded nested parameters.

Capacity evidence: about 0.78 GiB per rank recovered, a 152,056-token KV pool, and successful 151,296-token context on two V100 16-GiB ranks. Tower execution retains its expected PCIe cost, so this remains explicit rather than unconditional.

Tests: 4 focused unit tests and all changed-file pre-commit hooks passed. The repository all-files CI rewrote 226 historical baseline files with zero overlap with this six-file merge result.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 03:31:51 +08:00
yangzhuxinyzx 5cdb630d66 [Kernel][SM70] Default 8 KiB TP4 push all-reduce (#299)
Default the exact SM70 TP4 CUDA-Graph push route for validated 8 KiB and existing 80 KiB FP16 payloads, with explicit environment rollback and unchanged pull fallback outside the engine contract.

Performance: same-binary endpoint improves 59.160 to 61.272 token/s (+3.57%); 8 KiB collective latency falls from 9.286-9.425 us to 3.041-3.174 us. Dynamic graph validation covers 43 nodes x 8 patterns x 64 replays x 4 ranks with zero mismatches.

Tests: 14 focused checks and changed-file pre-commit passed. The repository all-files CI rewrote 226 historical baseline files with zero overlap with the five-file merge result.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 03:16:50 +08:00
yangzhuxinyzx 4b3d1e0a5a [Core][Kernel][SM70] Default validated PP2 TP4 paths (#283)
Default the measured SM70 QPN8 and metadata-free PP wins only under exact device/topology/concurrency/operator/tensor contracts, with explicit rollback and TurboMind fallback. Add matched aggregate-quality tooling that reports directional sample flips without requiring greedy identity.\n\nPerformance: QPN8 +8.63%; static PP adds 0.22%. Paired GSM8K remains 63/64 with zero invalid answers; operator outputs are finite with rel-L2 <= 6.05e-4 and max-abs <= 0.00390625.\n\nTests: 47 focused tests and changed-file pre-commit passed. The all-files CI failure modified 226 historical baseline files with zero overlap with this PR.\n\nSigned-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 03:05:28 +08:00
Dan Sabbagh 71b79bfb03 [Model] Add explicit DeepSeek-OCR resolution modes (#293)
Expose explicit per-request OCR resolution and bounded crop controls without any model/checkpoint identity defaults. Keep the existing gundam behavior as the default and use one processor instance for producer/counting consistency.\n\nTests: 24 focused processor tests passed; changed-file pre-commit passed. The all-files CI failure modified 227 historical baseline files with zero overlap with this PR.\n\nSigned-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 02:50:04 +08:00
yangzhuxinyzx 0f99c1c51f [Core][SM70] Add opt-in DFlash2 ngram full-hit assist (#287)
Add capability-based prompt lookup while applying proposals only when the full DFlash2 query can be skipped.\n\nSigned-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 02:15:43 +08:00
yangzhuxinyzx b7089d6d42 [Kernel][SM70] Default long-prefill GQA architecture (#286)
Enable the validated capability- and shape-bounded SM70 long-prefill GQA route by default, with exact fallback on typed workspace OOM.\n\nSigned-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 01:59:25 +08:00
yangzhuxinyzx ce2d131f8c [Bench][SM70] Add DFlash2 selector alignment diagnostics (#291)
Adds opt-in selector-alignment capture and analysis without changing the default inference hot path.\n\nSigned-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-26 01:39:03 +08:00
yangzhuxinyzxandkkobold cadcf1d899 [Bugfix] Track in-flight KV eviction boundaries (#296)
Track scheduled-but-unsettled tokens and free recyclable KV blocks only from the processed boundary. Size recycling-aware admission for executor concurrency. The contract is model-independent and uses scheduler, attention-window and cache-lifetime state only.

Co-authored-by: kkobold <sabbaghdanilo@gmai.com>
Signed-off-by: kkobold <sabbaghdanilo@gmai.com>
Signed-off-by: 1Cat Audit Agent <audit@1cat.ai>
2026-08-26 00:28:51 +08:00
yangzhuxinyzx 079732944d [Kernel][SM70] Scale long E4M3 XQA decode (#285)
Combine device-selected long-context partition waves with the existing page-800 path. Admit routes by hardware, dtype, tensor geometry, cache layout, graph semantics and partition contracts only.

Validated by current-source SM70 compilation, focused host routing tests, V100 bitwise page-800/page-1568 tests, changed-file static gates, and matched endpoint evidence.

Signed-off-by: 1Cat Audit Agent <audit@1cat.ai>
2026-08-26 00:06:50 +08:00
yangzhuxinyzx 1ce39810b6 [Core][Kernel][SM70] Fix PP profiling and compact MXFP4 shapes (#295)
Admit the compact SM70 path by hardware, operator, tensor-shape, dtype and PP semantic contracts only. Preserve generic engine behavior without model identity gates.

Validated with changed-file pre-commit, focused CPU tests, CUDA 12.8 SM70 build, V100 bitwise/CUDA Graph checks, and focused microbenchmarks.

Signed-off-by: 1Cat Audit Agent <audit@1cat.ai>
2026-08-25 23:53:56 +08:00
yangzhuxinyzx 34403018d9 [Kernel][SM70] Optimize E4M3 page800 long decode (#290)
Specialize the exact SM70 E4M3 interleaved page800 decode path. Validated by matched long-context pure-decode A/B, bitwise operator tests, NCU attribution, and paired multi-seed GSM8K quality.
2026-08-25 19:05:07 +08:00
yangzhuxinyzx d62ef5cb20 [Core][SM70] Restore practical DFlash2 performance closure (#288)
Restore the align-mode fused GDN metadata hot path and chunked-prefill context-only DFlash2 closure validated on TP4 V100.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-25 15:53:39 +08:00
yangzhuxinyzx 05d5aa4e57 [Kernel][SM70] Reduce long-context grouped verifier cost (#284)
Pack the exact SM70 grouped-verifier GQA contract behind its default-off operator gate. Preserve model-independent admission through GPU capability, quantization, query/head dimensions, page layout, and workspace constraints.\n\nAudit evidence: changed-file static gates pass; SM70 build passes; 13 focused V100 operator and CUDA Graph tests pass; 121/121 existing XQA instruction streams remain identical; recorded performance and quality evidence retained.\n\nSigned-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-25 02:14:11 +08:00
yangzhuxinyzx acc0f6fb92 [Kernel][SM70] Scale NVFP4 E4M3 decode batches (#282)
Add model-agnostic SM70 operator specializations for FP8-E4M3 G6/D256 paged-XQA batches and the exact B8/B16 combined top-k/top-p tensor contract. Preserve original B1 and rollback conversion paths, restrict E4M3 graph variants to Flash-V100 consumers, and retain explicit rollback switches.

Evidence: 24 focused policy/dispatcher/sampler tests; 32 prefix-anchored compatibility regressions; successful SM70 compile/link; changed-file pre-commit; 115/115 common XQA SASS instances identical; eight V100 attention comparisons within one FP16 ULP and two bitwise-equal V100 sampler comparisons; matched pure-decode and quality evidence recorded in the migration control document.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-25 01:38:50 +08:00
f6a5b57b64 [Attention][Core] Add generic prefix-anchored SWA on SM70 (#281)
Add a default-off prefix-anchored sliding-window attention capability selected only by inference-engine hardware, operator, tensor/cache, graph, and concurrency contracts. Rebase the SM70 kernels onto current main, fail closed on unsupported metadata/routes, and preserve default-off SASS.

Tests: 32 focused CPU tests; 19 V100 operator tests; changed-file pre-commit; SM70 extension build; 55/55 decode and 64/64 paged-prefill default-off SASS instances identical to the prior main.

Co-authored-by: kkobold <sabbaghdanilo@gmai.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-25 01:04:53 +08:00
yangzhuxinyzx 6fc9fe9492 [Bugfix][SpecDecode] Honor final-stage-local drafter topology (#260)
Validate local drafter PP independently from the target topology and reject layer partitions that violate final-stage ownership. Runtime admission uses the speculative algorithm and topology/layer contracts, not model or checkpoint identity.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-25 00:04:05 +08:00
Leonccaaandpiro4you 31b3c4dfc6 [Bugfix][Distributed] Make custom allreduce graph capture VMM-safe (#262)
Preserve the full effective PyTorch allocator configuration while keeping CUDA-IPC graph buffers off VMM-backed expandable segments.

Co-authored-by: piro4you <33347785+piro4you@users.noreply.github.com>
Signed-off-by: Leonccaa <166551845+Leonccaa@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 23:54:06 +08:00
yangzhuxinyzx 7bee397761 [Kernel][SM70] Fuse exact-shape GDN decode projections (#278)
Audit-harden the opt-in fusion with paired quality gates, source-built operator checks, and runtime hardware/tensor/layout/workspace contracts. Model and checkpoint identity are evidence only and never select the route.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 23:46:38 +08:00
wfhe febf1fc962 [Bugfix] Zero reused KV blocks in MRV2 (#276)
Restore the existing scheduler-to-runner cache-zero lifecycle contract in MRV2 so newly allocated or reused cache blocks are cleared before first use.

The source audit replaces per-step host readbacks, request-by-layer tail clearing, token clipping, and invalid-state clamping with the shared allocation-driven KVBlockZeroer path. Runtime selection uses allocation, cache layout, block, tensor, and operator contracts only; no model identity gates are introduced.

Original root-cause investigation by thinking.

Co-authored-by: thinking <a873331498@163.com>
Signed-off-by: thinking <a873331498@163.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 23:08:12 +08:00
Andrew Leech 9c53e416f8 [Bugfix] Fix KVBlockZeroer strides for interleaved pools (#280)
Carry a per-segment logical block stride into the Triton zeroing kernel. Infer block-major interleaved layouts from contiguous segment-address runs while keeping dense segments at one-page stride, and handle multiple independent pools without one pool disabling another.

Validation: 7 focused V100/CPU tests and the complete changed-file pre-commit suite pass.

Co-authored-by: Andrew Leech <andrew@alelec.net>
Signed-off-by: Andrew Leech <andrew@alelec.net>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 22:51:03 +08:00
yangzhuxinyzx 36176d0129 [SM70] Add gated DSpark verifier and long-context improvements (#274)
Source-audit the DSpark verifier campaign on current main. Keep incomplete long-context cuBLAS, private compressor state, variable-width grouped verifier, and speculative graph bucket routes explicit opt-ins; remove architecture-identity routing; eliminate default confidence-head work and fail cleanly when explicitly required weights are absent.

Focused result: 74 CPU tests and the complete changed-file pre-commit suite pass. Existing V100 bitwise/exact-top-k source evidence is retained in the migration ledger.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 22:40:49 +08:00
yangzhuxinyzx 44fb700d00 [Kernel][SM70] Add opt-in selector-verifier accelerators (#266)
Admit SM70 verifier optimizations by hardware, operator, tensor-layout, and runtime contracts; keep unproven leaves opt-in and preserve established fallbacks.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 22:07:03 +08:00
yangzhuxinyzx a8ce98ba34 [Core] Persist selector-based DFlash GDN verify metadata (#257)
Generalize admission to the selector-engine algorithm contract, keep every new optimization default-off, remove global replay tracing overhead, and validate the focused selector/GDN/kernel surface.

Test: 108 focused tests passed on V100; changed-file pre-commit passed.

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 21:03:59 +08:00
yangzhuxinyzx 829baf6f58 [Kernel][SM70] Add opt-in MTP concurrency tuning (#273)
Keep the validated SM70 NVFP4 B10 compact route and expose broader MTP concurrency tuning through explicit operator-level opt-ins. Preserve prior defaults for high-width tuning, MoE tiles, all-reduce blocks, and sampler warps until the combined formal curve and quality gate are complete.

Test Result:
- 55 focused CPU/source tests passed; 3 GPU-only tests skipped because all V100s were occupied
- full changed-file pre-commit suite passed
- exact GitHub merge tree matched locally

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 20:44:21 +08:00
yangzhuxinyzx cb279096b2 [Core][SM70] Add opt-in MTP concurrency warmup (#272)
Add an opt-in SM70 MTP expanded warmup while preserving the existing startup path by default. The explicit gate covers alternate batch signatures, draft top-k, and Mamba postprocess without changing model state or hot-path semantics.

Test Result:
- 3 focused warmup/default tests passed
- full changed-file pre-commit suite passed
- exact GitHub merge tree matched locally

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 20:32:44 +08:00
yangzhuxinyzx 8234d01a83 [Kernel][SM70] Optimize exact-8K block-FP8 prefill on V100 (#271)
Generalize the accepted SM70 exact-8K block-FP8 prefill route to operator-level admission without model identity checks. Preserve the matched +3.46% Qwen3.8 validation result, keep experimental collective warmup default-off, and remove the inherited QPN8 model whitelist.

Test Result:
- 20 focused FP8/QPN8 tests passed
- full changed-file pre-commit suite passed
- exact GitHub merge tree matched locally

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 20:30:39 +08:00
yangzhuxinyzx 7c91e7caee [Kernel] Recover Qwen3.8 FP8/NVFP4 SM70 decode (#258)
Merge the quality-gated mixed-NVFP4 SM70 decode recovery while keeping pure-FP8 QPN8 opt-in until its equal-interval speed gate is closed.

Audit:
- rebased onto current main and resolved ModelOpt/SM70 integrations
- mixed NVFP4 keeps its validated route-specific default
- pure FP8 QPN8 defaults off with explicit opt-in
- 86 focused sampler and quantization tests passed on V100
- complete changed-file pre-commit and diff checks passed
- exact merge tree verified against main e69fad06

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 20:01:47 +08:00
yangzhuxinyzx e69fad0694 [Core][SM70] Split MTP verifier and drafter CUDA Graph shapes (#256)
Add opt-in split CUDA Graph ownership for SM70 MTP while retaining the legacy path as the default.

Audit:
- unproven route changed from default-on to explicit opt-in
- 12 focused shape/default tests passed
- changed-file pre-commit and diff checks passed
- exact merge tree verified against main c4e80ba2

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 19:49:04 +08:00
yangzhuxinyzx aaed5c9a78 [Core] Backport DFlash2 with SM70 correctness (#253)
Backport the DFlash2 correctness closure for SM70 on top of the merged MRV2 base.

Audit:
- preserved DFlash1 and MTP probabilistic defaults
- fixed processed-logit cache column stride handling
- 33 focused DFlash2/default tests passed on V100
- changed-file pre-commit and diff checks passed
- exact merge tree verified against main 933371fa
- existing matched TP4 correctness and acceptance evidence retained

Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
2026-08-24 19:41:52 +08:00