What consumes GPU memory during LLM inference?
Reveal the answer and explore the explanation.
14MediumHigh priorityWhat consumes GPU memory during LLM inference?
Answer
MediumHigh priority
What consumes GPU memory during LLM inference?
Answer
Available device memory allocated among weights, activations, KV cache and runtime overhead.
Practical example
Choose batch and context sizes that avoid out-of-memory errors.
Reference: Further reading ↗