All Questions
Llm Inference Serving medium

You are buying accelerators for a chat workload with short prompts (~300 tokens) and long replies (~1,500 tokens). Option X offers 2x the FLOPs of Option Y at the same memory bandwidth. Option Y offers 1.6x X's memory bandwidth and more HBM. Which fits better?

  1. A Option Y, since decode dominates and is bandwidth-bound, and extra HBM holds more KV for larger batches.
  2. B Option X, since tokens per second scale with FLOPs, so doubling compute roughly doubles each stream's speed.
  3. C Option X, since continuous batching makes decode compute-bound, so the extra FLOPs are used at any batch size.
  4. D Either one, since serving throughput is set mainly by the scheduler and both run the same batching software.

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

Get the app

Related questions