zml/zml

Any model. Any hardware. Zero compromise. Built with @ziglang / @openxla / MLIR / @bazelbuild

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 47 minutes ago
Added to GitGenius on September 17th, 2026
Created on September 17th, 2024
Open Issues & Pull Requests: 57 (+0)
GitHub issues: Enabled
Number of forks: 196
Total Stargazers: 4,161 (+0)
Total Subscribers: 29 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 22.2 hours
Mean response time: 36.7 days
90th percentile: 111.2 days
Tracked items: 72

Maintainer activity

2 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 7, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 19
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 217 days
Stale 30+ days: 13
Stale 90+ days: 7

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 3

Top labels

  • LLMD (7)
  • enhancement (6)
  • bug (3)
  • platform:metal (2)
  • runtimes/cuda (1)
  • runtimes/metal (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

ZML is a production inference stack purpose-built to decouple AI workloads from proprietary hardware.

The problem ZML solves is the tight coupling between AI models and specific hardware platforms, which forces developers to rewrite code when deploying to different accelerators. The tool addresses this by compiling a single codebase directly to multiple hardware targets including NVIDIA, AMD, Intel, TPU, Trainium, and CPU, achieving peak performance on each without requiring model rewrites. It accomplishes this through a foundation built on Zig, MLIR, and Bazel, which enable hardware-agnostic compilation and optimization.

ZML suits teams deploying inference workloads across heterogeneous hardware environments or those wanting to avoid vendor lock-in. It is particularly valuable for organizations running large language models or other computationally intensive inference tasks where hardware flexibility matters. The tool includes examples for LLM inference supporting Llama, Qwen, and LFM models, as well as smaller examples like MNIST for getting started. It supports loading models from multiple sources including local directories, Hugging Face repositories, S3, and HTTPS endpoints through a unified virtual filesystem layer.

The project maintains active development with regular example additions and documentation updates covering tutorials, concepts, and deployment guidance. The codebase includes comprehensive examples demonstrating sharding, benchmarking, and model loading across different platforms, suggesting ongoing refinement of core capabilities. Build infrastructure relies on Bazel with platform-specific compilation flags, indicating a mature approach to managing multi-target compilation complexity.