Local Inference & ServingLocal-first
MLC LLM
mlc-ai / mlc-llm
A TVM-based compiler and deployment engine that compiles LLMs to CUDA, ROCm, Metal, Vulkan and WebGPU backends.
Why choose it
- Compilation targets many hardware backends, including browsers.
- Useful when the deployment device is not a standard NVIDIA server.
- Can produce portable runtimes.
Not for
You need same-day support for every new model.
You want a simple pip-install-and-run experience.
Minimum setup
- Compile one small model for a supported target.
- Run it and record latency and memory.
- Try a second backend and compare output consistency.
Dependencies and cost
Check runtime, model weights and external service dependencies in the README.
License and usage boundaries
Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.
Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
Alternatives and neighbors
- llama.cpp — Local-first,A C/C++ inference engine that runs on CPUs, Apple Silicon and consumer GPUs, with a wide range of quantisation formats.
- llamafile — Lightweight,Package llama.cpp and model weights into a single executable that runs on macOS, Windows, Linux and BSD without Python.
- TensorRT-LLM — Scale / performance,NVIDIA’s LLM inference optimisation stack: custom kernels, quantisation, in-flight batching and multi-GPU for production throughput.
Next steps
- Open GitHub and read the README, LICENSE, latest release and issues first.
- Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- Run a small sample first, then decide on production; never start with production data.
Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.