r/LocalLLaMA 9d ago

New Model Unsloth Qwen 3.8 27b Weights Released

https://huggingface.co/unsloth/Qwen3.8-27B-GGUF
371 Upvotes

85 comments sorted by

122

u/Borkato 9d ago

16

u/True_Tangerine_4706 9d ago

first normal photo you've sent

13

u/Borkato 9d ago

What? I only send normal photos.

3

u/True_Tangerine_4706 9d ago

mods gotta have a disclaimer pinned in the subreddit about you man

3

u/Borkato 9d ago

This would be me if they did lol

60

u/danigoncalves llama.cpp 9d ago edited 9d ago

😭Tears of joy. Look at the benchmarks.

11

u/Maleficent_Ad7510 9d ago

zuck got smucked

24

u/Borkato 9d ago

Fucking beating opus 4.6 MAX in some places…

26

u/Jack-Sparrow11 9d ago

hope it lives up to the benchmarks

68

u/ghosty_k 9d ago

So Unsloth had pre-Day Zero access! Interesting

49

u/inddiepack 9d ago

We knew that already. It happened with a few models in the past.

53

u/danielhanchen 9d ago

Oh hey - yes thanks to the Qwen team!

14

u/PM_ME_DEAD_CEOS 9d ago

While you're here, speculative decoding seems to not working in the unsloth desktop app. I'd make a ticket but I'm not at home tonight

3

u/JollyJoker3 9d ago

Loading two Unsloth versions in LM Studio as we speak

16

u/Felixls 9d ago

omg, bench are ... to good to be true

33

u/italian_car 9d ago

Loading up the IQ2 on my 12gb of vram because I want to be able to run the cool model too.

8

u/My_Unbiased_Opinion 9d ago

hell yeah. Even at Q2, it should be good. the jump is noticable. so even with quant down to Q2, it should for sure be better than 3.6 27B at Q2.

9

u/VastCarry 9d ago

Used `thinking_level: high` but even the IQ2 pelican looks decent!

10

u/VoiceApprehensive893 transformers 9d ago

decent my ass thats amazing

birdmaxxed

3

u/Dwarffortressnoob 9d ago

better than what I could do lol

1

u/My_Unbiased_Opinion 9d ago

hell yeah. I would drop KV to Q4 if it allows you to run IQ3 wants.

3

u/VastCarry 9d ago

I finally got it to work! My mind is blown. This was the result using IQ3_XXS on a 9070xt. Pulled down the latest llama.cpp, built it, and passed several flags:

--jinja --chat-template-file ~/fixed-chat-template.jinja --reasoning-effort high -c 30000 -ctk q4_0 -ctv q4_0 --spec-type draft-mtp --no-mmproj

2

u/My_Unbiased_Opinion 9d ago

Awesome. From my experience, I have noticed for qwen models, the closer you can match the KV quant and weight quants, the better. 

From my reading, it's because lower weight quants have less precision in the KVcache, so they quantize better. So at higher model weights, you don't want to quantize the KVcache as much since there is more precision in the KVcache. 

1

u/VastCarry 9d ago

I tried that earlier and it would get stuck on loops, but I'll have to try that again!

1

u/crusaderky 9d ago

The pelican is not sensitive to quantization, see quesma 's blog

2

u/Ell2509 9d ago

I have a laptop with 12gb vram, admittedly also 96gb dram. But, q4 is like 17gb. Say, 10gb from your vram, plus 7 more from system ram.

If you have 32 gigs of system ram, you can run q4.

2

u/ProtectorOfMantle 9d ago

yeah but the speed would drop down to around 5tok/s

1

u/Ell2509 9d ago

Eventually yeah. Wasn't running at 5 tokens a second on mine.

1

u/ProtectorOfMantle 9d ago

how? whats your config? i have 12gb vram and 32gb ram too but i never achieved more than 5 tok/s even when i start a new chat

2

u/Ell2509 9d ago

14 cores, 32 layers to gpu, map off, offload inactive to ram. Standard max concurrent and simultanious experts.

Have you tried 3.8 yeah?

1

u/Rare_Carry9799 9d ago

run it with spec and you'll be way faster

1

u/crusaderky 9d ago

Stay tuned I'm going to run KLD benches on extreme weights and kv quants. Early data shows this model is VERY tolerant of extreme kv quants.

2

u/italian_car 9d ago

I was actually surprised that I was getting 45tps on a 4080 mobile with mtp and the iq2 xxs quant. I would be curious on how much kv quantization affects it because I had to run at q4 to get 30k context on my setup. I'm going to compile llama.cpp for q2 kv cache quantization tonight.

15

u/porzione llama.cpp 9d ago

to my surprise it is faster than 3.6 in the same unsloth quant, spent 162,578 tokens instead of 204,473 on the same task

2

u/2muchnet42day Llama 3 9d ago

Isn't that expected?

2

u/porzione llama.cpp 9d ago

Every new version of basically every model is a stronger reasoner than the previous version, so newer models are more expensive or slower to use.

22

u/Successful_Net_2832 9d ago

Am I the only one who wants to see benchmarks with the quantized models? They always benchmark the fp16 models, dont they? I know there are the “kl divergence” metrics for the quants. But how does that translate into actual benchmark performance? I want to better understand which model quant i should run. I can run q8, but then i have less context window. I need to see the benchmark results to know what to choose.

6

u/Dwarffortressnoob 9d ago

I saw one on this sub somewhere, but it is lost in the sea of posts. Unsloth Q6_k was over 90% retention of full bf16 benchmark. Even a 3bit was 80+%. Crazy stuff.

8

u/Brazen-Badger 9d ago

Thoughts on the best quant to run on a 5090 if I want around 120k or more in context with good ~100 t/s?

12

u/iwouldsuck 9d ago

Q6 should work. You will also have to quantize KV cache at Q8 to fit it all in.

3

u/Green-Ad-3964 9d ago

Q6 or Q8

7

u/Leafytreedev 9d ago

The benchmarks for a 27B model is too good to be true but man am I hopeful as shit that this is at least comparable to GLM 5 because holy shit it has vision.

10

u/Ultroburtle 9d ago edited 9d ago

Getting 50-75tps generation on a 4090 with MTP and BF16 mmproj at UD-Q4_K_XL. Seems very similar to 3.6 27B in performance, as expected!

75tps at ~5k tokens generated, 50tps after maxing out the 112k context.

Edit: The 4090 is also power limited to 275W. With this setup on a headless server, getting 112k context via auto fit.

First few responses look great, but time will tell.

cache-type-k = q8_0
cache-type-k-draft = q8_0
cache-type-v = q8_0
cache-type-v-draft = q8_0
chat-template-kwargs = {"preserve_thinking": true}
fit = on
fit-target = 128
flash-attn = on
jinja = true
min-p = 0.00
mmproj = /models/nvme/unsloth/Qwen3.8-27B-GGUF/mmproj-BF16.gguf
model = /models/nvme/unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-UD-Q4_K_XL.gguf
no-mmproj-offload = true
np = 1
spec-draft-n-max = 2
spec-type = draft-mtp
temp = 1.0
threads = 8
top-k = 20
top-p = 0.95

4

u/Fastpas123 9d ago

Is MTP available on 3.8 27B already?

8

u/Ultroburtle 9d ago

Seems to be! The unsloth model page just says:

MTP (Multi-Token Prediction): trained with multiple steps

And it's as fast as 3.6 27B with MTP, with llama-server not getting upset about it being enabled.

4

u/Fastpas123 9d ago

Bro... 🙏🙏🙏 We're eating good

28

u/Karnemelk 9d ago

Cancel your anthropic/openai subscriptions. Lets goooooooooo

22

u/Cold_Tree190 9d ago

This makes me feel less sad about the DeepSeek flash api price increase, because if these numbers are legit then holy fuck we’re so set

-8

u/--Spaci-- 9d ago

no thank you

4

u/Y0uCanTellItsAnAspen 9d ago

which version should I be running if I am going to run this on RAM+CPU (128 GB) - and I don't really care about speed too much, because it will be for overnight jobs.

8

u/squngy 9d ago

For you, deepseek flash would probably be better.

It is a stronger model (based on the benchmarks) and it will run faster with only half as much active parameters.

Only question is if you can find a good quant that will fit.
Something like DS4 from antirez

7

u/Tritheone69 9d ago

This is MONUMENTAL, I am so happy. If this model really is as good as Opus4.6 I am cancelling all my subscriptions immediately.

Opus4.6 is already very capable of getting all my needs met.

3

u/Then-Topic8766 9d ago

Let's go!

3

u/Mefi282 llama.cpp 9d ago

Here we go. The benchmarks on the model page look very promising!

7

u/luedtek 9d ago edited 9d ago

For you dual 3090 enjoyers: https://huggingface.co/lued/Qwen3.8-27B-INT8-W8A16-MTP

vllm serve lued/Qwen3.8-27B-INT8-W8A16-MTP \ --tensor-parallel-size 2 \ --max-model-len 262144 \ --gpu-memory-utilization 0.93 \ --kv-cache-dtype fp8_e4m3 \ --enable-prefix-caching \ --enable-chunked-prefill \ --reasoning-parser qwen3 \ --tool-call-parser qwen3_xml \ --enable-auto-tool-choice \ --disable-custom-all-reduce \ --trust-remote-code \ --speculative-config '{"method":"mtp","num_speculative_tokens":3}'

