Story of Attention - Part 1: Before the Transformer
From n-gram counting and RNNs to the first attention mechanisms.
Experiments in model architecture, training, evaluation, and efficient inference
How weight quantization and sampling temperature jointly affect LLM safety alignment — a factorial analysis of the interaction.
Sustained-load benchmarks across mobile, NPU, and GPU platforms reveal how LLM inference performance really degrades under back-to-back requests.
From n-gram counting and RNNs to the first attention mechanisms.
How we used an ensemble of on-device models to build consumer AI that works offline, costs nothing to run, and never leaves the phone
Your GPU sits nearly idle during token generation — the memory-bandwidth bottleneck behind LLM latency, and how speculation exploits it.
A fine-tuned 4B open-source model that beats frontier models at tool calling, with p95 latency under two seconds on a single GPU.
Conscious Engines
How we used an ensemble of on-device models to build consumer AI that works offline, costs nothing to run, and never leaves the phone
Conscious Engines
Running a 27B model (1-bit) on my phone and letting it perform agentic tasks
Conscious Engines
A 203M-parameter language model, trained for 14.76B tokens and deployed as one fixed specialist.
Conscious Engines
Optimizing DiffusionGemma (26B-A4B-IT-4Bit) on an Apple M5 Pro, what worked, what didn't.
Conscious Engines
A ternary-quantized 27B model that scores like an 8B on tool-calling - but deletes active records when nobody double-checks the honest answer.
Conscious Engines
The draft-then-verify algorithm behind speculative decoding, its rejection-sampling proof of losslessness, and the metrics that matter.
Conscious Engines
Your GPU sits nearly idle during token generation — the memory-bandwidth bottleneck behind LLM latency, and how speculation exploits it.
Conscious Engines
Every major speculative decoding method compared: Medusa, lookahead, SpecInfer, Sequoia, self-speculation, and more, mapped in one guide.
Conscious Engines
Three generations of EAGLE speculative decoding, from feature-level drafting to state-of-the-art speedups — compared side by side.
Conscious Engines
DFlash and DDTree fill an entire token block per drafting pass, pushing speculative decoding speedups past 7x over sequential drafters.
Conscious Engines
Why diffusion language models, which denoise a full sequence instead of writing left to right, can outperform autoregressive models on some tasks.
Conscious Engines
A practical guide to enabling EAGLE, n-gram, and Medusa speculative decoding in vLLM and SGLang, with real production speedup numbers.