HNHacker News
TopNewBestAskShowJobs

danielhanchen

3,617 karma · joined September 8, 2021

Unsloth github.com/unslothai/unsloth - finetune Llama 2x faster + use 70% less VRAM

1. Used to work at NVIDIA RAPIDS cuML

2. Discord: https://discord.gg/unsloth

3. Github: https://github.com/danielhanchen

4. Twitter / X: x.com/danielhanchen

5. Email: my handle @ gmail.com

6. Bug fixes for Gemma: https://news.ycombinator.com/item?id=39671146

7. Bug fixes for Gradient Accumulation: https://x.com/danielhanchen/status/1846235913443262891?lang=en

submissionscomments
danielhanchen··on Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model
We made Unsloth Studio which should help :)

1. Auto best official parameters set for all models

2. Auto determines the largest quant that can fit on your PC / Mac etc

3. Auto determines max context length

4. Auto heals tool calls, provides python & bash + web search :)

danielhanchen··on Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model
Haha :)
danielhanchen··on Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model
Haha :) We had some issues with Kimi-2.6 since it was int4 and we were investigating how to handle it :)
danielhanchen··on Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model
We also made some dynamic MLX ones if they help - it might be faster for Macs, but llama-server definitely is improving at a fast pace.

https://huggingface.co/unsloth/Qwen3.6-27B-UD-MLX-4bit

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yes sadly CUDA 13.2 is broken - NVIDIA will push a fix in CUDA 13.3
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yes we have started doing diffusion GGUFs but it's in it's infancy :) But yes we do generate images to test quants out!
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Love the JPEG analogy :)
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yes so chat templates and the actual implementations
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Thank you! Agreed on chat template issue
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Oh yes! This only applies if one uses hf download / snapshot_download - other normal download methods sadly won't have XET
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Probably yes
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yep agreed at least 1 week is a good idea :)

We do get early access to nearly all models, and we do find the most pressing issues sometimes. But sadly some issues are really hard to find and diagnose :(

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Oh that is pretty good! And the SVG one!
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
They sometimes do! Qwen, Google etc do them!
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Sadly it's not always chat template fixes :( But yes we now split the first shard as pure metadata (10MB) for huge models - these include the chat template etc - so you only need to download that.

For serious fixes, sadly we have to re-compute imatrix since the activation patterns have changed - this sadly makes the entire quant change a lot, hence you have to re-download :(

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Oh for multi files? Hmm ok let me check that out
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Hey thanks - yes agreed - for now we do:

1. Split metadata into shard 0 for huge models so 10B is for chat template fixes - however sometimes fixes cause a recalculation of the imatrix, which means all quants have to be re-made

2. Add HF discussion posts on each model talking about what changed, and on our Reddit and Twitter

3. Hugging Face XET now has de-duplication downloading of shards, so generally redownloading 100GB models again should be much faster - it chunks 100GB into small chunks and hashes them, and only downloads the shards which have changed

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Oh hey - we're actually the 4th largest distributor of OSS AI models in GB downloads - see https://huggingface.co/unsloth

https://unsloth.ai/docs/basics/unsloth-dynamic-2.0-ggufs is what might be helpful. You might have heard 1bit dynamic DeepSeek quants (we did that) - not all layers can be 1bit - important ones are in 8bit or 16bit, and we show it still works well.

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yep we can do that probs add a table - in general be post in discussions of model pages - for eg https://huggingface.co/unsloth/MiniMax-M2.7-GGUF/discussions...

HF also provides SHA256 for eg https://huggingface.co/unsloth/MiniMax-M2.7-GGUF/blob/main/U... is 92986e39a0c0b5f12c2c9b6a811dad59e3317caaf1b7ad5c7f0d7d12abc4a6e8

But agreed it's probs better to place them in a table

danielhanchen··on Qwen3.6-35B-A3B: Agentic Coding Power, Now Open to All
Thanks!
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Oh thanks haha :) We try our best to get model releases out the door! :) Hope you're doing great!
danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yes this is fair - we try our best to communicate issues - I think we're mostly the only ones doing the communication that model A or B has been fixed etc.

