GPT-2 KV caching experiment: 1,000x fewer estimated FLOPs, about 6x lower per-token latency
I implemented GPT-2 small and KV caching in PyTorch to connect the maths with actual inference measurements. I have written up the experiment as the first post on my new blog. Setup: NVIDIA A40, fp32 with TF32 disabled, batch size 1, greedy decoding, CUDA synchronization around timings, median of f…
Read the full story at r/deeplearning ↗
Timeline · 1 report
- 2026-10-18 08:19 · r/deeplearning
GPT-2 KV caching experiment: 1,000x fewer estimated FLOPs, about 6x lower per-token latency
More stories
- I built a GPT-2 KV cache from scratch: the tests that passed with a bug, and the memory numbers I got wrong — r/learnmachinelearning
- An Nvidia insider-turned-VC on why robotics hasn’t hit its ChatGPT moment, yet — TechCrunch AI
- NVIDIA RTX Spark Laptops Launch Globally With Local AI Agent Support — NVIDIA Blog
- RTX Spark Ignites Global Celebration as New Windows PCs Arrive — NVIDIA Blog
- Gemini 4 Argon rollout draws criticism over restrictive usage limits — r/singularity
- OpenAI introduces shared team task features for ChatGPT — OpenAI YouTube
- Hinton and Huang Clash Over AI Safety and Chip Sales — CNBC Technology
- Stack Overflow for Agents sees tripled signups via ChatGPT plugin — OpenAI News
Get the daily brief of stories like this at 6:30 every morning →