All Questions
Llm Inference Serving hard

A model needs 16 GPUs to hold its weights plus a useful KV cache. You have two 8-GPU nodes with fast intra-node links and a much slower inter-node network. Traffic is interactive with moderate concurrency. Which layout is most defensible?

  1. A 16-way tensor parallelism across both nodes, since splitting every layer 16 ways gives the lowest per-token latency regardless of interconnect speed.
  2. B 16-stage pipeline parallelism with one stage per GPU, since stages only pass activations and therefore never contend for interconnect bandwidth.
  3. C Two independent 8-GPU replicas with 4-bit weights, since quantization is effectively free and it avoids multi-node parallelism entirely.
  4. D 8-way tensor parallelism inside each node and 2-stage pipelining across nodes, with enough concurrent sequences to keep both stages busy.

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

Get the app

Related questions