Record Speedups: ML-Driven Optimization Achieves 34x Performance Gain

TVM's ML-driven optimization has demonstrated significant performance improvements, including up to a 4x speedup on GPUs and a remarkable 34x speedup over a baseline for a YOLO V3 model running on a MIPS-based camera platform, showcasing its ability to generate highly optimized, specialized code.

The top 3

  1. 34.5 Tokens/Sec: Llama2-70B on Dual RTX 4090s: MLC LLM, powered by TVM Unity's ML-driven optimization, achieves 34.5 tokens/sec for a 4-bit quantized Llama2-70B model on two NVIDIA RTX 4090 GPUs, demonstrating high performance for large LLMs on consumer hardware.
  2. Leading LLM Engines: TVM Unity's Cross-Platform Edge: MLC LLM, built on Apache TVM Unity, achieves state-of-the-art inference performance across NVIDIA, AMD, and Intel GPUs, demonstrating high token generation rates that are competitive with or surpass other leading LLM inference engines like vLLM and TensorRT-LLM in various benchmarks.
  3. ML-Driven Search Space: Beyond Human Heuristics: TVM Unity's record speedups are driven by its ML-driven optimization that dramatically expands the search space for optimal compiler transformations and kernel configurations. This approach leverages learning-based cost models to discover highly efficient code paths that traditional hand-tuned or heuristic methods often miss.

Sources

Open the full topic