Forget Less, Leak More: The Memory Trade-Off Eating AI
A company says its new model needs far less memory to keep track of a long conversation. A data leak at Cloudflare shows why that same memory has to be guarded.
Read the story · 6 min4 stories from The Daily Inference on KV cache, newest first.
A company says its new model needs far less memory to keep track of a long conversation. A data leak at Cloudflare shows why that same memory has to be guarded.
Read the story · 6 minA language model keeps a running set of notes, called the KV cache, so it does not redo its work for every new word. Those notes grow with every token and every user, and engineers have four main ways to shrink them.
Read the story · 6 minOpenAI's premium speed tier ran on Cerebras chips for one model and runs on Nvidia GPUs for the next. Behind the switch is how an AI answer gets made, and why the wait is mostly about memory, not arithmetic.
Read the story · 8 minA chatbot chip can do far more arithmetic than it ever gets to, because for every word it writes it must haul the whole model in from memory. Here is why that sets the speed of every answer, and what Nvidia and Groq are doing about it.
Read the story · 9 min