Nov 29, 2026
Backpropagation Through a Loop: How Inkling Shares Weights
Follow three passes through a shared weight, work out its gradient by hand, and try four loops with worked solutions.
Read post →Tagged With
14 posts connected to this tag.
Nov 29, 2026
Follow three passes through a shared weight, work out its gradient by hand, and try four loops with worked solutions.
Read post →
Nov 13, 2026
Follow LoRA gradients through a worked rank-one example, compare AdamW and Muon, understand QLoRA and GGUF backward requirements, and connect the math to data and the training pipeline.
Read post →
Oct 19, 2026
From scalar wx+b through housing GEMM, AdamW and Muon, a nonlinear FFN, and a measured scaling spectrum.
Read post →Oct 15, 2026
A five-pixel Conv1D worked from patches through Jacobians and backprop, followed by measured gradient descent learning a synthetic edge filter.
Read post →Jul 22, 2026
Derive softmax and softplus, trace Laguna's learned gate projection through full attention and backpropagation, and compare where modern model families use softplus.
Read post →Jul 14, 2026
A visual, source-linked derivation of Nemotron inference, training forward, backpropagation, and quantization across Mamba2, attention, ReLU2, and routed experts.
Read post →
Jun 12, 2026
A capstone walkthrough of the full LLM backward pass: loss to LM head, final norm, decoder layers, attention, FFN, residual splits, embedding scatter-add, training loop, AdamW, and C-Kernel-...
Read post →
Jun 11, 2026
Lab note Previously: Attention: The Core Of The Transformer. The previous post showed how attention routes information sideways across a sequence. This post is about the architectural trick ...
Read post →
Jun 10, 2026
Attention is the core transformer mechanism: Q/K/V projections, head splitting, RoPE, scaled dot-products, masking, softmax, weighted value sums, GQA, Flash Attention, and the full backward ...
Read post →Jun 6, 2026
Lab note Companion post to the Activation Functions carousel. Previously: Softmax: The Probability Engine. The previous Softmax post ended with a strange contrast. Softmax was beautifully sm...
Read post →Jun 5, 2026
Lab note Companion post to the Softmax carousel. Previously: Matrix Wx+b: From Scalars To Transformers. The previous post was about the moment a scalar weighted sum grew into a matrix multip...
Read post →
Jun 4, 2026
A step-by-step explanation of how scalar wx+b becomes matrix Wx+b, how shape rules govern transformer layers, and why GEMM is the physical kernel underneath modern models.
Read post →
Jun 3, 2026
Lab note This is the companion post to today's backprop-wxplusb carousel. I wanted a version with more room for the pictures, the algebra, and the engineering intuition. Previous post in thi...
Read post →
Jun 2, 2026
Lab note This post walks through the derivative and chain rule from first principles, with visualizations. It is the companion piece to my carousel post on the same topic. I needed this topi...
Read post →I write about the maths, the kernels, and what happens when I try to make them work. Join me for the investigations, including the bits that go wrong.
Get the illustrated field guide by email, followed by engineering notes as I write them.