Ashish Pandey
  • Writing
  • About
Categories
All (3)
attention (1)
inference (1)
kv-cache (1)
serving (1)
tokenization (1)
transformers (1)
Learning in public

Ideas in data and AI, explained the way I wish someone had explained them to me.

Intuition first, in an everyday analogy. Then the mechanism, the maths and the code. Then the part most write-ups skip: where it breaks.

Written by Ashish Pandey
Numbers measured, not quoted
Latest writing

The KV cache: why generation is fast at all

kv-cache
inference
serving

A 16× speed-up with identical output, paid for in memory — and the reason your GPU serves fewer users than you expected.

Sep 20, 2026

Attention: how a model decides what matters

attention
transformers

Every word gets repainted using the words around it. That single idea is what made modern AI work — and what makes long context expensive.

Sep 20, 2026

Tokens: how text becomes numbers

tokenization

A model never sees your words. It sees pieces — and which pieces it gets decides what it costs, how much fits, and how much meaning survives.

Sep 20, 2026
No matching items

© 2026 Ashish Pandey

 

Built with Quarto