Performance Edge: Multi-Fold Speedups Achieved

TVM's comprehensive optimizations, including cross-layer strategies and auto-tuning, deliver speedups ranging from 1.2x to 3.8x over existing frameworks and up to 4x on GPUs.

The top 3

  1. LLM Speed Crown: MLC-LLM Outperforms on AMD and NVIDIA: MLC-LLM, powered by TVM Unity, achieves state-of-the-art LLM inference across diverse GPUs. It enables AMD Radeon RX 7900 XTX to reach 80% of NVIDIA RTX 4090's Llama2 performance and delivers 34.5 tok/sec for 4-bit Llama2-70B on dual RTX 4090s, with 29.9 tok/sec on dual AMD 7900XTXs.
  2. TVM Unity's Core: Cross-Layer Optimization & Kernel Fusion: TVM Unity achieves multi-fold speedups through hardware-specific graph and memory optimizations, kernel fusion, and a novel learning-based cost modeling. It unifies library and compiler approaches, leveraging cross-layer representation to optimize from high-level computational graphs to low-level hardware primitives, generating high-performance code without manual tuning.
  3. Universal LLM Deployment: TVM Unity's Hardware & Model Reach: TVM Unity, via MLC-LLM, provides universal deployment for LLMs across a broad spectrum of hardware, including NVIDIA, AMD, and Intel GPUs, as well as CPUs, mobile devices (Android/iOS), and even FPGAs. It shows consistent performance scaling for models like Llama2-70B and CodeLlama 34B on up to eight A10G GPUs, and optimizes for mobile SoCs using APIs like Core ML and NNAPI.

Sources

Open the full topic