For large language models like Llama 3 70B, the KV cache alone can consume over 40GB of GPU memory for a 128K context, frequently exceeding the model's weights and potentially becoming 2.4 times larger at 8 concurrent users.
Open the full topic