MLC LLM's Top LLM Inference Speeds on GPUs

MLC LLM, powered by TVM Unity, achieves 34.5 tokens/second for 4-bit quantized Llama2-70B on two NVIDIA RTX 4090s and 29.9 tokens/second on two AMD Radeon 7900XTXs, showcasing state-of-the-art performance across diverse GPUs.

The top 3

  1. MLC LLM Outpaces Rivals on Consumer GPUs: MLC LLM achieves higher inference speeds than Exllama V2 and Llama.cpp, reaching 204.8 tokens/sec for Llama2-7B on an RTX 4090 with 4-bit quantization.
  2. Top Multi-GPU Performance for Large LLMs: For Llama2-70B with 4-bit quantization, MLC LLM delivers 59.4 tokens/sec on 8x NVIDIA A100 GPUs, showcasing leading throughput for large models compared to vLLM (17.6 tok/sec) and Llama.cpp (11.2 tok/sec).
  3. Compiler-Driven Speed: MLC LLM's Optimization Edge: MLC LLM's superior GPU inference speeds stem from its compiler-based solution, leveraging dynamic shape-aware memory planning to avoid runtime allocation and dispatching optimized kernels (like cuBLAS/CUTLASS for high concurrency) via TVM Unity.

Sources

Open the full topic