Notes

Things I studied, rewritten short. Each note keeps the core idea, the math that matters and something to play with.

16 notes · 6 topics · 104 interactive pieces · built with Claude Fable 5.2

Training systems

How large models train across many GPUs: parallelism and async RL.

Optimisation

Optimisers, and the math that makes them work.

Architectures

Model designs, one paper or one model at a time.

17 min read 6 interactive

Qwen3 Omni vs VL MoE: a list of experts or one tensor

Qwen3 Omni stores each expert as its own MLP module and loops over them. Qwen3 VL stacks all experts into two tensors and, at inference, runs them with two batched matmuls. That storage choice decides how easily the layer shards across GPUs.

Mixture of ExpertsQwen3expert parallelismbmmPyTorch

21 min read 7 interactive

Kimi K3: a fixed-size memory, 896 experts, cheap sandboxes

Kimi K3 runs 69 of its 93 layers as Kimi Delta Attention, a linear attention with one fixed 128×128 state per head, and spends the budget on an 896-expert MoE and agentic RL in microVMs. This note prices each part and marks what the sources do not prove.

Kimi K3KDAlinear attentionMoEagentic RL

19 min read 7 interactive

Engram: look up fixed patterns instead of recomputing them

Engram hashes the last 2 and 3 tokens into rows of large learned tables, gates what it reads against the hidden state, and adds it to the residual stream. Memory becomes a second kind of sparsity next to MoE.

Engramn-gram memoryhashingsparsityMoE

19 min read 7 interactive

NEO: one transformer reads pixels and words

NEO drops the vision encoder. Image patches enter the same layers as text, and new row and column RoPE channels give the image a 2D layout without touching the LLM.

NEOnative VLMRoPENative-RoPEattention mask

20 min read 7 interactive

SenseNova-U1: one backbone that reads and draws pixels

A native multimodal model with no vision encoder and no VAE. Two weight streams share one attention: one reads clean 32×32 pixel patches, the other turns noisy patches into clean ones.

SenseNova-U1unified multimodalMixture-of-Transformersflow matchingNative-RoPE

20 min read 7 interactive

OneVision-Encoder: spend video tokens only on surprise

A video codec already marks the patches that the previous frame cannot predict. OneVision-Encoder keeps only those patches, from 64 frames, and gives them to a plain ViT at the token cost of 8 frames.

OneVision-Encodervideo encoderHEVC3D RoPEtoken sparsity

Generative & world models

Diffusion, flow matching and prediction in latent space.

Agents

How LLM agents are built, trained, and made to improve themselves.

Model behaviour

What models represent, and what they do with it.