Hacker GitHub

← All repos

antirez/ds4

View on GitHub ↗ ★ 24,197 C

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

74 mentions on Hacker News by 57 people: 5 stories, 69 comments · first 2026-05-07 · latest 2026-10-13

Mentions per year 74 mentions · busiest year 2026 (74)
20082026
  1. …<- Qwen3.8-Flash-Next. I use this (tuned) and I cannot understate how satisfied I am. https://github.com/antirez/ds4 <- DeepSeek 4 family + more.
  2. Projects like DwarfStar https://github.com/antirez/ds4 really lower the hardware bar a lot so Deepseek 4.1 flash and other mixture of expert models can run on consumer hardware. There are also other inference providers who make their money…
  3. …supports this, curious how it compares, but I use the q4 quant daily and it works really well. https://github.com/antirez/ds4/blob/main/docs/MODELS.md#qwen...
  4. from the project https://github.com/antirez/ds4 it was said that: > It must be more a working template for the biggest use cases, without trying to cover every possible setup. this is such a great quote about building software in the AI…
  5. https://github.com/antirez/ds4 The project GitHub page is a much better introduction for the hn crowd.
  6. …TQ to allow for 1m context lengths on a 128 gb MacBook M5 Max when using Qwen 3.8 flash next ( https://github.com/antirez/ds4/pull/1115 if you are interested). If I get bored I might port over the Metal kernels from oMLX -- the speed…
  7. …floats per layer), then run against the stock weights. Antirez's DS4 already supports this: https://github.com/antirez/ds4/blob/8db1d1d155cb0400a86a86b9... Abliterated weights are just a bad habit we've gotten into. It's also deeply…
  8. Hey there! I do the same but I use dwarfstar at a 2-bit quant: https://github.com/antirez/ds4 I'm curious if you've tried dwarfstar and decided to move to llama.cpp and 3 bit quants or what made you go that route instead? I've been using…
  9. …sinsider.com/ai-writing-all-startup-code-... [1] https://x.com/bcherny/status/2004897269674639461 [2] https://github.com/antirez/ds4
  10. Primarily used ds4[0] by antirez [0] https://github.com/antirez/ds4
    comment by jumploops · 2026-09-02 · in My local model setup on an M4 Pro Mac Mini
  11. …in between 96GB and 256GB, though. For instance, I believe Deepseek v4 flash runs a lot faster on ( https://github.com/antirez/ds4 ) with 128GB than 96. I assume the higher SKUs have low enough sales that Apple doesn't want to be…
  12. …are not considering high-optimized inference engine, SSD-streaming approach and other optimization https://github.com/antirez/ds4
    comment by cecinuga · 2026-08-28
  13. …exactly straight out of one of the labs -- it's heavily quantized -- but have a look at [1]. [1] https://github.com/antirez/ds4
    comment by fghorow · 2026-08-26 · in Apple introduces M6 and M5 Ultra
  14. …multi-user serving. I'm not sure whether that qualifies as local, but it's at least not a rack. [1] https://github.com/antirez/ds4 [2] https://github.com/JustVugg/colibri
  15. DwarfStar ( https://github.com/antirez/ds4 ) supports GLM 5.2 and DeepSeek. Not only for toying, but for getting work done.
  16. This also works great: https://github.com/antirez/ds4
    comment by complex1314 · 2026-08-08 · in DeepSeek V4 Flash 0731
  17. https://github.com/antirez/ds4/pull/484 I assume this is parallel work.
  18. Looks like a couple of people are already on it: https://github.com/antirez/ds4/issues/635
    comment by jtbaker · 2026-07-31 · in DeepSeek-V4-Flash Update
  19. Parent is referring to https://github.com/antirez/ds4
    comment by genxy · 2026-07-31 · in DeepSeek-V4-Flash Update
  20. Weights are yet to be released (maybe in 24H, Deepseek has track record of releasing same day). https://github.com/antirez/ds4 is often mentioned for DS4F on Mac, but 64GB is likely not enough to achieve reasonable speeds (official weights…
    comment by petu · 2026-07-31 · in DeepSeek-V4-Flash Update
  21. https://github.com/antirez/ds4 coming out at the same time I started a new job and they gave me an m5 max a few months ago was the lightbulb moment for me.
  22. …star and flash-moe. they do similar things with bigger models https://github.com/JustVugg/colibri https://github.com/antirez/ds4 https://github.com/danveloper/flash-moe
  23. …memory, you should be able to run a DeepSeek V4 Flash quantisation at 7–10 t/s, for example with: https://github.com/antirez/ds4 or https://github.com/steadfastgaze/MoEspresso (my engine). The routed experts needed for the next tokens that…
  24. I'm a bit curious why not running DeepSeek V4 on top of https://github.com/antirez/ds4 . I think the results could be really good.
  25. I wonder how it’s compared to https://github.com/antirez/ds4
  26. DeepSeek V4 Flash with DwarfStar: https://github.com/antirez/ds4 The 2 bit quants are really good. I have a lot of memory so I can squeeze it all in at ~80gb.
  27. …seems pretty effective. I've been really enjoying it. [1]: https://arxiv.org/abs/2607.05147 [2]: https://github.com/antirez/ds4/pull/502 [3]: https://arxiv.org/html/2406.00045v2 [4]: https://github.com/antirez/ds4/pull/148 [5]:…
    comment by kamranjon · 2026-07-13 · in Control the Ideas, Not the Code
  28. ds4 is pretty optimized for this btw - https://github.com/antirez/ds4
  29. …can absolutely run DS4 Flash on a 128gb machine - I have it running on my Strix Halo box right now. https://github.com/antirez/ds4
    comment by Catloafdev · 2026-07-10 · in Hands-On with the AMD Ryzen AI Halo
  30. Counterpoint, I'm just a happy user of this local LLM [1] from antirez (of Redis fame). [1] https://github.com/antirez/ds4
  31. Antirez has a GLM 5.2 branch now in dwarfstar: https://github.com/antirez/ds4/tree/glm5.2 It heavily utilizes ssd streaming from my understanding and I think he mentioned getting some semi usable speeds on a 128gb m5 mbp.
  32. Try using DwarfStar 4 and use the --power flag: https://github.com/antirez/ds4#reducing-heat-power-usage-and...
    comment by somewhatrandom9 · 2026-06-29 · in Qwen 3.6 27B is the sweet spot for local development
  33. …use of the ram and use sparse MoE. For example, DeepSeek-V4-Flash will fit, served by DwarfStar ( https://github.com/antirez/ds4 ). One will probably improve 2x the token/sec speed, given DS4F 13B activated params in the MoE are ~1/2 of…
  34. …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…
    comment by pixelpoet · 2026-06-28 · in AMD Strix Halo RDMA Cluster Setup Guide
  35. …use, will mostly sit idle. 1. https://srinathh.medium.com/mid-size-local-models-are-now-co... 2. https://github.com/antirez/ds4
  36. I think most people running deepseek locally are using DS4: https://github.com/antirez/ds4 Which provides a 2-bit quant and a mixed 2-bit/4-bit quant - which range from 80gb to 97gb Deepseek is particularly well suited for quantization and…
    comment by kamranjon · 2026-06-26 · in Apple raises prices of MacBooks, iPads
  37. Related: https://github.com/antirez/ds4 https://news.ycombinator.com/item?id=48142108
  38. 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…
  39. …can stand in the for the giants on all but the most challenging and/or hands-off coding tasks. [1]: https://github.com/antirez/ds4
  40. indeed, there's even a (pretty solid) custom server just for DS4 https://github.com/antirez/ds4 -- works very well on high-RAM Macs
    comment by KerrAvon · 2026-06-20 · in LLMs Are Complicated Now
  41. https://github.com/antirez/ds4
  42. …new Mac Studio and MacBook Pro allow optimized local inference through open-source tools such as: https://github.com/antirez/ds4
  43. ds4: prefill: 150.18 t/s, generation: 48.47 t/s together with https://github.com/antirez/ds4 + RTX Pro 6000, local provider :) I guess you could rent one too, get similar speed. https://gist.github.com/embedding-shapes/eceefa1b2699dca448f..…
    comment by embedding-shape · 2026-06-16 · in Anthropic's Safety Superpower
  44. …DeepSeek 4 Flash these are not mutually exclusive anymore. DS4 has set the bar for me these days. https://github.com/antirez/ds4
    comment by jtbaker · 2026-06-16 · in Running local models is good now
  45. …have some benefit from better use of the resident experts cache and/or of SSD transfer bandwidth.) https://github.com/antirez/ds4/issues/275 seems to provide intriguing rough results while https://github.com/antirez/ds4/issues/314 is a…
  46. Since you have 512GB, might be worth looking into running deepseek4: https://github.com/antirez/ds4
  47. If you have a 128GB Mac you really ought to try out: https://github.com/antirez/ds4 by the creator of redis. This is probably as close to it gets to state-of-the-art local LLM + agentic coding.
  48. …between processes" or some other BS. Performance as described in the tables in the readme here: https://github.com/antirez/ds4 ...with a bit less than half that at "low power" (30w). Both are usable.
  49. Waiting for this https://github.com/antirez/ds4 to stabilize for strix halo.
  50. …harnesses. It's a bit slow compared to the other models but so good that I'm willing to put up :-) https://github.com/antirez/ds4
    comment by sfifs · 2026-06-15 · in MAI-Code-1-Flash