Unsloth Dynamic 2.0 GGUFs

(unsloth.ai)

107 points | by tosh 5 hours ago

12 comments

  • Maxious 4 hours ago
    ICYMI unsloth has had some major breakthroughs today with the Qwen3.5 local models https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks

    With the Qwen3.5 35B A3B at Q4 I've got 200k context running at 62.98 tokens per second on a local RTX5080 16GB.

    • danielhanchen 2 hours ago
      Oh I didn't expect this to be on HN haha - but yes for our new benchmarks for Qwen3.5, we devised a slightly different approach for quantization which we plan to roll out to all new models from now on!
      • nnx 1 hour ago
        Can you describe what is this slightly different approach and why it should work on all models?
    • roxolotl 2 hours ago
      What method are you using to do that? I’ve been playing with llama.cpp a lot lately and trying to figure out the cleanest options for getting a solid context window on 32gb vram and 64gb system ram.
      • jychang 2 hours ago
        32GB vram is more than enough for Qwen 3.5 35b

        You can just load the Q4_K_XL model like normal, and put all tensors on GPU without any -ot or --cpu-moe flags.

        If you need a massive context for some reason where model+kv cache won't fit in 32gb, then use -ot to move the ffn moe experts for 1-2 layers into RAM. You'll get a speed hit (due to loading params from slower RAM instead of fast VRAM) but it'll work.

        • roxolotl 1 hour ago
          Nice ok I’ll play with that. I’m mostly just learning what’s possible. Qwen 3.5 35b has been great without any customizations but it’s interesting to learn what the options are.
    • Kayou 4 hours ago
      Wait, the Q4 quantization which is more than 20GB fits in your 16GB GPU ? I didn't know that was possible, I was always restricting myself to smaller model than the VRAM I had
      • segmondy 4 hours ago
        llama.cpp is designed for partial offloading, the most important part of the model will be loaded into the GPU and the rest on system ram. I run 500B+ models such as DeepSeek/KimiK2.5/GLM-5 without having that much GPU vram.
      • Koffiepoeder 2 hours ago
        The A3B part in the name stands for `Active 3B`, so for the inference jobs a core 3B is used in conjunction with another subpart of the model, based on the task (MoE, mixture of experts). If you use these models mostly for related/similar tasks, that means you can make do with a lot less than the 35B params in active RAM. These models are therefore also sometimes called sparse models.
      • Maxious 4 hours ago
        Yep. These Mixture of Experts models are well suited for paging in only the relevant data for a certain task https://huggingface.co/blog/moe

        There's some experiments of just removing or merging experts post training to shrink models even more https://bknyaz.github.io/blog/2026/moe/

      • nurettin 3 hours ago
        This is why they say "A3B" meaning only 3B is active at a time, limiting VRAM usage.
    • cpburns2009 1 hour ago
      Does llama.cpp support Qwen3.5 yet? When I tried it before, it failed saying "qwen35moe" is an unsupported architecture.
      • reactordev 1 hour ago
        You would need the Dynamic 2.0 GGUF as discussed in the article.

        But mmmmmm, Q8_K_XL looks mighty nice.

    • mirekrusin 3 hours ago
      2x RTX 4090, Q8, 256k context, 110 t/s
    • RS-232 2 hours ago
      That’s intriguing. I have the same card, maybe I should give it a go. Curious about your CPU/RAM/storage capacity as well.

      Any resources for configuring the local setup?

      My entire home media stack is a single compose file in a WSL distro so it would be cool if local LLM worked the same way.

    • jychang 4 hours ago
      Not really breakthroughs, more like bugfixes for their broken first batch.
      • danielhanchen 2 hours ago
        No this is false - unsure if you saw our new blog - https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks which shows SOTA on nearly all bits, and we shared all our research as well
        • jychang 2 hours ago
          Yeah, I saw that yesterday. The blog post does not explain why/how the Qwen 3.5 quants uploaded on 2/27 are different from the files uploaded on 2/24.

          Old 2/24 Q4_K_XL commit (pre bugfix files): https://huggingface.co/unsloth/Qwen3.5-35B-A3B-GGUF/commit/7...

          Questions for a postmortem that the blog post left unanswered:

          - Why the change? Is it just to improve PPL/KLD? Sure, we can assume PPL and KLD are not perfect benchmarks. If yes, then why change the quantization anyways? Or was the old 2/24 quant actually much worse performing in the real world?I presume the Q4_K_XL quant using mxfp4 was the issue? If the 2/24 files having a lower PPL is an actual issue due to low quality tensors, then why not just say that?

          - What were the main tensors that had the quantizations changed from 2/24 to 2/27? Did you now quantize attention tensors differently? Or perhaps ssm? T

          - What was it changed from? Was it changed from mxfp4 or q4_k to q8, or something else?

          A quick sentence in the blog post saying "ok, we've confirmed that using mxfp4 (or q3 or whatever) in the attention/ssm/biases/norms/etc is a bad idea, we had that in our old models on 2/24 and our new models today are better" that would make it clear. As it's written, it's trying to both say "PPL/KLD don't actually reflect real world quality" and "we changed our quant to increase PPL/KLD" at the same time, which seems contradictory.

  • deepsquirrelnet 32 minutes ago
    I love the work unsloth is doing. I only wish gguf format had better vllm support. It’s sometimes hard to find trustworthy quants that work well with vllm.
  • Archit3ch 2 hours ago
    What's the verdict for real world use on Q3 120B (fits in 64GB) vs Q4 of a smaller model?
  • qskousen 3 hours ago
    This is pretty interesting, based on the blog post, it seems like they are using a technique similar to what I have been using to generate "layer sensitivity" data in my (still pretty beta) ggufy project, which is more aimed at diffusion (image) models. https://github.com/qskousen/ggufy
  • electroglyph 4 hours ago
    Cheers Daniel and Mike and team, keep up the good work!
  • tenpa0000 4 hours ago
    I run Llama 3.2 3B locally for latency-sensitive classification (sub-50ms, so no room for bigger models). At that scale Q2_K vs Q4_K_M isn't just smaller — Q2 starts flipping yes/no answers that Q4 gets right. Not often, but enough to notice in production.

    So the KL divergence numbers here are more useful to me than the MMLU tables honestly. I've had MMLU hold steady while the output distribution drifted enough to break things downstream.

    Does the calibration dataset make much difference at 3B though? There's so little redundancy that I'd expect it to hit a floor pretty fast regardless of how good the calibration data is.

    • zozbot234 3 hours ago
      For a simple classification task you generally want to prioritize regularization over more sophisticated behavior, so fewer parameters with larger quantization makes sense. For more generic chat-like purposes, Q2 of a larger model may often be preferable to Q4 of a smaller one.
    • am17an 3 hours ago
      What do you use for sub-50ms inference?
  • Havoc 4 hours ago
    Advances in this space are always welcome.

    I see the change in kld values is pretty modest vs prior version. Does anyone know how that translates to real world? Is more of a linear type situation or exponential etc

  • dyl000 4 hours ago
    So q6 is practically perfect, and q3 is meaningfully decent. very impressive!
  • jychang 4 hours ago
    What's up with this post? It's a link to something which has existed for a long time, and there's a bunch of dead comments below. Some weird SEO campaign thing?
    • tosh 4 hours ago
      Unsloth have just released benchmarks on how their dynamic quants perform for Qwen 3.5

      https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks

      • jychang 4 hours ago
        I'm aware of that, but that's not the link of the post. The post is linking to their UD 2.0 quants from a few months back.

        Also, the benchmarks are because they messed up the first version of their Qwen 3.5 XL quants by quanting some tensors to mxfp4 that should have been in higher quality, and this is their bugfix. The post literally starts out with "We updated Qwen3.5-35B Unsloth Dynamic quants being SOTA on nearly all bits" without explaining WHY they needed to update from the original version.

        • danielhanchen 2 hours ago
          Didn't expect this to be on HN haha - but sometimes HN does have older posts come up sometimes.

          No your conclusion is false - only the old Q4_K_XL had slightly higher perplexity, all other quants are fine. We uploaded 9TB of research artifacts to https://huggingface.co/unsloth/Qwen3.5-35B-A3B-Experiments-G... for the community.

          If you read our blog, it says KLD and PPL are actually sometimes counterintuitive - for example MiniMax some of our quants do worse on PPL and KLD vs AesSedai's one for example, but does worse on LiveCodeBench by a lot see https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks#id-3-...

          This is because see https://unsloth.ai/docs/models/qwen3.5/gguf-benchmarks#id-1-... - although bitwidths are in general monotonic ie q2_k < q3_k < q4_k < q5_k etc, we find KLD and PPL are actually not monotonic ie q3_k can actually have BETTER PPL than q4_k.

          So the main point is bad luck on quantization - sometimes lower bits might get lower PPL and KLD, but actually this is a ruse and wrong, since on actual real world tasks, it's worse.

          • jychang 2 hours ago
            The Q4_K_XL is easily the most popular quant for the model, though.

            So then why was Q4_K_XL having issues? Is it just a PPL issue that doesn't reflect in real world usage? If yes, why not just say that? "The Q4_K_XL had lower PPL, but don't worry, PPL can be wrong, and other benchmarks show it's fine". If it was a real quality issue, then where was the issue caused by?

            The blog post says "Retiring MXFP4 from all GGUF quants: Q2_K_XL, Q3_K_XL and Q4_K_XL, except for pure MXFP4_MOE" but doesn't say why. The easy assumption that most people would make is "oh, you quanted attention or ssn or something to mxfp4 and that turned out to be bad, so you retire mxfp4" but if you say that it's not that, then what's the actual issue?

      • lostmsu 4 hours ago
        Looking at their benchmarks there doesn't appear to be meaningful difference between their quants and bartowsky quants.
    • danielhanchen 2 hours ago
      Didn't expect this as well haha on HN again - probably related to Qwen3.5
  • aichen_dev 4 hours ago
    [dead]
  • MarcLore 4 hours ago
    [dead]
  • shablulman 5 hours ago
    [dead]