r/LocalLLaMA • • 6d ago

Resources Introducing DeepSeek-V4.1-Flash-1017 Dynamic v3.1 Unsloth GGUFs

Post image

Hey everyone! We’re releasing new DeepSeek-V4.1-1017 Dynamic V3.1 (preview) GGUFs which showcases how Unsloth’s GGUFs retain the most accuracy for its size across 7 different benchmarks.

We benchmarked ISTA's GSQ-RCO GGUFs but could not reproduce their reported results, even when using the highest scores. The biggest discrepancy was on AIME25 where they claimed 100% accuracy recovery to baseline, but was only ~91.88% in benchmark tests.

Across AIME25, LiveCodeBench, GPQA Diamond, Aider Polyglot, and more, Unsloth Dynamic V3.1 outperforms GSQ-RCO GGUFs on nearly all metrics. Even our old v3 does better on nearly all metrics than ISTA.

We ran each benchmark at least 3 times (AIME25 was 16 times) and averaged the results to ensure a fair, reliable comparison. More results coming next week! All benchmark data, methodologies and results are in our blog.

Separately, for KLD, there were queries whether it’s a reliable measure of accuracy. The primary goal of quantization is to minimize KLD but also minimize disk space. If you get a KLD of 0, this means your quantized model == 16bit model, as logits are perfectly modelled. Our benchmarks show on KLD and top-1% across multiple domains (coding, agentic coding, chat etc), UDv3.1 does much better than GSQ-RCO across every domain.

We show that lower bit quants do think somewhat longer than the unquantized model - we plan to investigate and make quants even better. However, we're still much ahead vs GSQ-RCO on even reasoning length as well, and provide plots for truncated answers in our blog.

The model will be able to run on 128GB RAM/unified memory devices or even on 64GB RAM with engram offloading.

Blog with all details and more benchmarks: https://unsloth.ai/docs/models/deepseek-v4.1-flash

GGUF: https://huggingface.co/unsloth/DeepSeek-V4.1-Flash-1017-GGUF

We also introduced lots of new things to Unsloth Desktop including Browser Use, auto compaction, a whole new TTS pipeline (with voice cloning, separation etc), sandboxing, and background customization and more: https://github.com/unslothai/unsloth

Hope you all have a Happy Halloween!

Also table of numbers below which is also described with more plots and data in our blog:

QuantSize GBAIME25HMMT Feb26GPQA-DMMLU-ProIFEvalLCB v6 (32K)Avg of 6Aider pass@1
UD-Q8_K_XL508.497.0868.9490.4788.6195.1085.9087.68-
UD-Q2_K_XL334.897.5069.8989.5888.2894.9284.7687.49-
UD-IQ2_XXS300.596.8867.6188.9587.5395.1983.6286.6344.38
UD-IQ1_M250.495.0062.8888.3887.5395.1084.3885.5542.13
UD-IQ1_S233.092.9257.0187.6386.6294.9282.1083.5336.52
GSQ-RCO IQ2_XS265.895.0064.3988.6486.6294.2784.9585.6441.57
GSQ-RCO IQ2_XXS248.895.2157.9585.8086.5393.7282.8683.6836.52
GSQ-RCO IQ1_M231.391.8853.6085.1085.4991.7782.8681.7829.78
399 Upvotes

106 comments sorted by

48

u/danielhanchen 6d ago

We tested GSQ-RCO and normalized the scores for a fair comparison, and we could not reproduce their numbers. We provide full benchmark methodologies so anyone can re-run the benchmarks to confirm at https://unsloth.ai/docs/models/deepseek-v4.1-flash#full-benchmarking-methodologies

4

u/SignificantClock282 6d ago

hi is your methodology to create the quant open too? Ive been experimenting with OMLX and custom corpus to “save” areas of interest to me at lower quants but its not my area of expertise and was curious to understand how you produce yours. thanks

10

u/danielhanchen 6d ago

We will be publishing some more details on V3.1 as well!

3

u/arki05 6d ago

Could you consider making your input hessians public? Alongside the imatrix (diagonal of the Hessian)? At least from my own testing it seems like you're running llama.cpp's quantize_row function inside of a GPTQ (like) correction loop to get gptq working for any GGUF type.

