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
A field guide to diffusion language model architectures — how LLaDA, Dream, Block Diffusion, and MoE variants like LLaDA 2.0 approach denoising.
Conscious Engines
Diffusion LLMs share transformer modules with AR models but not inference physics — why GPTQ, AWQ, and QuaRot fail, and what fixes them.
Conscious Engines
A walkthrough of Apple Foundation Model 3's on-device architecture — the routing changes that let a 20B-parameter model run on a phone.
Conscious Engines
A technical postmortem on adapting the Drifting one-step generative framework to text, and the two failure modes that derailed it.
Conscious Engines
Testing whether GAN-style linear latent editing transfers to LTX-2, a modern video diffusion model, and what the geometry reveals.
Conscious Engines
A retrieval architecture that routes natural-language intent across thousands of API tools, combining lexical and semantic search stages.
Sabesh B
An empirical evaluation of speculative decoding on Apple Silicon, across a 300-run parameter sweep
Conscious Engines
What actually fills GPU memory during finetuning, and a decision framework for picking DDP, ZeRO/FSDP, tensor, or pipeline parallelism.
Conscious Engines
The mechanics behind DDP's near-linear throughput scaling, and the misconfigurations that silently turn a 1.9x speedup into 1.3x.
Conscious Engines
Splitting weight matrices across GPUs instead of replicating layers — why it wins without NVLink, and how LoRA complicates sequence parallelism.
Conscious Engines
How pipeline parallelism splits model layers across GPUs, where the pipeline bubble comes from, and the 1F1B schedules that shrink it.
Conscious Engines
How ZeRO shards weights, gradients, and optimizer state across GPUs to fit models that don't fit on one card, and what each FSDP knob does.