Live data from Hacker News

A few words on DS4

antirez.com

101–110 of 197 posts

Re: A few words on DS4

#102
post #46

DwarfStar4 is a small LLM inference runtime that can run DeepSeek 4. The blog post implies that it currently requires 96GB of VRAM. For others who are lacking context :-)

> The blog post implies that it currently requires 96GB of VRAM. Has anyone tested what happens if you try and run this on lower-RAM Macs? It might work and just be a bit slower as it falls back on fetching model layers from storage.

It'd be way slower since you'd be doing that work every token

Re: A few words on DS4

#103
post #7
post #5

Earlier quoted context omitted.

Healthy! prefill: 30.91 t/s, generation: 29.58 t/s From https://gist.github.com/simonw/31127f9025845c4c9b10c3e0d8612...

I don't want to be a jerk but 31t/s prefill is basically unusable in an agentic situation. A mere 10k in context and you're sitting there for 5+ minutes before the first token is generated.

Hah, that's because the prompt itself was only about 30 tokens. We need a much bigger prompt to properly test PP.

Re: A few words on DS4

#104
post #59

Earlier quoted context omitted.

I expect this to be my main machine for the next 3-4 years (which is how I justified the 128GB one). It's a beast of a machine - I love that I can run an 80GB model and still have 48GB left for everything else. Can't say that it wouldn't be a better idea to spend that cash on tokens from the frontier hosted models though. I'm an LLM nerd so running local models is worth it from a research perspective.

An M5 Max MBP with 128G of RAM costs ~$5k. An Nvidia RTX 5090 with 32G RAM is $4-5k, and RTX PRO 6000 with 96GB RAM $10k. Do you have any data on which is the best price/performance for local inference? Do you know what the big OpenAI/Anthropic/Google datacenters are running?

As always: it depends on your needs. Here's a very basic heuristics rundown:

- More RAM: bigger models, more intelligence.

- More FLOPs: higher pre-fill (reading large files and long prompts before answering, the so-called "time to first token").

- More RAM bandwidth: higher token generation (speed of output).

So basically Macs (high RAM, okay bandwidth, lowish FLOPs) can run pretty intelligent models at an okay output speed but will take a long time to reply if you give them a lot of context (like code bases). Consumer GPUs have great speed and pre-fill time, but low RAM, so you need multiple if you want to run large intelligent models. Big boy GPUs like the RTX 6000 have everything (which is why they are so expensive).

There are some more nuances like the difference of Metal vs. CUDA, caching, parallelization etc., but the things above should hold true generally.

Re: A few words on DS4

#105
post #90

Earlier quoted context omitted.

>The blog post implies that it currently requires 96GB of VRAM. From the Github page it seems it only supports Apple and DGX Spark. I have 128 GB of RAM and a 3090 but it probably won't work.

It wouldn’t be useful with your setup, probably 3-4 token per second.

Yep, maybe I can open a feature request if it makes sense technically.

Re: A few words on DS4

#106

Earlier quoted context omitted.

> The blog post implies that it currently requires 96GB of VRAM. Has anyone tested what happens if you try and run this on lower-RAM Macs? It might work and just be a bit slower as it falls back on fetching model layers from storage.

It'd be way slower since you'd be doing that work every token

True (with 64GB RAM it'd have to fetch 20% of its active experts from disk already, about 650MB/tok at 2-bit quant - and that percentage rises quickly as you lower RAM further); my question is just a more practical one about whether it runs at all, how bad the slowdown is, and to what extent you might be able to get some of that decode throughput back by running multiple (slower) agent sessions in parallel under a single Dwarf Star 4 server.

Re: A few words on DS4

#107
post #84
post #79

Earlier quoted context omitted.

If only you could still buy Mac's with that much RAM

You can buy 128GB M5 MacBook Pros? Configured one just now, delivers in 2 weeks

Interesting there were news last week or so of apple removing Mac minis options.

Re: A few words on DS4

#110
post #90

Earlier quoted context omitted.

It wouldn’t be useful with your setup, probably 3-4 token per second.

Yep, maybe I can open a feature request if it makes sense technically.

Arguably it makes more sense technically to get the model support into llama.cpp, which provides many options for GPU+CPU split inference already.
Post reply on HN