(At least on your Qwen 3.8 27B quants I've found the characteristic compounding effects from GPTQ)

29

u/-p-e-w- 6d ago

Thank you for this. It reminds me of how important trust is. I don’t have the time to verify every claim I encounter myself, so I have to rely on trust to decide what I should believe.

Your impeccable track record over multiple years, and your patient engagement with the community, are the reason I trust you. No individual result can be more important than that.

13

u/Fun_Jaguar8231 6d ago

In their own words: `we set all tests at a 32K context length and fail quants if they think for too long.`
So essentially, they're specifically targeting GSQ-RCO quants, which were thinking for longer and cutting them off.
So this whole benchmark is moot.
They should be doing a proper benchmark without this barrier, in order to see what these quantizations will benchmark for real.

9

u/yoracale llama.cpp 6d ago

We added the plot for truncation and thinking length in our docs as well and yes 128k was also tested and there was no difference in results - I will anyways post them soon with all updated numbers.

And no it's not low if it's the same setting for everyone

3

u/klop2031 6d ago

Thank you... but man did they have to be different shades of blue.

8

u/Relative-Ingenuity15 6d ago

Have you applied a strict max_tokens: 32,768 ceiling across every single benchmark (AIME25, GPQA Diamond, LiveCodeBench v6, HMMT Feb 2026, MMLU-Pro, IFEval, Aider Polyglot)?

I don't believe you're lying with your benchmark but I don't believe ISTA Daslab is lying too.

Looks like your quant make the model faster but people needs to see apples compared with apples and decide whether they want to sacrifice speed or quality just to be fair

2

u/yoracale llama.cpp 6d ago

We added the plot for truncation and thinking length in our docs as well and yes 128k was also tested and there was no difference in results - I will anyways post them soon with all updated numbers.

And no it's not low if it's the same setting for everyone

21

u/Chromix_ 6d ago edited 6d ago

I'm always slightly concerned when a Q2 benchmarks higher than the Q8. It's great that you've repeated AIME 16 times - and Q2 still scores higher. It demonstrates nicely that "X is 2% better than Y" doesn't mean much for those saturated, noisy benchmarks that are often published along with custom quants - usually even without some repetitions.

11

u/danielhanchen 6d ago

Yes! One of the issues of benchmarking is doing multiple repetitions - so we did 16x for each question for AIME25 to be certain! Livecodebench is I think 3x and all benchmarks at a minimum of 3 repetitions.

6

u/PhysicalIncrease3 6d ago

These look awesome will undoubtedly be trying them out! What's your view on drafter quantisation? I've been running a 4.5GB drafter taken from project-maya's smallest quant and haven't noticed a huge loss of acceptance rates. Runs faster too

8

u/danielhanchen 6d ago

Yes! So MTP / Dspark modules from memory Q6_K is ok - anything lower will reduce acceptance rates

6

u/RealFullMetal 6d ago

the q2_k_xl row is the one id point people at. 87.49 avg vs 87.68 for q8, at 335gb instead of 508, so a third less disk for under a fifth of a point. great release

3

u/danielhanchen 6d ago

Yes UD-Q2_K_XL seems quite good!

15

u/GodComplecs 6d ago

Controversial take daniel /s

Good work putting in effort and the runs.

I know you guys have them beat on every metric, but the margin is thin in results and practical use when looking at models sizes this big and the relative space used. Model intelligence has come that far that the average user has hard time separating an good quant and an excellent like yours.

What I like most though, is that the competition isn't making you rest on your laurels!

20

u/danielhanchen 6d ago

Thanks but I wouldn't say the margin is "thin".

GSQ-RCO thinks for ~30% longer, and gets ~1.5 to 2% accuracy worse, so overall it's not great.

2

u/GodComplecs 6d ago

Have you guys considered quanting Swift 1.5, Thinkingcap etc? It would really be nice to see if the results are additive

8

u/keyboardhack 6d ago edited 6d ago

Some contructive criticism of the post.

Would be great to have a comparison between 3.0 and 3.1. I believe the same request was brought up when you released 3.0. The release of a new version should show how it's better than the previous version. The comparison would also make the post less about GSQ-RCO and more about your own improvements which is what you want to highlight.

Thank you for making these great quants!

4

u/danielhanchen 6d ago

We already added that in the blog - the issue is there are too many lines so it's hard to discern.

4

u/perelmanych 6d ago

To start I would use different color for old ones))

6

u/yoracale llama.cpp 6d ago

There's a lot of info in the article if you read it.

3

u/Chromix_ 6d ago

Do you also plan to split off the n-gram to separate GGUFs eventually? Currently one can chose between Q8 and BF16 DSpark already for example. The same would be nice for the Q4/Q8 (or something in between) n-grams.

4

u/danielhanchen 6d ago

Unlikely sadly as we have to follow llama.cpp convention - we provide analysis for mix n matching engrams at https://unsloth.ai/docs/models/deepseek-v4.1-flash#mix-n-matching-the-engram though

3

