Top 3 Throughput Boosts from Symbolic Dynamic Batching

TVM Unity leverages symbolic shapes to enable efficient dynamic batching for LLMs, resulting in substantial throughput gains of 8% to 28% compared to static batching methods by optimizing for varying batch sizes at runtime.

The top 3

  1. 23x Throughput Boost from Constrained Dynamic Shapes: Input-level padding combined with constrained dynamic input shapes can increase LLM inference throughput by over 23 times compared to baselines without dynamic shape optimizations.
  2. Continuous Batching Delivers 4-8x Throughput Gains for LLMs: Continuous batching, an advanced dynamic batching technique for LLMs, can improve throughput by 4-8 times by optimizing GPU utilization and avoiding idle time from varying output lengths.
  3. Anthropic's Claude 2 Achieved 37% Throughput Increase: Anthropic implemented dynamic batching for its Claude 2 model, leading to a 37% increase in inference throughput and a 28% reduction in average latency.

Sources

Open the full topic