talira

Universal LLM deployment engine that compiles models to run natively on GPUs, phones and browsers

open sourceApache-2.0free

MLC LLM is a machine learning compiler and deployment engine for large language models. It compiles a model for the hardware it will run on and serves it through MLCEngine, one inference engine with an OpenAI-compatible API available as a REST server and from Python, JavaScript, iOS and Android. It runs on AMD, NVIDIA, Apple and Intel GPUs through Vulkan, CUDA, ROCm and Metal, in web browsers through WebGPU and WebAssembly, and on Android and iOS devices. Its browser runtime is the related WebLLM project.

Problems it solves

  • I want to run an open LLM natively inside my iPhone and Android app, on the phone's GPU
  • I need one inference engine that works on NVIDIA, AMD, Apple and Intel GPUs without rewriting my app
  • We want to serve a local model behind an OpenAI-compatible API on our own machines

Features

  • Compiles LLMs for the target hardware with machine learning compilation (Apache TVM)
  • OpenAI-compatible API through a REST server, Python, JavaScript, iOS and Android
  • GPU support through Vulkan, CUDA, ROCm and Metal
  • Runs in the browser with WebGPU and WebAssembly
  • Weight conversion and quantization tools

Alternatives

The same job

These do what MLC LLM does.

  1. KoboldCpp Run GGUF AI models locally with a KoboldAI UI. One file, zero install.
  2. SGLang Fast inference for LLMs and multimodal models
  3. vLLM A high-throughput and memory-efficient inference and serving engine for LLMs
  4. mistral.rs Fast, flexible LLM inference in Rust
  5. LMDeploy LMDeploy is a toolkit for compressing, deploying, and serving LLMs.
  6. FreeToken Serving engine that runs frontier-scale open-weight MoE models on consumer GPUs

Compare MLC LLM with the top 3