Skip to content

v26.11.4-botdev.3 — Bit-Exact Batched Speculative Decoding (N=2..4)

Choose a tag to compare

@jeberly jeberly released this 29 Nov 06:05
· 11 commits to main since this release

Bit-exact batched speculative decoding across N=2..4 concurrent streams on both flagship models — one unified ReleaseFast binary, 0 bit diffs against 1-row serial decode across greedy, mid-stream join/leave, cancel, and seeded stochastic runs.

Verified Mac Studio M5 Ultra Results

Model / Pack Hardware Solo Decode Concurrent Batched Spec (N=2 / N=3 / N=4) Peak Wired
Full 744B GLM-5.3 (4-bit) 512 GB M5 Ultra 47–49 tok/s (57.9 code; 27 plain) 53.4 / 59.5 / 62.2 tok/s (0 diffs; +17% to +24% vs plain batched) 407.8 GiB
DeepSeek-V4.1-Flash Lossless 512 GB M5 Ultra 136–167 code/edit (61 plain) 102.6 / 146.2 / 153.6 tok/s (0 diffs; +14% to +34% vs plain batched) 300.8 GiB
DeepSeek-V4.1-Flash twig Hybrid 256 GB M5 Ultra 149–187 code/edit (70 plain) 123.4 / 161.5 / 163.6 tok/s (0 diffs; +31% to +53% vs plain batched) 216.2 GiB

What's New

  • GLM-5.3 (glm_moe_dsa): Bit-exact batched speculative decoding (batched_spec=on for N=2..4), vec<T,4> threadgroup SRAM verify kernels avoiding Apple GPU's 16 KiB occupancy cliff (-20.5 ms on R=8 qkv+o), R=2..16 dual-64-bit ballot MoE dedup, batched depth-by-depth MTP draftBatch sharing lm_head and MTP MoE across active slots, confidence-gated bonus verify rows (R <= 10, cum_p >= 0.94), and position-keyed RNG parity for seeded sampling (temp > 0).
  • DeepSeek-V4.1 (deepseek_v41): --exact-group-verify for bit-exact concurrent DSpark drafting + verification up to R=16, fused batched stage drafting (stageInputFused / stageAttention / stageMoeFused + slim tiled draft in_proj), 128-bit ballot --dec-hyb-dedup lifted to R=2..16 (register-chunked shared expert + colliding hot MXFP4 dedup), true-round draft_ms group pricing + GroupCost compile-spike guard, and startup R=2..16 pre-warming under --dspark-warm.
  • scripts/serve-twig.sh: Enables --exact-group-verify (both 256 GB and 512 GB profiles) and --dec-hyb-dedup on the 256 GB profile by default.