Skip to content
Residual Stream

About

Residual Stream is a personal notebook on LLM internals and AI engineering. It exists mostly so that things I’ve had to re-learn more than once — how attention actually works, why KV caches matter, what paged attention is solving, how quantization trades off precision for memory — end up written down somewhere I can find them again.

Expect posts on:

Posts often include math (rendered with KaTeX), diagrams, and small interactive visualizations where a static image would leave out the interesting part.

About the author

I’m Tan Le, an AI engineer. I write these posts to learn the field in depth myself, tracing each idea back to its paper and running the code where I can, and I hope they’re useful to anyone starting the same path.

This site is built with Astro on top of the AstroPaper theme.