Files
sglang/docs/advanced_features
laoyao0822 b4f5c3bc0e Record CP shared KV IPC materialize evidence before runtime wiring
The materialize transport direction changed after measurement: direct CUDA IPC peer-page materialize was initially slow because of an under-parallel launch policy, not because slot-dense materialize was inherently too expensive. Capture the corrected evidence and the remaining production constraints before SGLang runtime wiring starts.

Constraint: Current near-term goal accepts SM-consuming kernels for low latency/high throughput; low-SM prefetch friendliness is deferred.

Rejected: Treat the first slow IPC result as a design blocker | tuned launch parameters beat dense all-reduce across the measured 4k-120k prefix range.

Rejected: Switch consumers to owner-concat immediately | slot-dense fused materialize is competitive enough to preserve the current consumer contract for the next integration step.

Confidence: medium

Scope-risk: narrow

Directive: Keep this document updated with every benchmark/result correction to avoid re-litigating stale conclusions.

Tested: Documentation update based on remote g0034 tai-kernel CUDA tests and cp_shared_kv_ipc_sm_tuned_20260531_181926 benchmark log

Not-tested: SGLang runtime ETE serving with IPC materialize enabled
2026-05-31 18:28:59 +08:00
..
2025-11-16 19:36:33 -08:00