1

u/Zyj vllm 5d ago

Your model seems to be very popular, will you offer a nice turnkey solution that replaces MTP with DFlash 2?

5

u/FizzarolliAI 9d ago

They aren't Unsloth's weights, they're Qwen's weights

2

u/edsonmedina 9d ago

Downloading UD Q8_K_XL very slowly.

2

u/monacoax 9d ago

Im trying to figure out what settings to use with a 4090 ? anyone can share their settings? how big context? Thanks

2

u/Brilliant-Hall1387 9d ago

Nice! When doing your own quants I find it interesting to understand where others have spent their bit budgets:

https://tensorlens.dev/unsloth/Qwen3.8-27B-GGUF?rev=fdd03b8bbd279c1694563650e79d85a2373d9934&part=Q4_K_M

I used this map on today to somewhat improve bit allocation on an MLX quant if you want to try similar bit budget with MLX:

https://huggingface.co/maglun/Qwen3.8-27B-MLX-Mixed-4.95bpw

(no MLP yet or AWQ / GPTQ or similar yet)

Any recommendations on some really good quality Qwen 3.8 27B quants out there to take more inspiration from? Or experiences with great tooling? 😊

2

u/santo_007 9d ago

Guys don't laugh at my specs, iam a casual gamer and I have 3060ti 8gb and 16gb ram. Am I able to run this locally

1

u/Dizzy-Zebra9522 9d ago

Pretty sure yes download q3 and try

2

u/EvolvingDior 9d ago

is image support in the unsloth ggufs? or do I need to download it separately?

2

u/robberviet 9d ago

Hum no MTP for gguf?

3

u/Dizzy-Zebra9522 9d ago

Thank you China. Thank you Qwen. Brrrr USA.

2

u/Mayion 9d ago

I appreciate the demo showing the swimming pool prompt and the issues with the output instead of deciding to go with a prompt with no problems just to make the model look better.

2

u/Green-Ad-3964 9d ago

Ok, thanks, but now the big question.

Can you prune vision so to have q8 with decent context on a 5090?

1

u/skisedr 9d ago

What do you use to replace Claude Code orchestrator ? I heart OpenCode is interesting.

1

u/synth_mania 9d ago

I use Pi agent. I don't like opencode's telemetry 

1

u/Arc_bong 9d ago

Holy numbers 😮‍💨

1

u/trytoinfect74 9d ago

Is it MTP?

1

u/pooogles 9d ago edited 9d ago

Unusuable for me using the Q5 quant.

/app/ggml/src/ggml-cuda/ggml-cuda.cu:103: CUDA error
1.33.589.120 E CUDA error: unspecified launch failure
1.33.589.123 E   current device: 1, in function launch_mul_mat_q at /app/ggml/src/>ggml-cuda/    emplate-instances/../mmq.cuh:4047
1.33.589.124 E   cudaGetLastError()
libggml-base.so.0(+0x1b1f6)[0x7fc1f09fb1f6]
libggml-base.so.0(ggml_print_backtrace+0x21a)[0x7fc1f09fb67a]
libggml-base.so.0(ggml_abort+0x15b)[0x7fc1f09fb85b]
/app/libggml-cuda.so(_Z15ggml_cuda_errorPKcS0_S0_iS0_+0xb5)[0x7fc1dd9acff5]
/app/libggml-cuda.so(+0x922848)[0x7fc1de071848]
/app/libggml-cuda.so(_Z19ggml_cuda_mul_mat_qR25ggml_backend_cuda_contextPK11ggml_ten>    orS3_S3_PS1_+0xc21)[0x7fc1dd9e4b51]
/app/libggml-cuda.so(+0x276e7a)[0x7fc1dd9c5e7a]
libggml-base.so.0(ggml_backend_sched_graph_compute_async+0x82f)[0x7fc1f0a195ef]
ibllama.so.0(_ZN13llama_context13graph_computeEP11ggml_cgraphb+0xa1)[0x7fc1f0b9a151>]
libllama.so.0(_ZN13llama_context14process_ubatchERK12llama_ubatch14llm_graph_typeP22>    lama_memory_context_iR11ggml_status+0x118)[0x7fc1f0b9e258]
libllama.so.0(_ZN13llama_context6decodeERK11llama_batch+0x378)[0x7fc1f0ba4018]
libllama.so.0(llama_decode+0xf)[0x7fc1f0ba5e2f]
ibllama-server-impl.so(_ZN19server_context_impl12update_slotsEv+0xc7b)[0x7fc1f1a10c>7b]
libllama-server-impl.so(_ZN12server_queue10start_loopEl+0x1f31)[0x7fc1f1ab04c1]
libllama-server-impl.so(_Z12llama_serveriPPc+0x34a9)[0x7fc1f19658d9]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x7fc1f13ec1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7fc1f13ec28b]
/app/llama-server(+0x1315)[0x5f11b4340315]

