← Writing

Topic

quantization

4 posts tagged quantization.

inferenceJul 21, 2026 · 17 min

2.34× faster LLM decoding: FP8 weights and native speculative decoding on Gemma-4

The full path to 2.34× single-stream decoding of Gemma-4-26B on one A100: a batch-1 byte budget that named the only two levers, FP8 weights, a one-line vLLM patch that switched the model's own speculative head back on, a tuned kernel that did nothing, and the benchmark that first reported the win as a loss. Exact same output.

llmspeculative decodingquantization
2.34×faster Gemma-4 decoding, same output127 tok/s297 tok/s
videoJul 17, 2026 · 20 min

Fixing block-sparse INT8 attention for Wan 2.2 — and a 1.78× two-expert cache

The published SOTA sparse-attention kernel gives ~1× on Wan 2.2 out of the box, because its block selector marks most video-latent blocks 'unpredictable.' Swapping only the selector recovers 1.3–1.76×. Plus a step cache tuned to the model's two experts, and a free sparsity signal already in the kernel's registers.

video generationattentionsparsityquantization
1.78×two-expert step cacheno cacheper-expert
edgeJul 11, 2026 · 21 min

Custom on-device voice commands from zero recordings.

How we trained a fully-functional voice AI model in <1min for Qualcomm edge silicon (and you can too!).

speechon-devicequantizationsynthetic data
1.24 msper on-device voice-intent inference (Snapdragon 8 Elite)
imageJul 4, 2026 · 19 min

6.1× smaller, 5.77× faster, same FID: compressing a coupled-oscillator image model

The full path to a 6.1× smaller and 5.77× faster Un-0 CIFAR-10 model at unchanged clean-FID: the byte budget that named two levers, a Monarch coupling that cuts 16.8M params to 0.52M, a tensor-core path worth 4.82×, the quality gate that rejected a bigger model, and the custom-kernel work that mostly failed. clean-FID held at 8.98.

image generationdistillationquantization
5.77×faster image generation at equal FID102 ms17.7 ms