Back to directory

ZML

A production inference stack that compiles a single model codebase to run on NVIDIA, AMD, Intel, TPU, or Trainium hardware without rewriting it for each accelerator.

ZML

ZML is an inference stack for running AI models across different hardware accelerators from one codebase. It compiles models to NVIDIA, AMD, Intel, Google TPU, and AWS Trainium/Inferentia targets, aiming for hardware performance without per-accelerator rewrites.

It ships example programs, including an MNIST classifier and a large-language-model runner that supports models such as Llama 3.1/3.2, Qwen 3.5, and LFM 2.5, loadable from Hugging Face, a local directory, or S3, usable for one-off prompts or an interactive chat loop.

It is built with the Zig language, MLIR, and Bazel, and depends only on Bazel (via Bazelisk) to build.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.