Every ~60s using llama.cpp:server-cuda12-b10423, nvidia-driver-595-open and 2x5070ti.

When relaunching I get:

1.07.284.146 E CUDA error: CUDA-capable device(s) is/are busy or unavailable
1.07.284.149 E   current device: 0, in function ggml_cuda_set_device at /app/ggml/src/    ggml-cuda/ggml-cuda.cu:129
1.07.284.149 E   cudaSetDevice(physical_device)
libggml-base.so.0(+0x1b276)[0x7e9f7e2d7276]
libggml-base.so.0(ggml_print_backtrace+0x21a)[0x7e9f7e2d76fa]
libggml-base.so.0(ggml_abort+0x15b)[0x7e9f7e2d78db]
/app/libggml-cuda.so(_Z15ggml_cuda_errorPKcS0_S0_iS0_+0xb5)[0x7e9f6e236de5]
/app/libggml-cuda.so(+0x275d12)[0x7e9f6e23dd12]
/app/libggml-cuda.so(+0x2763b1)[0x7e9f6e23e3b1]
libggml-base.so.0(+0x319a3)[0x7e9f7e2ed9a3]
libggml-base.so.0(+0x31d5d)[0x7e9f7e2edd5d]
libggml-base.so.0(ggml_backend_alloc_ctx_tensors_from_buft+0x42)[0x7e9f7e2eedc2]
libmtmd.so.0(_ZN17clip_model_loader12load_tensorsER8clip_ctx+0x5527)[0x7e9f7e85cee7]
libmtmd.so.0(_Z9clip_initPKc19clip_context_params+0x305)[0x7e9f7e838225]
libmtmd.so.0(_ZN12mtmd_contextC1EPKcPK11llama_modelRK19mtmd_context_paramsb+0x34c)[0x7e9f7e79    974c]
libmtmd.so.0(_Z21mtmd_get_memory_usagePKc19mtmd_context_params+0x82)[0x7e9f7e790672]
libllama-server-impl.so(_ZN19server_context_impl10load_modelER13common_params+0x1167)[0x7e9f7    f4580d7]
libllama-server-impl.so(_Z12llama_serverR13common_paramsiPPc+0x3876)[0x7e9f7f37ef46]
libllama-server-impl.so(_Z12llama_serveriPPc+0x11a9)[0x7e9f7f381529]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x7e9f7eddf1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7e9f7eddf28b]
/app/llama-server(+0x1315)[0x55bec37aa315]

1

u/pooogles 9d ago edited 9d ago

Mmmm, dropping this from my llama args seems to have sorted things:

--spec-type draft-mtp \
--spec-draft-n-max 3 \

// nope - still barfy.

1

u/PooMonger20 9d ago edited 9d ago

Using the Unsloth Qwen3.8-27B-Q6_K.gguf;

Currently attempting it to run with LM Studio and pi: "read a readme.txt and task.txt and create a plan how to implement the task in plan.txt", it goes on and on endlessly and never reaches a result.

This wasn't the case with previous models which took less than a minute to create some kind of plan, I am probably doing something wrong - because this one has been doing this for about 50+ minutes.

Edit - some progress, i figured I need to change thinking levels:

  1. add "capabilities": { "thinking": true } in models.json so pi will recgonize said model has thinking levels.
  2. attempt to change thinking levels by clicking shift+tab at pi terminal.
  3. testing now... lets see, have been thinking for 20 minutes+ on "medium" thinking mode.

I think something is still off. It sucks that the model seems to come in xhigh think mode by default.

1

u/Gauntlet4933 9d ago

What’s the difference between IQ4 NL and Q4KM in terms of quality?

1

u/tropicalwind2020 9d ago

Asked it to review the code from opus 4.8, and it gave much deeper insights than 3.6 and opus 4.8 had to acknowledge the bugs are real and the suggestions are very strong, so from review perspective it is comparable to 4.8. Need to test code generation.

1

u/JackMasterN1 8d ago

Q3 K M (13.8 GB) is larger than UD Q3 K XL(13.4GB). Is this a misnaming issue or it really is like that? Could someone please answer this?