GPU Compute Throughput

GPU Compute Throughput refers to the rate at which a Graphics Processing Unit performs arithmetic operations, typically measured in FLOPS (Floating Point Operations Per Second). In the context of large-language-model (LLM) inference, throughput is constrained not just by raw compute power, but by memory bandwidth and the efficiency of data movement, particularly regarding the Key-Value Cache.

Key Bottlenecks

  • Memory Bound vs. Compute Bound: LLM inference is often memory-bound during the prefill phase and compute-bound during the decoding phase.
  • KV-Cache Overhead: The Key-Value Cache grows linearly with sequence length, consuming significant VRAM and limiting batch sizes, thereby reducing overall throughput.

Optimization Strategies

References