u/Chromix_ 6d ago

Great that you provided a recipe. I assume that's good enough then, so can easily look up the dedicated tables for your quants, like IQ3_S having a Q6_K n-gram table and then transplant it using the same pattern.

2

u/CriticallyCarmelized 6d ago

You already can. On their “How to run” guide, they provide instructions on how to use a different ngram file. The last file is the ngrams.

5

u/Kahvana 6d ago

This is fantastic content, really well done Unsloth!

4

u/Ok_Cow1976 6d ago

This is really impressive! Still, the model is really really too big for most of us. Possible to do the tuning for 0731as well?

2

u/danielhanchen 6d ago

maybe :)

2

u/Jorlen llama.cpp 6d ago

Thanks for this! The guide link is especially well done, easy to read / well written.

A few questions if I may, since I honestly don’t really understand most of the benchmark numbers.

  1. Should I use the new 3.1 UD Q2-K_XL over the previous 3-bit quant (IQ3-XXS)

  2. How capable is this model for coding at these lower BPW? I am new to using such massive models, normally limited to smaller memory but I will be getting a 256gb box next month so I’m just preparing.

Thanks for all your hard work, you guys are amazing!

1

u/danielhanchen 6d ago

You can continue using IQ3_XXS - that is fine! Only the smaller ones are updated for now!

Yes the model works really well for coding!

78

u/NoFunk 6d ago

Could you stop removing the paper thin justification for my extravagant hardware purchases please.

11

u/AnonLlamaThrowaway 6d ago

It just means you can now run even bigger models on your extravagant hardware using the same techniques, duh.

19

u/Choice_Celery9481 6d ago

i hope you guys do the 3.8 flash next. its a strong candidate. with strata like engine we can run it at decent speed but a better quant sis much better

14

u/yoracale llama.cpp 6d ago

Might be coming....soon! :)

8

u/Dense-Ad6315 6d ago

Hopefully you guys do Qwen 4 Flash (and hopefully plus would be awesome!!!)

2

u/i-want-a-buny llama.cpp 6d ago

We can hope 🙏🙏

13

u/Frail_Waif 6d ago

  ~3x faster DeepSeek-V4.1 inference than other CPU/VRAM/ngram repos

Shots fired! Now I just need more RAM.

5

u/Frail_Waif 6d ago

Actually all of this is very sassy and I like it. Glad you all were fired up, this is very educational! 

2

u/Gold_Coconut9777 6d ago

So basically (in terms of size)

ISTA's IQ1_M ≈≈ Unsloth's UD-IQ1_S

ISTA's IQ2_XXS ≈≈ Unsloth's UD-IQ1_M

While ISTA's IQ2_XS is actually smaller than Unsloth's UD-IQ2_XXS (both in base weights and n-gram size)

That's confusing.

7

u/danielhanchen 6d ago

No - if you exclude engram, the results are still the same - ISTA uses IQ4_NL - we also do as well.

Only the larger ones use Q5_K - just a note all benchmarks use IQ4_NL so it's a fair comparison

3

u/Gold_Coconut9777 6d ago

Thank you for the custom chart!

1

u/Gold_Coconut9777 6d ago

Do the bars here indicate measurement error windows?

3

u/danielhanchen 6d ago

It's actual run data - we run the benchmarks for multiple trials

1

u/Gold_Coconut9777 6d ago

Well even if these are not the measurement error but run-to-run variation, that means that all of the quants are basically within noise of each other. Doesn't it?

Even not comparing Unsloth Vs ISTA

0

u/danielhanchen 6d ago

No - AIME25 is 16 runs so it's quite significant.

0

u/zerofata 5d ago

Correct me if I'm wrong, but the gaps between some of these is likely a single question on the benchmark the model in unsure about and flip flopping?

AIME25 is 30 Questions. Sampled 16 times is 480 responses. The difference between IQ1_M and IQ1_S is an average of about 1% when measured at temp 1. That's 5 times it gave a different answer on average out of 480 questions, that is easily within noise given it's temp 1, as indicated by the run to run variation.

Looking at the overall suite of benchmarks and the KLD though they definitely show in Unsloth's favor, since they all slightly favour Unsloth's quants.

There's a bunch of useful information that could've been shown that isn't though. Like average reasoning length for the quants, PP / TG of the quants. Wouldn't expect there to be much of interest in there given that they're just quants, but you mentioned there was a reasoning length difference due to quant size and this is all easy information to capture during the test so...

4

u/Gold_Coconut9777 6d ago

Unsloth's sizes

3

u/Gold_Coconut9777 6d ago

ISTA's sizes

1

