All Questions
Llm Inference Serving easy

Your model's fp16 weights are 140 GB, and quality requirements rule out quantization. Each GPU has 80 GB of memory. What must you do to serve this model?

  1. A Use tensor parallelism across several GPUs, splitting each layer's weights so the model and KV cache fit.
  2. B Run data-parallel replicas on two separate GPUs, so each one handles half of the incoming request traffic.
  3. C Increase the batch size, so the weight memory is amortized across more requests and the footprint shrinks.
  4. D Enable paged attention, so weights are paged into GPU memory on demand as each layer runs its forward pass.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions