Hacker News new | ask | show | jobs
by AntiRush 56 days ago
I've been working on support for this model in ds4 on the RTX 6000 pro - it's been really great for my use cases. The ds4 q4 quant performs a lot better than other similar sizes that I've seen.

Using the Q4 quant on an RTX 6000 Pro Workstation Edition at 450 watts:

  Code: prefill 1,251 tok/s decode 255.26 tok/s
  Prose: prefill 1,251 tok/s decode 198.78 tok/s 
Most important for me, I can run 4 concurrent streams at 400+ tok/s.

https://github.com/fairfieldt/ds4

2 comments

DS4 is an odd model. I have it working on way too many GPUs and yet for many tasks Qwen 3.8 will do much better. It also tends to loop, which is super annoying.

GLM5.3 runs on similar hardware and is much better so if you're going to burn cycles and brain power on this maybe look at GLM5.3 as a comparison as well?

Other than that, when you're done with that card...

Agreed that glm-5.3-flash is a strong model. On a single 6000 pro you can (barely) fit a q2 quant in vram. I haven't used it extensively, but my initial feeling is that the q2 is quite a bit worse than q4 for this model. To run it comfortably at q4 with reasonable context length you really need 2 6000s.

When the qwen 4 series is released I am hopeful there'll be a strong model with the same architecutre. as qwen3.8-flash-next.

  |  0  N/A  N/A  321801 C llama-server 16540MiB 
  |  1  N/A  N/A  321801 C llama-server 22404MiB 
  |  2  N/A  N/A  321801 C llama-server 23480MiB 
  |  4  N/A  N/A  321801 C llama-server 43982MiB 
  |  5  N/A  N/A  321801 C llama-server 41656MiB 
  |  6  N/A  N/A  321801 C llama-server 22366MiB 
  |  7  N/A  N/A  321801 C llama-server 16208MiB
That's 3.86 bits per word I could run the 4 bpw one as well (there is still one spare gpu and another 27G on the ones listed above. DS4 uses about the same memory, is a little bit faster (though I suspect that by the time GLM 5.3 support is a bit more mature the speed difference will have evaporated).
GLM 5.3 Flash even at Q3 really feels like “we have Claude at home”
Pretty much. And, interestingly, even though it is a little bit slower than most other models I can run here it is quite a bit more efficient with the number of tokens used so on longer runs it often comes out ahead in terms of wall clock time. YMMV of course this is for pretty specific workloads and there is a good chance that on other workloads it would perform worse. But so far it has been a pretty good model for us.
ds4 is the inference engine not the model.
Sorry, but no, I use DS4 as the shorthand for Deepseek 4, it is no coincidence that that particular inference engine was called DS4.

From the homepage of the inference engine:

"DwarfStar aims to be the best way to run a few excellent large language models on consumer hardware (that is, hardware that people can actually own). To reach this goal, we are building a small native inference engine optimized first for DeepSeek V4 Flash (including the experimental vision model), DeepSeek V4.1 Flash (Metal, and text inference on CUDA), and additionally GLM 5.2 and 5.3, GLM 5.3 Flash and DeepSeek V4 PRO, and Qwen3.8 Flash Next (Metal and CUDA)."

The model has been around longer than that. DS3 = Deepseek 3 etc. I think Salvatore named it pretty cleverly but he doesn't automatically get to own a two letter acronym.

Those prefill numbers don’t seem right for Qwen Flash Next. I get 3,000 tok/sec on a DGX Spark and that’s got a lot less raw compute than the 6000 Pro.
Yes, you're correct - bad copy from my notes. 3,111 tok/s is the correct number.