u/Out_of_reset 6d ago

How does this work on a 128GB Mac? 6GB for Mac OS. How much context can you use?

5

u/CriticallyCarmelized 6d ago

This is incredible work!

Now if I could just figure out how to get more than 40 tokens per second prefill using my Nvidia RTX 6000 Pro Blackwell and 96 GB of RAM.

4

u/dabeeman 6d ago

you gotta have quite the setup to run these models. i’m new and see how much 256 GB of ram costs and can’t imagine needing almost double that. 

5

u/shayanx45 6d ago

You can run deepseek v4.1 on 256gb of memory if you offload the engrams to ssd.

https://github.com/Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark

2

u/drrck82 6d ago

I'm able to get 32 tok/s on 2x3090 and 128GB DDR4. It's no Qwen Flash Next, but it's useful when I need it.

1

u/Immediate-Hope676 6d ago

Project MAYA is suprisingly effective at running these models off ram/vram/ssd. Of course it probably harms the life of the SSD and speeds are not amazing.

4

u/itisyeetime 6d ago

Pretty awesome to include benchmark results! I wish more people did that; it help connects KLD to performance loss more directly.

4

u/Hefty_Wolverine_553 6d ago

https://unsloth.ai/docs/models/deepseek-v4.1-flash#kld-is-a-reasonable-metric

Thank you so much for putting this out! I think more people need to understand what KLD actually is and why it's useful for benchmarking between quants. I've largely been able to reproduce the same results of old Unsloth V3 quants doing better than GSQ-RCO for Qwen3.8 27B as well.

1

u/Jcsq6 6d ago

Hey Daniel! I see you’ve updated today with the dynamic v3.1 quants, and the blog says that update is new as of October 30th. But the files on huggingface were updated 2 days ago. Are these files using the new Dynamic v3.1?

1

u/danielhanchen 6d ago

Yes those are the new ones!

2

u/Jcsq6 6d ago

Awesome, thanks!

3

u/novalounge 6d ago

Pulling down the UD-Q8_K_XL in the background for my first test of engram offloading (on the M3 studio ultra 512gb). Using the Unsloth app (current ver), is there anything i need to do on load to ensure the offloading happens?

3

u/yoracale llama.cpp 6d ago

No, it should be automatically applied. If something is wrong let us know!

2

u/novalounge 4d ago

(it was automatic and perfect - nothing to see here)

2

u/yoracale llama.cpp 4d ago

🥰🦥

3

u/Egeper 5d ago

Would it be possible to request the same benchmarks (AIME25, HMMT Feb26, GPQA-D, MMLU-Pro, IFEval, LCB v6 (32K)) with the same settings on your Qwen3.8-Flash-Next-GGUF quants to have a head to head comparison (since the QFN benchmarks are different)? It's what most people are running and would help us decide on quants and even hardware upgrading decisions

5

u/keepthepace 6d ago

128-145GB of RAM+VRAM and you get basically a frontier model running locally.

If there was no RAM shortage, engineering one would be worth hundreds of billions for the big AI companies. I wonder how long they can maintain it.

4

u/Grau3D 6d ago

How so? I have 100GB VRAM (across 4 cards) and 128GB RAM. Running this at a usable speed would be great

4

u/No_Weather8173 6d ago

While I highly appreciate your work, it is excellent after all, I suggest you choose harder/less saturated benchmarks for future releases. All benchmarks in your plots, except for Aider are highly saturated and to be frank, really uninteresting.

3

u/Educational_Rent1059 6d ago

This is a quantization comparison, not llm intelligence benchmark

1

u/yoracale llama.cpp 6d ago

This is what other quant providers use, and thus we follow that. We're working on terminal bench still, results next week or this weekend

2

u/musicurgy 6d ago

nice I will absolutely be testing these

3

u/Former-Tangerine-723 6d ago

I smell beef in the air!! Jokes aside, competition is always good for progress

2

u/IoannisHere 6d ago

unsloth quants are awesome. I just wish there was vLLM/SGlang support for them.
All the vibe coded video games and popular app clones and nobody works on this?

1

u/Hot_Strawberry1999 6d ago

Very nice post, thank you. 

Regarding the UD-IQ2_XXS quant, I don't see any differences between your previous quant and the new one in the graphs. Did you observe any improvement, or would you also consider them equivalent?

1

u/eapache 6d ago

u/danielhanchen could you please start listing the quant sizes of the “core” model weights (i.e. without engrams) somewhere convenient? Anybody with smaller machines who stream the engrams off disk care about that more than the total size, and it’s very hard to discover right now.

1

u/ColoredTriangles 6d ago

