#7070th of 129 in Model serving
ds4
Native C inference engine for a few large open models on Mac, CUDA and ROCm
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts ds4 on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.ds4 is on your watch list. Its new releases and problems show there.
- Stars
- 24.5k
- License
- MIT
- Last commit
- Nov 2026
- Language
- C
0 on 6 May 202624,482 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
DwarfStar (ds4) is a C inference engine targeted at DeepSeek V4 Flash and PRO, GLM 5.x and Qwen3.8 Flash Next. It runs on Metal, NVIDIA CUDA (DGX Spark, multi-GPU including Ada/L40S) and ROCm on Strix Halo, using GGUF files the project produces. It ships a CLI, an HTTP server (default port 8000), a native coding agent and an eval tool, with SSD streaming for models larger than RAM.
Who it is for: Self-hosters running large open LLMs on Macs, DGX Spark or multi-GPU boxes
Strengths
- Multi-GPU CUDA including Ada Lovelace; reports ~126 t/s aggregate on eight L40S with 16 sessions
- SSD streaming runs models larger than RAM; two-Mac RDMA tensor parallelism and pipeline parallelism
- Includes CLI, HTTP server, native coding agent with saved KV sessions, and ds4-eval
- Self-contained C code that does not link GGML
Weaknesses
- Not a general GGUF runner; only the project's own GGUF files for a few models
- README calls it beta quality and fast-changing, with possible regressions
- Model support is opportunistic; models may be removed when replaced
- Built with heavy AI coding-agent assistance, which the README states openly
What it needs
- RAM ≥ 64 GB
- GPU required
- Needs Metal, CUDA or ROCm backend, Project-built GGUF model files, Fast local SSD for streaming and Engram tables
- Models: DeepSeek V4 Flash, DeepSeek V4.1 Flash, DeepSeek V4 PRO, GLM 5.2, GLM 5.3
- port 8000
Known problems
Open now, reported in the last 90 days
- Qwen 3.8 Flash ↗ (opens in a new tab)11 reactions
- download_model.sh: stale SHA-256 for the 1017 Q2 checkpoint rejects a correct 341 GiB download ↗ (opens in a new tab)5 reactions
- Premature compacting when using ds4-agent ↗ (opens in a new tab)3 reactions
- DeepSeek V4.1 Flash: a ~3-bit (or mixed Q2/Q4) build for 256 GB Macs ↗ (opens in a new tab)2 reactions
- Server: multimodal sessions lose all KV reuse on a tail token mismatch — no common-prefix rewind, no disk-KV fallback, no continued disk stores ↗ (opens in a new tab)2 reactions
Reported, then fixed by a linked change
- BUG: Metal Internal Error + infinite retry loop on restart with stale KV cache ↗ (opens in a new tab)0 reactions · closed 26 May 2026Fixed by fix(server): evict disk KV entry that fails prefill ↗ (opens in a new tab)
- MTP error ↗ (opens in a new tab)0 reactions · closed 7 May 2026Fixed by fix: accept F32 ffn_gate_inp in MTP validator ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Model serving
See all 129| Rank | Project | Score |
|---|---|---|
| #68 | mtplxMTP speculative-decoding inference server and Mac app for Apple Silicon | 69 out of 100 |
| #69 | sglang-omniMulti-stage serving runtime for omni, speech, TTS and ASR models | 69 out of 100 |
| #71 | openlakeRust storage engine with S3 API and KV cache offload for vLLM | 68 out of 100 |
| #72 | splashApple silicon inference server with speculative decoding and OpenAI/Anthropic APIs | 68 out of 100 |
| #73 | michaelfeil/infinityRust server for embeddings, reranking and classification over a REST API | 68 out of 100 |