---
title: "Discussion on \"KV Cache Is the Real Bottleneck in Long Context Inference\" | Hashnode"
description: "Discussion on \"KV Cache Is the Real Bottleneck in Long Context Inference\". If you have been benchmarking LLM inference and wondering why latency and batch size collapse as context grows, the answer is usually not FLOPs. It is memory, and specifically the key value cache. Dur"
url: "https://hashnode.com/posts/kv-cache-is-the-real-bottleneck-in-long-context-inference/69a77aa056428acc6f1f9273"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [KV Cache Is the Real Bottleneck in Long Context Inference](https://mauriziomorri.hashnode.dev/kv-cache-is-the-real-bottleneck-in-long-context-inference?utm_source=hashnode&utm_medium=feed)

If you have been benchmarking LLM inference and wondering why latency and batch size collapse as context grows, the answer is usually not FLOPs. It is memory, and specifically the key value cache. Dur

Mar 4 · 3 min read · mauriziomorri.hashnode.dev  
Read the article

## Written by

[Maurizio Morri](https://hashnode.com/@mauriziomorri)

@mauriziomorri

  
[View profile](https://hashnode.com/@mauriziomorri)

Biology, AI, Molecules and Machines

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
