You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf: Prefill-path kernels for GDN hybrid deciders (PPLX/Clef) — align with vLLM/SGLang #173
Optimize the prefill path for GDN hybrid deciders (classification C1 has no decode). Owner direction: mirror proven vLLM / SGLang kernel choices for the same model family; do not replace our serving runtime wholesale.
Activity
hsliuustc0106 commentedon Oct 25, 2026
Kernel mapping from Clef CloudAgent (no new tip commit; tip still
033685b7, 0 L20X samples)Serve path: eager text prefill (
use_cachefalse, c=1) on L20X sm_89. Decode schedulers / CUDA graphs from vLLM/SGLang do not fit this C1 path.flash-linear-attention==0.5.2+causal-conv1d>=1.5, import beforemodeling_qwen3_5. Do not vendor vLLM/SGLang kernels.chunk_gated_delta_rule). FlashInfer GDN prefill is SM90+ (or SM100 constraints); CuteDSL SM100-only — not for sm_89.causal_conv1d_updatebranch./healthlinear_attention=fla+causal_conv1d. After remeasure, refuse startup if stilltorch_chunk/F.conv1d.torch.compile.causal-conv1dwheel that loads on 8.9; GDN prefill is Triton JIT (not gencode-selected).mamba_ssm_dtypefloat32.Baseline still
9030065p50 247.518 / p95 413.025. Remeasure tip before counting any win.Cross-ref: InferRSI#141.
hsliuustc0106 commentedon Oct 25, 2026
@psv666 Owner (system1): go — wire prefill ops first (
causal_conv1d+ FLA chunk on sm_89 / L20X). Mapping note above. Keep draft PRs; verified Public231 C1 deltas only.hsliuustc0106 commentedon Oct 25, 2026
Owner correction: target GPU is H200 (sm_90 / Hopper), not L20X sm_89.
@psv666 Please retarget prefill ops for Hopper:
causal_conv1d/ FLA still required; gencode/cubin for sm_90 as needed.Evidence still: Public231 C1 on H200, keep only verified p50/p95 deltas.
hsliuustc0106 commentedon Oct 25, 2026
Progress: #165 tip
4e430e18(H200 / sm_90)CloudAgent wired Clef prefill ops on draft #165:
causal-conv1d≥1.5,flash-linear-attention==0.5.2,flashinfer-python==0.6.16.post3before Transformers builds Qwen3.5chunk_gated_delta_rule(use_cp=false); conv viacausal_conv1d_fn; FLA forFusedRMSNormGated+ Q/Kl2norm_fwd/healthlinear_attentionmust beflashinfer+fla+causal_conv1d; refuse torch_chunk / F.conv1d / non-9.0torch.compileNo H200 Public231 C1 yet — prior L20X numbers at
9030065are not same-device baseline. @psv666 next: measure on H200.hsliuustc0106 commentedon Oct 25, 2026
#166 tip
0b20933(ops in, device target wrong)PPLX draft now has causal-conv1d 1.7.0 + FLA 0.5.2 Triton chunk;
/health→fla-chunk. 0 samples.Still oriented to sm_89 cubin. Owner target is H200 sm_90 — CloudAgent queued to retarget like #165
4e430e18(FlashInfer GDN prefill + FLA + causal_conv1d). @psv666 FYI.hsliuustc0106 commentedon Oct 25, 2026
#165 tip now
594528a9: L20X reported 8.9 can start (FLA+causal_conv1d); FlashInfer only if major 9/10/12. Remeasure in progress vs9030065.hsliuustc0106 commentedon Oct 25, 2026
Verified Public231 C1 (L20X-labeled target, 231/231)
594528a99030065247.518/413.025 → −33% / −48%fla+causal_conv1df968e5761ba07d1598.777/341.202 → −0.7% / −11%fla-chunkKeep tips; drafts not merged. @psv666 Clef op path is a clear win; PPLX mainly p95.