AIAny
AI Deploy2023
Icon for item

MLC LLM

Compiles one LLM into device-native binaries running on CUDA, ROCm, Metal, Vulkan, WebGPU, and CPU — same model from server to browser to phone. On Apache TVM, it ships MLCEngine with an OpenAI-compatible API across Python, JS, REST, iOS, and Android.

Introduction

Most LLM stacks assume a CUDA datacenter; the awkward truth is that the same weights rarely follow you to a laptop GPU, a browser tab, or a phone. MLC LLM treats deployment as a compilation problem instead of a runtime one: it lowers a model through Apache TVM into a hardware-specific binary, so the place a model runs becomes a build target rather than a rewrite.

What Sets It Apart
  • One source model, many native binaries — CUDA, ROCm, Metal, Vulkan, OpenCL, WebGPU, and CPU all come out of the same compilation flow, so adding a backend is a retarget, not a port.
  • MLCEngine unifies these targets behind one OpenAI-compatible API exposed through REST, Python, JavaScript, iOS, and Android, meaning client code written against the cloud also drives the on-device build.
  • Because TVM emits self-contained binaries, models run fully local — including inside a browser via WebGPU with no server round trip — which matters for privacy, offline use, and cost.
Who It's For

Great fit if you need the same model to reach edge, mobile, web, and server, or if local/offline inference and data privacy outweigh the convenience of a hosted endpoint. Look elsewhere if you only ever serve on one cloud GPU type — a runtime like vLLM will get you there with less compilation overhead — or if you want a polished chat product rather than a deployment engine you wire into your own app.

Information

  • Websitellm.mlc.ai
  • OrganizationsCarnegie Mellon University (Catalyst), University of Washington (SAMPL), Shanghai Jiao Tong University, OctoML
  • AuthorsMLC team (mlc.ai)
  • Published date2023/04/29

Categories

More Items

GitHub
AI Infra2026

Streams routed experts from disk and treats storage, RAM and VRAM as a single inference hierarchy so MoE models (hundreds of billions to trillions of parameters) can run on consumer or heterogeneous hardware; single-file C engines with zero runtime deps and optional Vulkan/CUDA/Metal backends, speed governed by placement and disk I/O.

Hugging Face
AI Deploy2026

Evaluates multi-field JSON schemas in parallel to extract boolean or categorical field values from text, producing guaranteed-valid JSON and per-field calibrated confidences. Uses KV-cache broadcasting, sub-vocabulary logit slicing and token-tree disambiguation to cut latency (5.6x–7.0x on M4 Max) versus autoregressive decoding; requires Apple Silicon and MLX.

GitHub
AI Deploy2026

Provides reusable Docker compose files, scripts and benchmarked configs to serve modern LLMs (Qwen, Gemma, etc.) on 1–2 NVIDIA RTX 3090/4090/5090 GPUs. Multi-engine (vLLM, llama.cpp, ik_llama), measured TPS/context tradeoffs, and validated single/dual‑GPU recipes.