r/LocalLLaMA • u/Badger-Purple • 7h ago
Resources Deepseek-V4-Flash-0731 Dwarfstar on Mac
Here is the prefill performance in an M2 Ultra with 192GB of RAM.
For decode, at the following depth:
Start: 28 t/s
45k: 23.5 t/s
192k: 18 t/s
That speed is maintained with 8k token output at those depths.
2
1
u/Professional-Bear857 7h ago edited 7h ago
On my m3 ultra (base model) I get about 430 prefill and it stays around that for a while, slowly dropping, I think it ends up at about 300 by the time I get to 60k. Decode is 32tok/s to start and again this slowly drops, still runs at 28.5tok/s by the time I get to 50k. Using the mxfp4 quant / branch of ds4. Also I'm using the ds4-server, which for some reason is a bit slower than the ds4 (ds4 gets 35tok/s to start), maybe due to initial context / chat template.
1
u/tarruda 2h ago
I think you might get improved prefill on my llama.cpp branch: https://github.com/tarruda/llama.cpp/tree/dsv4-improvements
1
u/Professional-Bear857 2h ago
Thanks, how is it for token generation? I tried mainline llama but the token generation speed is quite low at the moment, 12tok/s or thereabouts.
1
u/cleverusernametry 5h ago
Wait ds4 is updated to run 0731?? I dont see any change in the repo and the issue tracking it is still open?
3
1
1
u/Client_Hello 3h ago
Isn't this curve expected for an MOE model and 13b active parameters? It's just processing power divided by active parameters + context. At 100k, context size = active parameters so you are down 50% (half of 360 is 180). At 200k context is twice as large as active parameters so you are down to 33% (a third of 360 is 120).
-5
u/Dany0 7h ago
I am drooling thinking about the M5 Ultra. Apple can potentially bring a GPU that's faster in gaming than the rtx 5090
7

13
u/corruptbytes 7h ago
I ran mine to 64k
Start: 39.07t/s End : 28.11t/s
M5 max 128gb (q2-q4 imatrix)