QUESTION 14 OF 15

What consumes GPU memory during LLM inference?

Reveal the answer and explore the explanation.

14
MediumHigh priority

What consumes GPU memory during LLM inference?

Answer
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 ↗

Last 30 min revisionHigh-yield interview Q&As