GitHub·First covered 14 Nov 2026
ashhart/TensorFold
TensorFold is a Zig inference server that loads checkpoints, tokenizes and runs Metal or CUDA kernels itself, so serving a model on Apple Silicon or NVIDIA GPUs needs no Python or MLX.
Stats
(As of 14 Nov 2026)- Stars
- 2k
- Forks
- 407
- Contributors
- 138
- Open issues
- 214
- Created
- Jun 2026
- Language
- Zig
- Licence
- Apache-2.0
- One binary exposes OpenAI-style chat completions plus Responses and Anthropic Messages endpoints.
- Ships through Homebrew on Macs and as checksummed Linux archives for x86_64 and aarch64, which need NVIDIA driver R580 or newer.
- The --parallel flag caps concurrent requests and queues the rest; by default it asks for up to eight streams as memory allows.
- The README lists per-model recipes, from Qwen3.5-2B on one Mac to GLM-5.3-Flash split across two or three GB10s.
- Experimental Living Weights writes taught facts into a model's checkpoint files, with a rollback command, on Macs and the GB10.
Try it
brew install ashhart/tensorfold/tensorfold