We try our best as model distributors to fix them on day 0 or 1, but 95% of issues aren't our issues - as you mentioned it's the chat template or runtime etc

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
We re-uploaded Gemma4 4 times - 3 times were due to 20 llama.cpp bug fixes, which we helped solve some as well. The 4th is an official Gemma chat template improvement from Google themselves, so these are out of our hands. All providers had to re-fix their uploads, so not just us.

For MiniMax 2.7 - there were NaNs, but it wasn't just ours - all quant providers had it - we identified 38% of bartowski's had NaNs. Ours was 22%. We identified a fix, and have already fixed ours see https://www.reddit.com/r/LocalLLaMA/comments/1slk4di/minimax.... Bartowski has not, but is working on it. We share our investigations always.

For Qwen3.5 - we shared our 7TB research artifacts showing which layers not to quantize - all provider's quants were not optimal, not broken - ssm_out and ssm_* tensors were the issue - we're now the best in terms of KLD and disk space - see https://www.reddit.com/r/LocalLLaMA/comments/1rgel19/new_qwe...

On other fixes, we also fixed bugs in many OSS models like Gemma 1, Gemma 3, Llama chat template fixes, Mistral, and many more.

It might seem these issues are due to us, but it's because we publicize them and tell people to update. 95% of them are not related to us, but as good open source stewards, we should update everyone.

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
No Bartowski's are more affected - (38% NaN) than ours (22%) - for MiniMax 2.7 see https://www.reddit.com/r/LocalLLaMA/comments/1slk4di/minimax...

We already fixed ours. Bart hasn't yet but is still working on it following our findings.

blk.61.ffn_down_exps in Q4_K or Q5_K failed - it must be in Q6_K otherwise it overflows.

For the others, yes layers in some precision don't work. For eg Qwen3.5 ssm_out must be minimum Q4-Q6_K.

ssm_alpha and ssm_beta must be Q8_0 or higher.

Again Bart and others apply our findings - see https://www.reddit.com/r/LocalLLaMA/comments/1rgel19/new_qwe...

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
1. Gemma-4 we re-uploaded 4 times - 3 times were 10-20 llama.cpp bug fixes - we had to notify people to upload the correct ones. The 4th is an official Gemma chat template improvement from Google themselves.

2. Qwen3.5 - we shared our 7TB research artifacts showing which layers not to quantize - all provider's quants were under optimized, not broken - ssm_out and ssm_* tensors were the issue - we're now the best in terms of KLD and disk space

3. MiniMax 2.7 - we swiftly fixed it due to NaN PPL - we found the issue in all quants regardless of provider - so it affected everyone not just us. We wrote a post on it, and fixed it - others have taken our fix and fixed their quants, whilst some haven't updated.

Note we also fixed bugs in many OSS models like Gemma 1, Gemma 3, Llama chat template fixes, Mistral, and many more.

Unfortunately sometimes quants break, but we fix them quickly, and 95% of times these are out of our hand.

We swiftly and quickly fix them, and write up blogs on what happened. Other providers simply just take our blogs and fixes and re-apply, re-use our fixes.

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
No it's not our fault - re our 4 uploads - the first 3 are due to llama.cpp fixing bugs - this was out of our control (we're llama.cpp contributors, but not the main devs) - we could have waited, but it's best to update when multiple (10-20) bugs are fixed.

The 4th is Google themselves improving the chat template for tool calling for Gemma.

https://github.com/ggml-org/llama.cpp/issues/21255 was another issue CUDA 13.2 was broken - this was NVIDIA's CUDA compiler itself breaking - fully out of our hands - but we provided a solution for it.

danielhanchen··on Qwen3.6-35B-A3B: Agentic coding power, now open to all
Yes we collab with them!
danielhanchen··on April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini
Oh appreciate you trying out Unsloth Studio :)
danielhanchen··on Launch HN: Freestyle – Sandboxes for Coding Agents
Congrats on the launch!
danielhanchen··on Google releases Gemma 4 open models
Oh nice! Glad it worked! Yes!! We're working on the app!
← PreviousPage 2 of 20Next →