justrach/nanoattention
Library
Can I trust it?
No red flags in our checks.
Stars from real accounts No data
We haven't checked its stars for fakes yet.
Active OK
Last change today.
Licence OK
MIT: you can use it for free, also in a commercial product. Keep the licence notice.
Quick checks from public data. They help, but they are no guarantee.
What it is
A native Zig and Metal inference engine for running the Flint model on Apple Silicon, with mmap-backed quantized weights, persistent KV caches, and Metal GPU kernels for attention and projections. It does not link MLX, PyTorch, or CUDA, and includes Lean-checked scheduling…
Who it's for
Developers on Apple Silicon running local LLM inference who want a small, inspectable Zig and Metal engine
How to use it
Install
zig build -Doptimize=ReleaseSafeFrom its README. Check it there before running it.
Ask your AI to set it up
Paste this into Claude, ChatGPT or your coding assistant.
Help me install and set up justrach/nanoattention in my project. Follow its README: https://github.com/justrach/nanoattention. Explain each step and check it is safe before running anything.
Star curve
Alternatives
Similar projects named in its profile. Each link searches the directory.
Get alerts for repos like this
We'll email you when something in Models & inference starts rising. Free, once a week, only what matches.
What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy
For maintainers
Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.
[](https://repoalerts.com/repo/justrach/nanoattention?ref=badge)Similar repos
- justrach/nanoui
A Zig toolkit for desktop apps with native UI drawn on the GPU (Metal on macOS) using flexbox layout, or a web frontend shown in the system webview with a generated JavaScript client. Apps build as si
- justrach/nanomon
A macOS and Linux activity monitor that lists processes and shows CPU, memory, GPU, disk and network load over one minute to one hour. It uses public system interfaces, adds an optional graff assistan
- justrach/nanolight
A keyboard-driven launcher for macOS, Windows and Linux that finds apps, evaluates math, shows Google suggestions and results in its panel, and offers Grok, X and Raycast extensions. Written in Zig wi
- Eriskii/erisinky
A Rust and hand-fused Metal inference engine for Thinking Machines' Inkling 2 Mini MoE model on Apple Silicon. It reads GGUF weights directly through zero-copy mmap and adds KV cache compression, spar
- ashhart/TensorFold
A Zig inference engine that serves language models on Apple Silicon and NVIDIA GPUs using Metal and CUDA kernels. It reads checkpoints, tokenizes requests and exposes chat, completions, Responses and
- recursive-oss/rec
Local inference engine for running Recursive's Flint language models on Apple Silicon Macs. Provides an OpenAI-compatible chat-completions API on localhost and pre-configured launchers for the pi and