HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
antirez
ds4
C2026–2026
antirez / ds4

ds4

DeepSeek 4 Flash and PRO local inference engine for Metal, CUDA and ROCm

57Distinct people
74Mentions
0Explicit recommenders
24.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

DeepSeek 4 Flash and PRO local inference engine for Metal, CUDA and ROCm

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:01:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week74 dated mentions

Observed mentions: 2026-05-07 15:40:24 UTC to 2026-10-13 07:15:23 UTC. Weeks start Monday, UTC.

0369122026-05-04 00:00:00 UTC to 2026-05-11 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsMay 42026-05-11 00:00:00 UTC to 2026-05-18 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2026-05-18 00:00:00 UTC to 2026-05-25 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2026-05-25 00:00:00 UTC to 2026-06-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-06-01 00:00:00 UTC to 2026-06-08 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-06-08 00:00:00 UTC to 2026-06-15 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2026-06-15 00:00:00 UTC to 2026-06-22 00:00:00 UTC (exclusive): 12 mentions; 0 submissions, 12 comments2026-06-22 00:00:00 UTC to 2026-06-29 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2026-06-29 00:00:00 UTC to 2026-07-06 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-07-06 00:00:00 UTC to 2026-07-13 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2026-07-13 00:00:00 UTC to 2026-07-20 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-07-20 00:00:00 UTC to 2026-07-27 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsJul 202026-07-27 00:00:00 UTC to 2026-08-03 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2026-08-03 00:00:00 UTC to 2026-08-10 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-08-10 00:00:00 UTC to 2026-08-17 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-08-17 00:00:00 UTC to 2026-08-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-08-24 00:00:00 UTC to 2026-08-31 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-08-31 00:00:00 UTC to 2026-09-07 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2026-09-07 00:00:00 UTC to 2026-09-14 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2026-09-14 00:00:00 UTC to 2026-09-21 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments2026-09-21 00:00:00 UTC to 2026-09-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-28 00:00:00 UTC to 2026-10-05 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2026-10-05 00:00:00 UTC to 2026-10-12 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-10-12 00:00:00 UTC to 2026-10-19 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 12

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 42026-05-04 00:00:00 UTC2026-05-11 00:00:00 UTC211
May 112026-05-11 00:00:00 UTC2026-05-18 00:00:00 UTC505
May 182026-05-18 00:00:00 UTC2026-05-25 00:00:00 UTC404
May 252026-05-25 00:00:00 UTC2026-06-01 00:00:00 UTC202
Jun 12026-06-01 00:00:00 UTC2026-06-08 00:00:00 UTC202
Jun 82026-06-08 00:00:00 UTC2026-06-15 00:00:00 UTC505
Jun 152026-06-15 00:00:00 UTC2026-06-22 00:00:00 UTC12012
Jun 222026-06-22 00:00:00 UTC2026-06-29 00:00:00 UTC505
Jun 292026-06-29 00:00:00 UTC2026-07-06 00:00:00 UTC202
Jul 62026-07-06 00:00:00 UTC2026-07-13 00:00:00 UTC514
Jul 132026-07-13 00:00:00 UTC2026-07-20 00:00:00 UTC202
Jul 202026-07-20 00:00:00 UTC2026-07-27 00:00:00 UTC202
Jul 272026-07-27 00:00:00 UTC2026-08-03 00:00:00 UTC606
Aug 32026-08-03 00:00:00 UTC2026-08-10 00:00:00 UTC202
Aug 102026-08-10 00:00:00 UTC2026-08-17 00:00:00 UTC202
Aug 172026-08-17 00:00:00 UTC2026-08-24 00:00:00 UTC000
Aug 242026-08-24 00:00:00 UTC2026-08-31 00:00:00 UTC202
Aug 312026-08-31 00:00:00 UTC2026-09-07 00:00:00 UTC303
Sep 72026-09-07 00:00:00 UTC2026-09-14 00:00:00 UTC211
Sep 142026-09-14 00:00:00 UTC2026-09-21 00:00:00 UTC321
Sep 212026-09-21 00:00:00 UTC2026-09-28 00:00:00 UTC000
Sep 282026-09-28 00:00:00 UTC2026-10-05 00:00:00 UTC404
Oct 52026-10-05 00:00:00 UTC2026-10-12 00:00:00 UTC101
Oct 122026-10-12 00:00:00 UTC2026-10-19 00:00:00 UTC101

What Hacker News says

5 sources
Truth seems to sit somewhere in-between, DwarfStar 4 seems to mainly exists only because of llama.cpp, and authors basically were very inspired by llama.cpp's code, and even in some places literally have copied pieces from it, all with proper attribution and everything, I'm not trying to say this is bad, seems OK to me: > ds4.c does not link against GGML, but it exists thanks to the path opened by the llama.cpp project and the kernels, quantization formats, GGUF ecosystem, and hard-won engineering knowledge developed there. We are thankful and indebted to llama.cpp and its contributors. Their implementation, kernels, tests, and design choices were an essential reference while building this DeepSeek V4 Flash-specific inference path. Some source-level pieces are retained or adapted here under the MIT license: GGUF quant layouts and tables,
Read the rest
CPU quant/dot logic, and certain kernels. For this reason, and because we are genuinely grateful, we keep the GGML authors copyright notice in our LICENSE file. - https://github.com/antirez/ds4#acknowledgements-to-llamacpp-... Been a lot of fun to play around with it since https://news.ycombinator.com/item?id=48142885 (~2 days ago), managed to make the generation go from 47.85 t/s to 57.07 t/s so far :)
In DeepSeek-V4-Flash means LLM steering is interesting again
More information about DwarfStar 4 (DS4) in the readme: https://github.com/antirez/ds4 The code seems based on llama.cpp and GGML. I don't fully understand why it is a standalone project. The readme discusses this: DwarfStar 4 is a small native inference engine specific for DeepSeek V4 Flash. It is intentionally narrow: ... I think the only bigger difference in DeepSeek V4 vs other models is maybe the type of self-attention. And that leads to: KV cache is actually a first-class disk citizen. But I still feel like those changes could have been implemented as part of some of the other local engines. I also assume more models will come out, not just from DeepSeek but also from others, and they might share similar self-attention approaches, that would benefit from a similar KV cache implementation.
In A few words on DS4
Great to find this narrow focused thing: > We support the following backends: Metal is our primary target. Starting from MacBooks with 96GB of RAM. NVIDIA CUDA with special care for the DGX Spark. AMD ROCm is only supported in the rocm branch. It is kept separate from main since I (antirez) don't have direct hardware access, so the community rebases the branch as needed. > This project would not exist without llama.cpp and GGML, make sure to read the acknowledgements section, a big thank you to Georgi Gerganov and all the other contributors. Edit: aww, doesn't seem to support offloading to system RAM[0] (yet) [0] https://github.com/antirez/ds4/issues/108 Guess I'll have to keep watching the llama.cpp issue[1] [1] https://github.com/ggml-org/llama.cpp/issues/22319
In A few words on DS4

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.