#76 · Primary category: Inference & Local Deploy
zml
Any model. Any hardware. Zero compromise. Built with @ziglang / @openxla / MLIR / @bazelbuild
Project last updated:08/29/26
GitHub Stars
4.0K
Forks
179
Contributors
33
License
Apache-2.0
Why we included this project
ZML is for teams that run neural networks in production and want to squeeze more out of the accelerators they already own. Instead of wrapping a Python runtime, it compiles a model's forward pass directly into accelerator-specific code for NVIDIA, AMD, Intel, TPU, and Trainium, so a single Zig model codebase runs on any of them without rewriting. You describe the model as a Zig struct and build and run it with Bazel; the examples move from a 30-second MNIST smoke test to Llama, Qwen, and LFM checkpoints loaded from Hugging Face, local directories, or S3. Compilation and weight loading happen per accelerator at runtime, which suits engineers who want predictable, low-overhead inference rather than a batteries-included serving layer. The trade-off is that Zig and Bazel familiarity are essentially prerequisites, but the payoff is direct control over the path from model weights to the hardware.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.