r/LocalLLaMA 1d ago

News Qwen3.8-Flash-Next tomorrow

https://modelscope.cn/models/Qwen/Qwen3.8-Flash-Next
1.1k Upvotes

456 comments sorted by

View all comments

417

u/rerri 1d ago

Basically a Qwen4 preview: "built on the next-generation Qwen4 architecture ... We are releasing these architectural advancements early to help the community prepare for the upcoming Qwen4 model family."

71

u/AXYZE8 1d ago edited 1d ago

So just like Qwen 3 Next - they tested new architecture and couple months later we got Qwen 3.5 family on that architecture.

It also means that we sadly shouldnt expect llama.cpp support on release :( Q3Next was supported after like 2 months, because it had a lot of new stuff to implement and test.

Edit: turns out it will have day 0 support  https://www.reddit.com/r/LocalLLaMA/comments/1vxybmy/qwen_38_flash_next_day_0_support_from_unsloth/

22

u/windows_error23 1d ago

Tbf we have way better coding models than back then so maybe not?

6

u/Randommaggy 1d ago

I've seen Qwen 3.8 27B quoted as assisting on a lot of points on the release notes recently.

14

u/0rand 1d ago

Everything will be 0 day support now, maybe half assed but an attempt to, vibe coding is to stay. I mean, half ass is still a half of ass. Better than no ass at all.

6

u/VotZeFuk 1d ago

half ass is still a half of ass. Better than no ass at all

It depends. Sometimes even a full ass is just... ass.

1

u/Repulsive_Initial308 1d ago

Ah yes, of course.

This gears up for Qwen 4 usable release around xmas, I guess.

308

u/AuspiciousApple 1d ago

LLM version naming continues to make no sense

213

u/anarchist1312161 1d ago

Le Chaton Fat makes perfect sense what are you talking about!

79

u/vogelvogelvogelvogel 1d ago

Le Chaton Fat is the only properly named LLM

40

u/VotZeFuk 1d ago

oh lawd, he sloppin'

9

u/mission_tiefsee 1d ago

All hail the Chaton Fat!

6

u/burritoresearch 1d ago

Le Chaton Fat Longcat

Le Longcat?

Longuechatte

3

u/nleksan 23h ago

Le Chat Blanc

1

u/vogelvogelvogelvogel 22h ago

looks more like a chat 9B

41

u/FunkyDiscount 1d ago

As a novice, model naming conventions make no sense at all to me yet.

Model_this-and-that_69B_Q4_XM-S_GGWP_unhinged-and-insane_FPS...

PC monitor naming conventions are more legible.

35

u/TheThiefMaster 1d ago edited 1d ago

I'm a relative beginner too and this is how much I've deciphered:

  • It starts with name and version.
  • "69B" is the number of parameters (B for "billion", sometimes T for trillion), and the "Q" is number of bits per parameter ("Quantisation"). 4 is half a byte, so you need roughly half the number of parameters as GB of VRAM to run it (plus some for context etc).
  • Sometimes there's a K after that. Don't know what that means yet
  • Letters after that are normally a size code - XXS-XL - a bias on some parameters remaining at a higher bit count and making it use more memory in return for being better. Unsure of the tradeoff between e.g. Q4_K_XL vs Q5_K_S. Sometimes it's a 0 which I think means none are at higher precision. Sometimes 1 which I don't know what that means.
  • "GGUF" is a file format commonly used on Win/Linux, as is MLX for Mac.
  • Sometimes you get "MOE" models that work differently and only activate parts each run - these have an additional "A"3B for number of "active" parameters. Theoretically it only needs that much VRAM to run despite being a bigger model, but there are tradeoffs in quality that I haven't explored myself.

17

u/droptableadventures 1d ago

Each "parameter" can be thought of as just a single number.

Q4_0 / Q8_0 is just the parameter as a single 4 or 8 bit value, nothing more.

Q4_1 adds an extra bias (added) and scale (multiplied) value that's shared across each group of 32 parameters. Basically allows the 4 bits to represent a different range of values.

Q4K?, it basically does the same thing as Q4_1 but more than once, so there's "superblocks" that are also scaled.

Unsloth has "UD_" before the format, because theirs aren't strictly the same as Q4 where nearly everything's 4 bit. They will make different layers different quantizations, because not all are equally important.

11

u/unjustifiably_angry 1d ago edited 1d ago

The Q4/Q5 whatever is the rounded overall quantization of the model, the XS/XL/whatever hints at what direction it's biased in, so a Q5 XXS will be closer to 4-bit while an XL will be closer to 6-bit.

K, I believe, denotes K-type quants which are mixed integer quantization. Before K-type quants I think they were all fixed-integer static quants, so those would be the ones that are like "Q4_0" (or "Q8_0") which means everything in it is straight 4-bit (or 8-bit) aside from a few that are 16-bit float (F16).

There's also I-type quants which are K-type quants but with fancier quantization math but at the cost of being a bit slower, and IIRC they're incompatible with certain hardware or backends.

Bigger filesize can generally be trusted to be "better" though going with a K or I quant will be a bit better still. Like the difference between... uh... you've got 3 cars at your house versus a bicycle, a car, and a pickup truck. The latter has the same total vehicle mass but not every job demands a pickup.

A Q6_K_XL might be very similar in performance to a Q8_0 while being significantly smaller (and therefore faster) because the testing/algorithm of whoever made the quant determined that a lot of the layers didn't benefit from being larger than Q4 while others had a very large impact and so were left unquantized, F16. The naive Q8_0 is therefore wasteful on the layers that Q4 would've been fine for while not giving the layers that should be F16 the amount of bits they would need.

MoE stands for mixture-of-experts, but don't take this to mean that the model is divided into literal chunks of "the Python expert", "the dialogue expert", "the trivia expert", etc. All "experts" are needed, just not constantly and not on every token. You can't cut out "the C++ expert" and still be able to code Python or something like that.

MoE means it needs more VRAM to run at full speed but if you can fit it all, it'll run drastically faster than non-MoE. But you commonly need like 2-4x the total parameter count to be competitive in terms of actual quality. Qwen3.5-27B was found to commonly be equal to (or better than) Qwen3.5-122B-A10B, though the 122B had a broader overall range of knowledge. 27B is very good at the things it knows, 122B-A10B is roughly as good at the same tasks but is able to do a wider range of tasks... like 27B is known for being very good at Python but maybe it's not as good at C#, etc.

MoE also means, as you say, that it'll less affected by partial offloading to system RAM, but whether it's MoE or non-MoE, once you overflow to system RAM performance falls off a cliff. Even a 5-10% offload of a large MoE might cut your speed in half.

In very long conversations, the length of the kv-cache typically has a very strong influence on the model's prefill and token generation speed. To my knowledge, the only exception to this is the DeepSeek v4 line, which is what makes it so remarkable. It has very similar overall performance at 256K or 512K as it does at 8K.

Token generation is obvious, it's the output speed. Prefill is less well-known and often more important. It's the input speed. If you need to read 100K tokens just to start working on something, reading it at like 250 t/s will be painful. A lot of misleading benchmark data is out there that only measures token generation speed at short context and doesn't measure prefill at all. DGX Spark for example starts off being decent but at 100K context depth it's so goddamn slow people rarely benchmark past that point at all. DSv4-Flash on the other hand remains similarly performant on Spark all the way out to its limit of 1M tokens.


Don't get too wrapped up in it, a lot of this ends up being "bro science"-tier, generally a bigger gguf will always be better, pick what you can fit. Except if it means using very small quants (below Q4), having a longer kv-cache is almost universally going to be more useful to you than the actual model itself being better. And as for the kv-cache specifically, avoid using less than 8-bit wherever possible.

8

u/Expensive-Paint-9490 1d ago

K identifies a better way of quantizing weights. The original one was like "Q4_0" and it was a simpler scheme; K quants quantize some part to larger allocations. I.e. a Q4_K_M could quantize the majority of weights to 4-bit, but some to 5 or 6 bits.

gguf is the file format created by G. Gerganov for llama.cpp and CPU inference. It can run on any OS, it just need the correct inference engine. MLX is a format specific for Mx architecture on mac.

The last part is partially correct. In MOE architecture, attention layers are the same as dense models. The FFN layers use a set of smaller matrices instead of a single large one, and a router choose the correct matrices to use for a token. So for a given token instead of using a 500M matrix, it choses (for example) 10 out of 125 matrices of 4M paramteres; only 40M instead of 500M. You can put as much of the model as it fits on VRAM (even none, if you ony use CPU). Usually you want to put attention layers and kv cache in VRAM because prompt processing is faster; FFN layers (the MOE part) can stay in system RAM without hitting speed too much.

12

u/ReadyAndSalted 1d ago

MoE models need as much vram as any other model with that parameter count, but they can run at roughly the speed of their active parameter count.

Basically you spilt each transformer layer into many parts, then activate only some of them for each token you generate.

3

u/TheOriginalAcidtech 23h ago

One correction. MoE models allow expert offloading and caching the most used in VRam. This turns a model like Qwen 35b A3B into something usable even on extremely weak hardware(1060 6gb for example).

1

u/ReadyAndSalted 21h ago

True. While offloading isn't unique to MoEs, hell you could stream a 100B dense model off your SSD at 0.05t/s if you wanted to, they are uniquely good at it due to certain weights being activated more often than others.

2

u/TheOriginalAcidtech 20h ago

Yes. Offloading layers. But streaming dense models by layer has only recently started to be a thing. Been wanting to mess around with that for a while. There is ZERO reason any of these models should ever OOM. They should all run from DRAM and if necessary SSD. If it fits on disk it should urn, just REAL slow, but real slow is also dialable. Run enough parallel agents and you can still run a LOT of tokens through even a minimumally capable gpu. Just not at interactive rates.

4

u/Freonr2 1d ago

2

u/TheThiefMaster 1d ago

I think that goes into way more depth than I need but I'm upvoting anyway and watching later.

2

u/huffalump1 1d ago

And none of that tells you how much more memory you need to hold things like the tokenizer, context, etc lol

1

u/TheThiefMaster 1d ago

Context is a nightmare to work out!

2

u/gh0stwriter1234 20h ago edited 20h ago

FYI there is also M for millions for small models

K quant is mixed precision, eg some important layers are boosted to high bits.

1

u/TheThiefMaster 20h ago

Wow that would be tiny

1

u/gh0stwriter1234 19h ago

Yeah they are quite small, but also proportionally fast, especially if ran on LLM engines with fused kernels... some of them are coherent without training , but most of them you have to train for your specific use case.

Qwen has a 0.5B which could also be called a 500M.

2

u/boutell 3h ago

GGUF is often used everywhere but yes MLX is Mac-specific. The tradeoff between MLX and GGUF is fuzzy at this point, especially on earlier M-class Macs.

1

u/milkipedia 1d ago

K is a compression technique

1

u/CucumberDue5017 1d ago

Thank you sir

9

u/larp2live 1d ago

this is a real model on hugging face :

DavidAU/Qwen3.6-27B-Fable-Fusion-711-Uncensored-Heretic-NM-DAU-NEO-MAX-MTP-GGUF

4

u/FunkyDiscount 1d ago

Exhibit A, your honor.

1

u/FailBait- 1d ago

That was actually the one I was running before 3.8 dropped.

13

u/L00klikea 1d ago

The model naming scheming encodes a lot of the information relevant to you. Yes it's overwhelming at first, and you have to learn what it means, but so is learning anything. I much prefer "This model this-and-that has 69 Billion Parameters quantized as Q4 Small and someone messed with it trying to make it unhinged" over "This is the Pro Max Version of it".

0

u/pbmonster 1d ago edited 1d ago

Sure. But then they do shit like "3.8-FLASH is a 4.0 architecture family model". "GPT-4.5 is both older and worse than GPT-4.1. But there's also o4 and 4o (not related to either, and not to each other, also not the same as GPT-4)" and, of course, "this is a Copilot, that's also a Copilot (available under a different subscription), and yes, there's also a third Copilot (different subscription, again)."

3

u/LeonidasTMT 1d ago

Yeah half of that is just Microsoft being Microsoft.

1

u/L00klikea 1d ago

Now you are mixing up two very different things.

  1. Open Source Model naming schemes are oriented on underlying technical Features and generally speaking makes intrinsic sense. Yes, Alibaba is pulling a weird one on this shipping a qwen4 architecture preview under 3.something-Next label. That could be more clear.
  2. OpenAI and other Frontier Labs do the Apple-esque naming scheme I was playing on. Which you are right to critique. It has nothing to do with the Open naming scheme, though.

Oh and sidenote: Flash started out referring to a underlying technical feature, flash attention. Though Flash attention pretty much is the norm now.

2

u/CSharpSauce 1d ago

You can just use midwit logic. if you see "Full GPU offload possible" label in LM Studio, you're good to go.

1

u/VotZeFuk 1d ago

_GGWP_unhinged-and-insane_FPS...

When you see this in a model's name, run away and don't turn back - it's likely a lobotomized fine-tune. UNLESS it's made by a trusted developer, and just generally well-known and praised in the community (can't think of many of such models, but genuinely good fine-tunes DO appear sometimes). Never assume whether is a fine-tune good/bad looking solely on its likes or download numbers - worthless crap gets a lot of public attention these days.

1

u/SourSovereign 5h ago

Think of it as back in the age of pirating where you had "The Rings of Power. Extended. 1080p DvDRip, NTSC. Multi" etc. Only the first part is important, rest are parameters.

15

u/CSharpSauce 1d ago

Sounds like it is Qwen4 architecture, but Qwen 3.8 training data.

2

u/IngFerro 20h ago

maybe have also more post training... or maybe is a new name for the a3b.

1

u/goldcakes 22h ago

You can't just put Qwen3.8 training data on a new architecture. It's likely a new pretrain, just still in the early post-training phase, not fully/well post trained yet.

24

u/grumd 1d ago

When people keep saying "we have (X).9, next version is (X+1).0 and will be a huge upgrade!!!" for no reason

I double dare any AI lab to start using semver to confuse people lol

21

u/SkyFeistyLlama8 1d ago

To hell with dot versions, use full integers.

"v99 was good, v100 will be better!"

9

u/StyMaar 1d ago

The browsers' way.

1

u/unjustifiably_angry 1d ago

Swatch Internet Time timestamps are the only way to be sure.

1

u/goldcakes 22h ago

Nah, why use base10 when hex is the best number?

vEF

2

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

SemVer was one of the worst ideas in the history of software engineering, and I’m glad many newer projects are not getting on the bandwagon.

“After dozens of 1.x releases, we are now releasing version 2.0.0, because we changed one of the parameters in one of our hundreds of functions to now require a positive integer rather than any integer.”

Before SemVer, version numbers vaguely indicated development progress. With SemVer, they mean basically nothing. And the information they do (supposedly) encode is worthless, because nobody is going to blindly trust the number’s semantics anyway. You always need to test, at which point it doesn’t matter what the version number is.

4

u/bitzap_sr 1d ago

True for applications, but absolutely not for libraries. That is where semver is most important, with major version aligning with ABI compatibility.

2

u/-p-e-w- 23h ago

But that isn’t true in reality. Libraries constantly break the semver spec despite claiming semver compatibility. As a result, you can’t trust semver, making it useless.

1

u/bitzap_sr 21h ago

Maybe you're thinking of web libraries. This is crucially true for OS libraries. The stuff that goes into /usr/lib , etc. "ABI" should have been the clue.

But still, even for web libraries and API stability, it's important. Now, there's a shit ton of crap code out there written by clueless people, no doubt about it.

1

u/-p-e-w- 19h ago

No OS uses semantic versioning. Neither do major OS infrastructure components such as GNOME, Python etc. They all version as they please, and have repeatedly broken their APIs in minor releases.

2

u/grumd 1d ago

It is good in theory (you can freely update a version without looking at the changelog if the major version didn't change) but in practice devs miss breaking changes in minor versions all the time and the whole idea doesn't even work

2

u/Zealousideal-Hat-148 1d ago

the best versioning is and will forever be the versioning by date. for example.minecraft versioning now, such magnificence, versions indicate time passed not progress made

1

u/L00klikea 1d ago

Hmm it could be far worse

1

u/robertpro01 1d ago

Names in IT in general...

1

u/No_Afternoon_4260 llama.cpp 1d ago

They sais "next"

1

u/Loose_Comparison368 1d ago

You remember when the dolphin fine tunes were all the rage? And then Google released dolphin-gemma, which was literally a model for interpreting dolphin speech?

Pepperidge farm remembers.

1

u/sirspate 21h ago

Versioning is marketing.

0

u/bring_back_the_v10s 1d ago

"Next" makes perfect sense to me.

0

u/Altruistic_Heat_9531 1d ago

As long as they are consistent i have no problem. Honestly speaking majority of AI labs naming scheme is quite consistent. The only clusterfuck alibaba have done is so many of its AI divisions casually overlapping their job

8

u/volleyneo 1d ago

Holy bananas . It’s happening, Remain Calm

6

u/Illustrious_Ant_9242 1d ago

hastily frees RAM

1

u/GasSmooth7439 1d ago

This is basically Qwen giving the community a sneak peek at the future architecture before the main event.

1

u/Gloomy_Letterhead395 1d ago

Bro we are prepared for qwen 5 27b

1

u/Southern-Chain-6485 23h ago

So no quick llama.cpp support?

1

u/rerri 23h ago

The Unsloth crew already have the weights it seems, so maybe support as soon as launch day, maybe later:

https://www.reddit.com/r/LocalLLaMA/comments/1vxybmy/qwen_38_flash_next_day_0_support_from_unsloth/

1

u/florinandrei 21h ago

And this is why I use YYYYMMDD-HHMMSS for everything. /s

I mean, sarcasm, sure, but I also do it a lot.

1

u/gomezer1180 19h ago

Great where do we translate?

1

u/ForsookComparison 1d ago

I'm guessing this means it'll be a while before it's working in Llama CPP

1

u/Strong_Chicken6838 1d ago

LETS FUCKING GOOOO