Repository navigation
[Feat] [GB300] kimi-k3: TP8 DSpark, long contexts and optional runtime APIs - #25
Conversation
Matched TP8/q6 validationTested SGLang
End-to-end output throughput, with 1,024 forced output tokens per request:
Each cell uses two warmup waves and five measured waves; throughput is batch output tokens divided by median client-observed makespan. Both arms use greedy generation and fresh servers, in a fixed stock-then-specialized sequence. These are descriptive full-request workload measurements, not isolated kernel speedups or decode-step latency. Generated histories differ in 39/50 measured request pairs; accepted drafts/verification on this timing workload are 3.5261 stock / 3.4553 specialized. The five rounds are not independent server launches. Numerical scope: the previously observed canary difference recurred exactly in two repeats (same-token absolute log-probability difference 0.5588 against tolerance 0.5) and remains recorded as FAIL. Task-quality and timing results were collected separately; no new numerical failure was observed. These results do not establish bitwise equivalence or an all-numerical-checks-pass result. |
194d693 to
e64e4d0
Compare
Prefer the new spec and binding namespaces, falling back only when the requested namespace is absent. Keep missing symbols and dependency errors visible, and exercise both import layouts without changing execution semantics.
Bind separate KDA verification checkpoints and leave acceptance and persistent-state commits to SGLang. Publish the configured auxiliary mixtures, prepare uniform q4-8 token-row policies, and normalize inactive MLA metadata in owned graph-safe storage. Preserve ordinary one-token decode and the native draft path.
c780462 to
90e1b1b
Compare
Combine the requested-width preparation from 8400331cb989de840d55f6fd33cf2d1068f0dbb5 with default-off prefetch and the experts refresh. Attach prefetch to the single-row chain only when that chain was prepared. Exercise omitted and explicit OFF, ON with and without a single-row owner, q6 preparation, and controller table/resource reuse. Host qualification only; combined native GPU and serving validation remain pending. Defaults, kernel arithmetic, attention backend and public framework behavior are unchanged.
…mi payload Merge upstream f0f7bf1 (sgl-project#36) in an isolated private candidate. Preserve the complete Kimi production/test tree at d3b1ba4, including API v2, strict import guards, DSpark, long context, dormant capabilities and its verified 43-file payload digest. Preserve upstream DeepSeek, Qwen and CPU CI changes exactly. No GPU qualification or public activation is conferred.
Carry the exact one-line correction from upstream sgl-nvidia-mega sgl-project#37 (c396f2a). The framework CI pin and all runtime, test, and packaging files are unchanged; this is a private CI-only follow-up, not a runtime rebase.
Record the upstream ancestry of the already-applied CI collection correction. Preserve the complete tested candidate tree and reviewable feature commits. No runtime, payload, public exposure, or qualification change.
8cb6386 to
82a0e49
Compare
AgentX-derived C1 performanceCompared stock and specialized execution on eight GB300 GPUs: TP8, five draft proposals/q6, stock RadixArk draft execution, and AgentX’s acceptance setting of 3.53 including the bonus token. Each arm completed a full one-hour measurement.
Both runs met the harness validity requirements and exercised inputs exceeding 250K tokens. This uses the AgentX protocol with the RadixArk draft substituted for its prescribed draft. Aggregate p90 TTFT was 2.483 s versus 2.705 s; the specialized run progressed farther into the workload. Across 463 shared successful trace turns, p90 TTFT was 2.495 s versus 2.469 s. Four stock and three specialized empty-response errors remain included in the results; their exact cause is unresolved. |
This consolidates Kimi K3 TP8 target verification, bounded long-context support
and optional providers behind the hybrid runtime/API-v2 interfaces merged in
SGLang #45406. Enabling the
plugin does not enable speculation. Ordinary decode remains ordinary decode;
when DSpark is explicitly configured, the qualified serving configuration is
five-draft/q6 with stock draft execution and native acceptance. TRTLLM MLA and
DCP off remain the registered defaults. Ordinary decode and q6 have matched real-weight
functional evidence through a 262,144-token deployment context, including a
262,000-input/128-output edge case, mixed lengths, request retirement/reuse,
hidden-state handoff and graph replay. These are bounded numerical/functional
results, not global bitwise equivalence or task-quality qualification. AgentX-derived
performance on the published plugin and merged framework is reported below.
API docstrings describe defaults, opt-ins and framework requirements. Admitted
shapes and implemented APIs are not blanket GPU qualification:
The broad configured-width experiment retains five numerical failures under
unchanged thresholds. Those configurations are not newly qualified by this PR.
A separate registered-default width-64 published/candidate control matched
64 sequences and 4,096 selected-token log probabilities exactly; that is not a
native-stock accuracy proof or a waiver of the broader failures. Legacy B64
admission is unchanged; a public default-path regression has not been established. Optional-ON
combinations, DCP long contexts and TP16 are not claimed.
Public tests are redesigned around essential admission, DSpark state/metadata
and optional-resource regressions, retaining the existing merged contracts.
PR test additions are reduced 81% (7,351 → 1,373 lines); extensive qualification
suites are maintained separately. Native Linux ARM64 CPU validation passed
594 tests and 185 subtests with zero failures, errors or skips across 21
plugin files and four framework suites in one process, using plugin
47b71a8fece935de57585b1e4a235e0954532cb6and merged SGLangaa3e34aaebf880d72482cea74dbbfef54da728e2. Production code and kernel payloadare unchanged. Earlier GPU correctness and AgentX evidence retain their exact
tested revisions; this test-only redesign does not change numerical standards.
The pinned lint hooks pass.
Validation includes native CPU imports, registration and API contracts,
optional-dependency rejection, ownership/layout guards, wheel/source integrity
and frozen-payload checks. The payload checksum reflects the actual included
KDA/AttnRes and subsequent intentional adaptations; unrelated model and shared
CI changes are preserved. CPU contracts and test-local mocks are not GPU
qualification. Historical matched GSM8K evidence remains 1,283/1,314 specialized
versus 1,284/1,314 stock on its recorded q6/8K pair; the separate 0.5588 logprob
canary FAIL is preserved. No new GSM8K accuracy result is claimed.
AgentX-derived C1 performance
Tested the published plugin
82a0e49218c7e855bafb43285e3a3f7e1787899ewithmerged SGLang
aa3e34aaebf880d72482cea74dbbfef54da728e2(including the finalSGLang #45406 KDA state-routing correction). Each arm completed a full one-hour
measurement on eight GB300 GPUs: TP8, C1, five draft proposals/q6, stock
RadixArk draft execution, and AgentX's acceptance setting of 3.53 including
the bonus token. Both runs met the harness validity requirements and exercised
inputs exceeding 250K tokens.
The RadixArk draft replaces AgentX's prescribed draft, so these are
AgentX-derived results. Four stock and three specialized empty-response errors
remain counted. Aggregate p90 TTFT was 2.483 s versus 2.705 s; across 463 shared
successful trace turns it was 2.495 s versus 2.469 s, with the faster run reaching
additional workload. See the performance update
for the comparison and retained limitations.