keshan@blog:~$ ./home.sh
live

From 3.17 to 1,850 tok/s: Unlocking 583x Faster Gemma 4 Inference on a Free TPU

How dissecting Gemma 4 E2B-it's 20 KV-shared layers cut KV-cache memory by 57.1%, eliminated 432 XLA recompilations via device-tensor indexing in PyTorch (161.9 tok/s, 51.1x) and pure JAX lax.scan +...

./read_more.sh

~/articles

Explore my thoughts on Machine Learning, AI, and Systems Engineering