machd is designed for Apple Silicon and directly loads the official weights of deepseek-ai/DeepSeek-V4.1-Flash-1017 (logical size 511.26 GiB): embedding layers and output heads remain in BF16, attention projections remain in FP8, routed experts remain in MXFP4, multi-token prediction uses exact rejection sampling, and it supports text, structured output, and native visual input. It can run on a single 512 GB Mac Studio M5 Ultra, or on two 256 GB machines connected via Thunderbolt 5; it provides OpenAI Chat Completions, Responses, and Anthropic Messages interfaces, and is compatible with Claude Code. The author reports approximately 65–70 tok/s for single-machine, single-stream performance, and about 190–200 tok/s for 16 concurrent streams, supporting up to 100 ten-thousand token context windows, with faster performance on dual machines.
Why it matters Many local engines compress embedding layers and output heads to lower precision without disclosure; this project explicitly lists the execution precision for each component and is compatible with OpenAI and Anthropic interfaces.
Stars 13
Reasons
- GitHub stars 13 (indicating attention only); created on 11 26
- The README provides concurrency levels, duration, confidence intervals, and failure counts for each test, and states that peak single-machine memory usage is approximately 302 GiB
Usage
- After cloning the repository, run ./machd setup, ./machd download (optionally with --source modelscope), ./machd prepare --mode single, and ./machd serve --mode single in sequence; the service defaults to port 8000
Risks
- The description claims it is open source, but the license is a custom Machd Runtime License: only precompiled binaries are provided, reverse engineering and decompilation are prohibited, and the core kernel source code is not visible
- Requires a Mac Studio M5 Ultra with 512 GB of unified memory or two machines with 256 GB; performance figures are self-reported by the author; the service listens on 0.0.0.0 and is accessible within the local network