Tinkerings
  • Drafts
Photo of the author

Notes to build mental models for how things work.

What kappa does

evals

Agreement minus luck, divided by the room above luck. Why a judge is gated on kappa but not picked on it, from the Legal Research Bench calibration study.

Nov 7, 2026

Linear attention: a memory that is learned

attention
Linear attention swaps the growing KV cache for one matrix of fixed size. Each token updates the matrix with one gradient step, then reads it. Per-token memory and compute…
Jan 10, 2026

Triton Kernels

gpus
Modern GPUs have massive compute but limited memory bandwidth. The key metric is arithmetic intensity (AI):
Sep 8, 2025

Context Parallelism

distributed-training
Context Parallelism (CP) is a distributed training technique that enables training of LLMs with extremely long sequences (up to 1M tokens) by sharding the sequence dimension…
Sep 3, 2025

Expert Parallelism

distributed-training
Let’s distill how to run a Mixture-of-Experts (MoE) model with expert parallelism with an example.
Sep 1, 2025
No matching items

Tinkerings