Commit Graph
11 Commits
Author SHA1 Message Date
Niko1221 a84eebb513 Remove STRATA_DF2_COUPLED (coupled sampled picks): at a fixed 8-row window it does not raise acceptance (tokens per round -1.7% short / -0.4% long, first-draft match 0.616 vs 0.629; draft temperature 0.6 / 1.5 / 2.5: 2.885 / 2.728 / 2.559 vs 2.868 tokens per round plain), the selector's argmax is the better draft 2026-11-01 15:02:51 +01:00
Niko1221 3b1d9ae360 DF2-MORE: serve STRATA_SPEC_TRACE (per round window, accepted, selector probabilities, drafts, lookup draft, committed tokens; bench only) and STRATA_DF2_COUPLED, the selector's picks drawn with the target's Philox uniform for sampled requests (opt-in, verify unchanged) 2026-11-01 13:32:20 +01:00
Niko1221 9df71d5980 DFlash2: opt-in Q4_0 drafter pack (from 15165e170): dtype q4_0, tools/dflash2_pack.py --q4_0, nibble-packed tiled weights, gemm4_kernel, df2_q4_tile at load, CPU parity test dflash2_q4_parity 2026-11-01 10:20:59 +01:00
Niko1221 d7e50a515b DFlash2 drafter (bitwise): draft head through the interleaved Q5_K kernel, drafts only to the widest window - 1, R-split Q8 GEMM by matrix size, one rope table launch with precomputed inverse frequencies, selector projection beside the head, 128-thread QK tile variant (bench) and bench harnesses that check bitwise equality 2026-11-01 10:20:18 +01:00
Niko1221 7a498a05b4 serve --draft auto: the idle drafter's upkeep is queued on its own stream and waited for before the next window (DFlash2 context_async / context_wait, MTP prefill without sync) 2026-10-31 23:29:51 +01:00
Niko1221 6667ac43d4 wip: DFlash2 in the serve loop (ring stamps, request history, prompt rows, spec loop), serve test harness 2026-10-31 19:04:57 +01:00
Niko1221 3ae2123bce dflash2: --draft-conf (window cut by the selector's cumulative probability), drafter streams at high priority on CUDA 2026-10-22 08:51:54 +02:00
Niko1221 6f83fe2c42 dflash2: drop the cache-touch kernel (no gain), wait-commit measurement switch 2026-10-21 19:46:26 +02:00
Niko1221 89799596a6 dflash2: fused conv+residual+norm+quant, q/k norm+rope, K/V ring write and attention-output quantization; stage skip switches and small benches 2026-10-21 16:34:27 +02:00
Niko1221 5bc7f8cab3 dflash2: tiled Q8 GEMM, fused quantizers, head-major K/V ring with a prefetching attention, forked context update, PLE read-ahead, benches 2026-10-21 15:31:29 +02:00
Niko1221 7f97c35aca DFlash2 drafter for Qwen3.8-Flash-Next: Q8_0 pack tool, GPU forward (conv, K/V ring, windowed attention, top-16 selector), permanent verify/prefill taps, --draft dflash2 --draft-model (opt-in, MTP stays the fallback) 2026-10-21 14:04:15 +02:00