Firstly, we’re a stone’s throw away from hitting a million downloads. 1,000,000. I am flummoxed when I type that number, and even more flummoxed when I realize that every single model we build is 20+ GB.
Qwen 3.8-27B is here, and we made an excellent 0-day quant using PrismaQuant’s new AQUA (activation-quantization-awareness) functionality
AURA let us understand how a linear’s sensitivity propagates through the model and how it impacts downstream kl
AQUA lets us do the same, but this time for activation quantization. AURA was totally blind to this. Even if you can perfectly quantize a 16-bit weight into 4 bits, your activations also get quantized, and activation magnitude is actually more important! AQUA takes this into account and allows linears that have big activations to get better formats, under the constraint of our bit-budgets.
We have two 3.8 releases:
A 22 gig quant for Sparks and 5090s.
A 13 gig quant for 5080s
I don’t have a ton of benchmarks for the 13 gig one yet (volunteers, anyone?) but the larger one scored 93 on Tool Eval Bench and has magnificent perplexity and KL scores. Proof: Qwen3.8 27b - Upcoming release countdown - #44 by m0l0
We’ve also launched prismaquant.org. The interactive browsers are fire, but some of the text is AI-sloppish. We’ll refine it, but for now it’s a great place to read about how PQ works.
We’ve upgraded a bunch of the internals of PrismaQuant, and made big chunks of it format-agnostic. The entire first-half of the quantization process is just a sensitivity analysis (you can actually visualize this on the prismaquant site!). Over the next few weeks I’m hoping that prismaquant.org becomes a place where model-sensitivity matrices can be shared to dramatically speed up the quantization process between contributors. They’re relatively small and takes a long time to compute. The only thing that will need to happen on the users’ machines will be format selection.
Gridbook is a huge amount faster; almost native speed. Because of the nature of codebooks, it will never be completely native speed, but we slimmed down the formats, added some really cool 8-bit learned codebooks that perform even better than our old lattice codebooks, and eliminated a handful of 8-bit subformats that had crappy prefill. The learned/lloyd codebooks perform astonishing well and allow us to capture significantly more information than the lattice-based ones. We’ve also integrated ldlq and advanced interpolation to allow us to measure 2-3 formats and extrapolate how each format will work for each weight. It’s just awesome and saves so much time!
DSV4Flash 0731 for SINGLE spark is coming tonight or tomorrow morning.
I cannot believe how annoying this quant has been. I have also been my own worst enemy here, routinely stopping and exploring new mechanisms and techniques, but it’s made the overall project much richer. DSV4flash will ship using aqua + gridbook. I have been inspired by @entrpi 's amazing performance, and on a bit-normalized basis (we’re shipping ~2.7ish bits) I believe we perform close to his quant – about ~22 tps and ~750 prefill. Again, not quite as good as the 2-bit quant, but still respectable and in my opinion a reasonable tradeoff for the improved intelligence.
Tomorrow, you’ll be able to see the format-weight map on prismaquant.org for DSV4flash. As an aside, I encourage everyone to look here: The Sensitivity Matrix and examine how the sensitivities between Qwen3.6-27B and Qwen3.8-27B are so super-similar. It really feels like x-ray’ing the model.
As always, thanks for your support and encouragement and assistance with testing. Several of you have submitted PRs and I’ve done my best to get them turned around as fast as possible. This is the best community on the internet.
Congrats Robert! Fantastic work. For Qwen 3.8 27B, were you able to test with vLLM on DGX spark, and what kind of throughput generation rate did it show? Curious how the generation rate compares to that of Qwen 3.6 27B which you had quantized before.
The recipe is also in that comment. I did not yet spend a lot of time optimising the performance, and this was with MTP. My understanding is more speed is to be had once quality dflash/dspark speculative drafters arrive.
Regarding DeepSeek 4 Flash: I used prismaquant a week ago to produce (using effectively the scripts you prepped for it in the repo) a 92GB version, used online DS4F to help me to get it running, also got close to those speeds you quoted (but a bit slower). Very much looking forward to your release, am sure there will be some improvements over the quant my version made.
For the majority of my type of coding work, prefill around 800-1K is fine with the good level of cache usage one gets, you only pay the price (a couple of minutes for a 120k requeste) once and thereafter the incremental prefill time is small.
I am not surprised you didn’t reach those speeds. Kernels were upgraded Friday early am est I think. Glad it works for you though; it’s been such a beast for me
Thanks for the good work - very keen to get your ds v4 F version up and running.
On that note, I’ve tried to run the DS4F-0731 AQUA gridbook quant with Claude (Fable) on my GB10, as per the model card with eugr’s vLLM, but we’ve hit a couple of issues on a GB10 (details below). Claude has also written a very detailed report on it too if that’s helpful?
The two issues per Claude are:
The single-file 87GB checkpoint can’t complete loading on a 128GB GB10 — load peaks at ~2× the file size (CPU staging + the UMA “VRAM” allocation share the same pool), so the engine gets OOM-killed a few minutes in — including under the shipcard’s own launch flags on the exact gated image digest. Re-sharding locally into 11×8GB files fixed loading completely (happy to share the script — might be worth publishing the repo sharded for Spark users).
Once loading is solved, chat generation never emits EOS — correct answers, then degenerate repetition to max_tokens at every temperature. Reproduced on the pinned eugr/spark-vllm@58862b38 digest with the shipcard environment mirrored (DeepGEMM off, generation-config vllm, eager), tokenizer sha-identical to the official repo, gridbook 0.8.9 and 0.8.10.
I will have a look tonight (EST). I’m running vanilla eugr vllm without any special tweaks aside from latest gridbook plugin. Someone else mentioned similar memory issue so I’ll look into it.
Chat has been coherent in my testing, but I’m going to let an agent hammer it while I’m at work to see if I can replicate your results.
Appreciate your testing and sorry it hasn’t been smooth!
Answers contained within. The crux is likely that the reasoning effort is set too high for the second issue, and that we need to explicitly set the mv cache sizes for the first one.
Havent had time yet to play around myself tho, probably not before next week sadly :D
Friend of mine also has issues with the normal DS4 on 2 sparks with eugrs containers …
With thinking: falseI get more than 100 t/s avg generation speed for concurrent batch jobs and they produce very good results. I’m still experimenting with various reasoning levels but even low seems to take forever…
Even though this is just my first post here I would dare to also make two suggestions:
Whenever possible split the weights in several files – this would help users with somehow poorer network connectivity avoid redownloading a very large file due to errors in the process (xet does not support resume (yet), while it is impossible to disable it for very large files).
Would be nice to integrate the gridbook in eugr’s vLLM.
The feedback is welcome! I will update my stack to make smaller files. It’s a zero cost uplift.
Agreed, it would be nice if gridbook distribution got easier. I think if community use takes off, it will be an easier sell to get integrated. We will see.
I expect decode to be 19-20 tps. Prefill should be around 750 tps.
MTP will come later after more testing. There’s been a lot of movement in the community re: MTP so you might want to just take heads provided by others for testing.
We haven’t been able to test what the best trade-off between speed and size is yet for speculative decode.
My first test with thinking enabled and reasoning_effort set to low just finished. I still have to assess the quality of the results, but can already see that the number of items that I’m looking for is slightly lower in this case compared to the previous run with thinking disabled. On the other hand it took much longer for the 116 concurrent jobs to finish (21951.6 seconds vs. 1032.3 with thinking disabled). Since I’ve run the same test with ~80 different models/quantizations/settings, I can also say that just 7 out of them happen to be slower on the same tasks than this ds4 setup with thinking enabled. Among those 7 the slowest one so far has been GitHub - tylerwagler/pulsar: DeepSeek v4 Flash local inference engine for CUDA · GitHub (44000.8 s) and the main reason for this was the modest concurrency (2 vs. 116). I’ve also observed that the KV-cache grows relatively slowly for this model with Rob’s quant and eugr’s vLLM in the context of my tasks, so (in my case) it might be possible to aim for even higher concurrency despite the 1.52x reported by vLLM on startup for the given model length.
Startup time is about 5 minutes on my spark (nvidia made, headless, all updates applied, vLLM version 0.27.2rc1.dev209+gf9f066d19.d20260818). Are you using instanttensor?
Generally I am very unhappy about the flakyness of vLLM and the many confusing parameters that it has. This is why it would be of great benefit to have a “known good solution” for serving the model.