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, 7:24:48 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
I have two 128gb Strix Halos and have been extremely excited about Antirez's (Redis author) work on DS4, especially with 4bit quant using two machines: https://github.com/antirez/ds4 Right now the speed isn't good for GLM 5.2, Deepseek V4 Flash speed is okay for me (actually reading the output) and quite usable. See kyuz0's great recent video here: https://www.youtube.com/watch?v=PkKXm_mKCCM With a bit more speed and model improvements, local AI becomes a reasonable practical thing! The biggest problem is all the tech companies making consumer hardware completely unaffordable, and I don't think this is accidental. Look at Micron's profits and share price lately... I got my Strix machines for ~2k eur each, best computers this 90s kid has ever owned, but those days are gone :(
In AMD Strix Halo RDMA Cluster Setup Guide
So a lot depends on your specific use case but mid-sized open weight models are pretty actually good now, so this is realistic [1] The first question to ask is does your use case require handling personal or sensitive data. If you're using the LLM for OpenClaw or you want to handle sensitive or medical data, a local model generally is necessary. if it's not so sensitive - Cloud providers with some sort of user agreement guarantee on not using your data for training would be the next bet. I personally generally use Gemini or Sonnet as my cloud backup. As I understand, OpenAI, Cloudflare (which bought replicate) and Qwen also seem to provide such guarantees and make SOTA models available. Others like DeepSeek seem to have an opt-out setting. Open router & co I avoid except for benchmarking models with public or dummy data as there is absolu
Read the rest
tely zero guarantee or ability to enforce terms on providers where your data might be sent. Gemini and Anthropic (and OpenAI) tend to be expensive - it's very easy to run up 15 dollars a day or so bills which puts you solidly in 1 year pay out on Mac Mini territory - at this point I decided to buy. Gemini Flash Lite 3.1 is however surprisingly good value. the next question is Mac or CUDA. If your expected use is serving LLM models for inferences, the latest large memory Macs give pretty good inference speed (better than DGX Spark) at a reasonable cost - I think there offer much better value than CUDA if the only use case is LLM inference & harnesses. if you plan to also fine tune models, experiment with other types of ML on GPUs, do computer vision stuff etc. the development tooling on CUDA is far in advance of all other platforms. Lastly if you choose CUDA, the question is GB10 family (DGX Spark - cluster able with 128Gb RAM et all) or dedicated GPUs workstations. What I found is practically any serious models weighs in requiring at least 96GB VRAM - Antirez's 2 bit quant of Deepseek 4 flash (my current daily driver) [2] , the Qwen 3.5 122B A10B 4-bit quant, the Qwen 3.6 27B Dense and 35B A3B 8 but quants etc. So you're well out of the consumer GPU territory into 1 or more RTX 6000 Pros or Data center grade devices. Yes you can try to hack away with multiple consumer cards or SSD streaming but it's very fiddly and you probably have better things to do with your life. The GB10 system - which I ultimately went with - is certainly much cheaper and can be clustered through the Special NVLink cable to get 256, 384 or 512 GB setups but comes with severely constrained bandwidth. The Pro GPUs blast these out of water on performance but are expensive. Lastly, renting a cloud GPU machine doesn't really make sense except to run already debugged fine tuning workloads. You'll probably spend at least 4 dollar an hour for sufficient capacity which if it's personal use, will mostly sit idle. 1. https://srinathh.medium.com/mid-size-local-models-are-now-co... 2. https://github.com/antirez/ds4
In Ask HN: MacBook vs. Dedicated GPU for LLM
Inspired by [https://github.com/antirez/ds4](ds4), [https://github.com/CerebrasResearch/reap](REAP) and [https://huggingface.co/0xSero/DeepSeek-V4-Flash-162B](OxSero's Deepseek v4 reap) I wanted to push and see how much performance can be extracted from a single DGX Spark. It should also work day one (hopefully) on the upcoming Spark devices. I made three versions, one with 128 experts kept, one with 150 and the biggest (borderline fitting one) with 180 experts out of 256. Experts kept are based around coding / agentic / research workloads. Goal is to have a higher-precision (NVFP4) option to run the model, the original full ds4 already runs the IQ2XXS version. Custom CUDA kernels are written to try and best align the NVFP4 models to the Spark. The K180 runs at around 119/122GB ram usage at the full 1M context, tested up to 32k prefill an
Read the rest
d was stable. For best memory efficiency, you might need DS4_CUDA_MANAGED_MODEL=1 DS4_KV_TURBO=1. More memory/bandwidth optimizations are coming, after that I plan on tackling re-adjusting the MTP heads (which would require re-training them on the new architectures). Benchmarking hasn't been done yet, as I have mostly been busy with the CUDA. Treat as experimental. Model links: https://huggingface.co/sleepyeldrazi/DeepSeek-v4-Flash-REAP-... https://huggingface.co/sleepyeldrazi/DeepSeek-v4-Flash-REAP-... https://huggingface.co/sleepyeldrazi/DeepSeek-v4-Flash-REAP-...
In DeepSeek V4 Flash optimized framework and model variants for DGX Spark

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.