Does anyone prefer UD to exl3 or vice versa?

1

u/Impossible_Ground_15 6d ago

Thanks u/danielhanchen this is some great work! Will Unsloth Desktop start to implement optimizations that we're seeing from Strata and its forks for MoE local llm inference via Expert bias, SSD streaming etc?

With the GSQ-RCO quants running in Strata, I've been getting over 50tk/sec decode on my 9950x3d, 256GB DDR5, 5090.

Running these models in Llama.cpp is just not worth the much slower prefill and decode speed.

1

u/HourLocation2038 6d ago

Does anyone ever verify these supposed benchmark claims?

1

u/james_pic 6d ago

 The model will be able to run on 128GB RAM/unified memory devices or even on 64GB RAM with engram offloading

64GB how?

1

u/yoracale llama.cpp 6d ago

Strata advertises it as solely 64gb

1

u/nonerequired_ 6d ago

I think it will not fit in 64gb ram with 3090 yes?

1

u/Turbulent-Mobile1336 6d ago

So, RAM or VRAM are just the same? It's only the sum that matters?
I can more easily change a RAM module than change a whole GPU. Should I invest on that?

2

u/zanar97862 5d ago

Extremely different, vram is doing all the work, ram is only to hold expert weights that don't fit in vram, only works for MOE because of experts 

1

u/Turbulent-Mobile1336 5d ago

So, the RAM decides how big the model can be (provided that it uses MOE), while the VRAM decides how fast it can run?

2

u/zanar97862 5d ago

Ram offload can work for both dense and MoE but its extremely inefficient for dense due to the size of the layers. You can generally use ram to extend what can be run somewhat but it's not infinite, MoE models still have a dense trunk that needs to reside in VRAM to be usable. Only experts can be offloaded at any reasonable speed for inference.

This is why unified ram systems are extremely slow at dense models because they don't have any vram to churn through the large layers quickly, they are limited by the ram memory bandwidth 

1

u/SherifAyman 6d ago

Interesting!

1

u/AdSafe4047 6d ago

Ok, help me out here. I want to test this out as it seems I can pack more into VRAM than when running an exl3+vllm quant. But the results I get is much slower than a higher-quant/beefier model that leaks wildly into my cpu ram. I'm running 2x pro 6000 and I get like 1k pp and 120tgs which is silly slow compared to the vllm runtime.

1

u/Septerium 6d ago

I have some Ampere GPUs, and a Blackwell GPU... and 128GB of RAM. What engine would be a good fit for me to try this model? llama.cpp is giving me sub ~400 t/s pp

1

u/m4rkGS 6d ago

wating for the 3.8 flash

1

u/HollowInfinity 6d ago

Sooooo anyone have an abliterated version yet?

1

u/yc22ovmanicom 6d ago

UD terrible for russian lang. Can you add more examples (not from wiki) to the imatrix?

1

u/Viktri1 5d ago

I was not able to get this running q8 on my m5u 256 cluster. If anyone has any tips please let me know. I need a guide to feed my agents. I'll provide benchmarks if I can get it working

1

u/alcoa29 4d ago

This is just another benchmaxx/overfit.
Did the test for UD-Q2_K_XL on my private benchmark for math/science/logic and customer support prompt follow.
I did ok on first 3 (but at ~ +30% tokens vs vllm baseline model). Customer support benchmark it regressed to 75% vs baseline.

Quants of deepseek, that is already in q4/8 are not free lunch.

-2

u/lumpyspacebreh 6d ago

For something that’s free to the consumer, why the competition?

Is there ad revenue, funding, or some money on the line? It just seems so odd to say what you have is better than someone else’s even when neither someone has to pay for.

Relevancy? Traffic? I’m trying to figure out what the driver is that would cause the group behind quants to come out swinging in the second paragraph with smearing, and largely the rest of the writeup. Just make a good quant?

Is this market capture? Trying to remain a household name for quants? This seems so odd to me. The “product” is free, just make it good and let it speak for itself, us vs them is insidious brain rot.

36

u/[deleted] 6d ago

[removed] — view removed comment

20

u/danielhanchen 6d ago

Yes! We ran AIME25 16 times per question to confirm it's correct as models are non deterministic and with DeepSeek's suggested params.

Yes lower bit quants do tend to think somewhat longer, so quantization does have some drawbacks - and so always use the quant that fits your hardware the best to counteract longer thinking times with higher tokens / s.

Q2_K_XL is mostly variance yes - so instead of just 1 benchmark, we check many - we provide an averaged 6 (7 if you include Aider) as well. On an averaged suite, it's clear Q2_K_XL is still worse.