Make sure you get a decent context size. I haven't been using the combo recently, but I remember having to fight against context size configuration, 4k by default, buried among other settings.
Yeah at end of the day my prompt enhancing group is not even connected to the rest - I run it separately, copy&paste the prompt and run the actual job AFTER I have unloaded the model.
OTOH if you're playing with other settings (not prompt related) one time enhancement is fine, it speeds thing up.
And prompt enhancing is not tied to the text encoder, it's just a suitable model you have available. I've setup nodes that call a Openai API endpoint for prompt enhancing. Gemma4 MoE works well, so does Qwen 3.6, but you could use Kimi 3 at that point.
The tricky part is that you need to unload the model if you're running it on the same hw and are short on VRAM (which you are by definition).
Well an uncensored model might answer the meth question, but that doesn't mean it's less opinionated.
Think of uncensored models as drunk.
Drunk people might speak their mind more freely, being relieved of societal constraints and political correctness rules. That doesn't mean their opinions are less biased tho.
When you go on hf to find uncensored models you get the drunk ones. And actually the technical difficulties these people face are surprisingly similar. They need to get the models drunk enough to bypass the safety nets but not too drunk that they become useless and start spitting out garbage.
Anyway, whether the models are more or less biased is a totally different matter, being drunk doesn't make them less biased. If anything it might make them expose their bias more.
Then you're missing the point. LLMs have (usually) extra safeties added last minute (in layman terms). They may have learned how too cook meth as part of their training but companies put a safety layer that makes is harder to get the answer to "teach me how to cook meth" type of question.
It's a safety net for companies from being sued on the basis that "your model thought my child how to cook meth".
Uncensored models employ other after training techniques in an attempt to remove or weaken that safety net.
But the core of the issue is that models train on general datasets and if those data set are biased (and no truly unbiased dataset can possibly exist) the models can only learn from the info they get.
It's surprising narrow actually. 3B active should be much faster. I think the problem here is that MoEs don't seem to like MTP as much as dense models.
Well, people say qwen excels at coding. Ultimately, it's personal choice, to me Gemma seems to reason better, Qwen goes on a long ride before homing to the solution, which makes it also lower (tps notwithstanding).
I'd say nobody can answer but you. MoEs are going to be faster but less knowledgeable. You're the only one who can say if you're ok with that tradeoff.
In the dense arena, I believe Qwen 27B beats Gemma 4 31B on 32GB of VRAM as it requires less compromises thanks to being a bit smaller to begin with, and using way less VRAM for KV cache at 256k context. This is theorycrafting (I don't have a 5090) but I believe you can fit Qwen 27B at Q5_K_M and INT8 KV caches @256k context (I have a spare pc with 32GB of RAM and no GPU, -hf unsloth/Qwen3.5-27B-GGUF:Q5_K_M -ctk q8_0 -ctv q8_0 -np 1 -c 262144 fits in 29GB at the start), and possibily UD-Q6_K_XL @128k (it gets OOM killed on my PC but I suspect barely, of course I don't have 32GB of free RAM, the OS takes some for itself).
I'm sure you can find threads about that setup, there are people way more experienced than me, but if viable it's a hell of a model with hardly any compromise. It's probably SOTA for the 5090 - unless get in a total different category and play with offloading to RAM and try and fit a much larger model with advanced stuff.
In order to fit Gemma 4 31B you have to step down in the low Q4 I suspect and maybe play with TurboQuant. Does it do it for you? I have no idea. I don't even use those dense models, but my gut feeling is that I'd rather choose a very good model such as 27B if it fits w/o compromising quality rather than trying and squeeze a model (31B) that is comparable at best (YMMV, I've heard 31B is very good at text generation in multiple languages) by losing on sharpness.
BTW if you're trying Gemma4 26B MoE for coding try with temp=1.25.
which also shows how even when it's 35B vs 26B, still you have to comprimise more for Gemma. Now MoEs are a different kind of beast when it comes to GPU fitting so that's another story (one I know little about).
Probably it ignores Gated DeltaNet for Qwen models. It's a game changer for 256k context.
It changes also the purpose of low KV quant/turbo quant... Gemma 4 26B MoE kinda needs it to fit 256k. Qwen 35B MoE is larger but 256k starts at a fraction of the KV pressure. Like 1/3 (or is it 1/4). Anyway, 256k on Qwen at 16 is competing with Gemma at Q4. At Q8, which is barely a compromise, it competes with Gemma+Turbo quant. You don't really need to go lower unless you're really really squeezing it in little VRAM and every fraction of GB matters.
BTW it applies to dense models as well. And it seems they don't react as well as MoEs to extreme KV quantization, so Gated Deltanet is even more effective. Qwen dense being 27B vs Gemma 31B helps too.
Anyway, if you want to use the calculator for qwen, put in like 1/4 of the actual context.
I think this is a problem with the current meta, all about benchmarks and tps. What's missing, AFAIK, together with absolute results (quality) and raw speed, is token efficiency.
Model A can claim it scores 0.05 more than Model B in a set of benchmarks, but if it generates 5x the tokens to achieve that, that's hardly "better".
Likewise a model may generate 150 t/s while another only 120 on the same HW, but if the latter "converges" to answers using half the tokens, the first one is hardly "faster".
BTW that applies not only to model vs model (albeit that's the most interesting part), but in a way also to optimizations, parameters, quants, etc. If loss not only results in lower quality (divergence from base) but also in overthinking (while still getting the answer right) that's currently lost in translation. At least that's my understanding.
I get what you're saying but point is you have to create a very specific scenario to make it work. "Everything has a cost", ok but then ,"everything can be everything" if you create a scenario for it. Like given a straight line and a point outside it, there can be infinite parallel lines crossing that point.
Also even in your scenario, what you created a perspective. An interpretation. A way to look at things. That creates the cost. Look from the plants' perspective, CO2 is free. Oxygen is their cost to get it, but the human removes it. They get free CO2.l
But my point was more along the line: every atom we breathe out, comes from the atmosphere. Plants need it, they take it, we take it from them, either directly or indirectly by eating the plant or the animals that are the plant. By breathing it out, we give it back to the atmosphere. As long as I don't put on my astrophysicist hat - and look at what happens inside the Sun - I can call that a closed cycle. One's garbage is someone else's treasure.
Speaking of examples and CO2, a car works. Fuel is the cost. That's not a cycle. Once gone, it's gone. Crude oil is a finite resource that we're consuming.
As for the API cost, I agree. But again companies and shops have been offering free samples since forever because to them, it's saving on promotion. But I agree that nobody should demand free samples, or build their business on someone else's free samples.
It's a cycle, we breathe what plants release and vice versa. So the idea of "cost" is ill defined. Also it perpetuates the false belief of a carbon footprint related to breathing.
You'd be expecting that downloads and uploads happen via two independent "pipes" so to speak. But actually both need constant confirmation from the other side. So, both streams generate two much smaller counter streams. Your backup interferes with Netflix counter stream as they go in the same direction, in the same "pipe'.
Technically, Netflix interferes with your backup counter stream too but that hardly you notice, also Netflix doesn't really saturate your download bandwidth.
Now you need to prioritize Netflix counter stream so that it doesn't stop or slow down due to the backup stream ("the ACKs must flow"). That's where QoS comes to play.
But if you expect a router to have a button with "make Netflix work", it's not like that.
You might be able to enter a rule in your router that says "classifies all traffic from this internal IP address (that of the NAS) as bulk transfer and lower its priority", or something like that. It might be per protocol/port (whatever your backup uses).
There is no solution other than router with serious QoS. But still QoS is rate limiting, it doesn't make your internet faster, it make it feel faster when you do other stuff, at the expense of raw data transfer.
Also AFAIK there are lossless compression formats for pictures. Zip is kinda useless if you use those.
Make sure you get a decent context size. I haven't been using the combo recently, but I remember having to fight against context size configuration, 4k by default, buried among other settings.
Yeah at end of the day my prompt enhancing group is not even connected to the rest - I run it separately, copy&paste the prompt and run the actual job AFTER I have unloaded the model.
OTOH if you're playing with other settings (not prompt related) one time enhancement is fine, it speeds thing up.
And prompt enhancing is not tied to the text encoder, it's just a suitable model you have available. I've setup nodes that call a Openai API endpoint for prompt enhancing. Gemma4 MoE works well, so does Qwen 3.6, but you could use Kimi 3 at that point. The tricky part is that you need to unload the model if you're running it on the same hw and are short on VRAM (which you are by definition).
Well an uncensored model might answer the meth question, but that doesn't mean it's less opinionated.
Think of uncensored models as drunk.
Drunk people might speak their mind more freely, being relieved of societal constraints and political correctness rules. That doesn't mean their opinions are less biased tho.
When you go on hf to find uncensored models you get the drunk ones. And actually the technical difficulties these people face are surprisingly similar. They need to get the models drunk enough to bypass the safety nets but not too drunk that they become useless and start spitting out garbage.
Anyway, whether the models are more or less biased is a totally different matter, being drunk doesn't make them less biased. If anything it might make them expose their bias more.
Then you're missing the point. LLMs have (usually) extra safeties added last minute (in layman terms). They may have learned how too cook meth as part of their training but companies put a safety layer that makes is harder to get the answer to "teach me how to cook meth" type of question.
It's a safety net for companies from being sued on the basis that "your model thought my child how to cook meth".
Uncensored models employ other after training techniques in an attempt to remove or weaken that safety net.
But the core of the issue is that models train on general datasets and if those data set are biased (and no truly unbiased dataset can possibly exist) the models can only learn from the info they get.
Unfortunately it does not seem to pay off as well.
It's surprising narrow actually. 3B active should be much faster. I think the problem here is that MoEs don't seem to like MTP as much as dense models.
Well, people say qwen excels at coding. Ultimately, it's personal choice, to me Gemma seems to reason better, Qwen goes on a long ride before homing to the solution, which makes it also lower (tps notwithstanding).
I'd say nobody can answer but you. MoEs are going to be faster but less knowledgeable. You're the only one who can say if you're ok with that tradeoff.
In the dense arena, I believe Qwen 27B beats Gemma 4 31B on 32GB of VRAM as it requires less compromises thanks to being a bit smaller to begin with, and using way less VRAM for KV cache at 256k context. This is theorycrafting (I don't have a 5090) but I believe you can fit Qwen 27B at Q5_K_M and INT8 KV caches @256k context (I have a spare pc with 32GB of RAM and no GPU, -hf unsloth/Qwen3.5-27B-GGUF:Q5_K_M -ctk q8_0 -ctv q8_0 -np 1 -c 262144 fits in 29GB at the start), and possibily UD-Q6_K_XL @128k (it gets OOM killed on my PC but I suspect barely, of course I don't have 32GB of free RAM, the OS takes some for itself).
I'm sure you can find threads about that setup, there are people way more experienced than me, but if viable it's a hell of a model with hardly any compromise. It's probably SOTA for the 5090 - unless get in a total different category and play with offloading to RAM and try and fit a much larger model with advanced stuff.
In order to fit Gemma 4 31B you have to step down in the low Q4 I suspect and maybe play with TurboQuant. Does it do it for you? I have no idea. I don't even use those dense models, but my gut feeling is that I'd rather choose a very good model such as 27B if it fits w/o compromising quality rather than trying and squeeze a model (31B) that is comparable at best (YMMV, I've heard 31B is very good at text generation in multiple languages) by losing on sharpness.
BTW if you're trying Gemma4 26B MoE for coding try with temp=1.25.
For reference, I run either:
Gemma4 26B UD-Q4_K_S -ctk q4_0 -ctv q4_0 -c 131072
Qwen 35B Q4_K_M -ctk q8_0 -ctv q8_0 -c 131072 (and --spec-type ngram-mod --spec-ngram-mod-n-match 24 --spec-draft-n-min 12 --spec-draft-n-max 48)
which also shows how even when it's 35B vs 26B, still you have to comprimise more for Gemma. Now MoEs are a different kind of beast when it comes to GPU fitting so that's another story (one I know little about).
Probably it ignores Gated DeltaNet for Qwen models. It's a game changer for 256k context.
It changes also the purpose of low KV quant/turbo quant... Gemma 4 26B MoE kinda needs it to fit 256k. Qwen 35B MoE is larger but 256k starts at a fraction of the KV pressure. Like 1/3 (or is it 1/4). Anyway, 256k on Qwen at 16 is competing with Gemma at Q4. At Q8, which is barely a compromise, it competes with Gemma+Turbo quant. You don't really need to go lower unless you're really really squeezing it in little VRAM and every fraction of GB matters.
BTW it applies to dense models as well. And it seems they don't react as well as MoEs to extreme KV quantization, so Gated Deltanet is even more effective. Qwen dense being 27B vs Gemma 31B helps too.
Anyway, if you want to use the calculator for qwen, put in like 1/4 of the actual context.
I think this is a problem with the current meta, all about benchmarks and tps. What's missing, AFAIK, together with absolute results (quality) and raw speed, is token efficiency.
Model A can claim it scores 0.05 more than Model B in a set of benchmarks, but if it generates 5x the tokens to achieve that, that's hardly "better".
Likewise a model may generate 150 t/s while another only 120 on the same HW, but if the latter "converges" to answers using half the tokens, the first one is hardly "faster".
BTW that applies not only to model vs model (albeit that's the most interesting part), but in a way also to optimizations, parameters, quants, etc. If loss not only results in lower quality (divergence from base) but also in overthinking (while still getting the answer right) that's currently lost in translation. At least that's my understanding.
Do you swap models?
I get what you're saying but point is you have to create a very specific scenario to make it work. "Everything has a cost", ok but then ,"everything can be everything" if you create a scenario for it. Like given a straight line and a point outside it, there can be infinite parallel lines crossing that point.
Also even in your scenario, what you created a perspective. An interpretation. A way to look at things. That creates the cost. Look from the plants' perspective, CO2 is free. Oxygen is their cost to get it, but the human removes it. They get free CO2.l
But my point was more along the line: every atom we breathe out, comes from the atmosphere. Plants need it, they take it, we take it from them, either directly or indirectly by eating the plant or the animals that are the plant. By breathing it out, we give it back to the atmosphere. As long as I don't put on my astrophysicist hat - and look at what happens inside the Sun - I can call that a closed cycle. One's garbage is someone else's treasure.
Speaking of examples and CO2, a car works. Fuel is the cost. That's not a cycle. Once gone, it's gone. Crude oil is a finite resource that we're consuming.
As for the API cost, I agree. But again companies and shops have been offering free samples since forever because to them, it's saving on promotion. But I agree that nobody should demand free samples, or build their business on someone else's free samples.
Unfortunately it was a bad example.
It's a cycle, we breathe what plants release and vice versa. So the idea of "cost" is ill defined. Also it perpetuates the false belief of a carbon footprint related to breathing.
Well technically that 100,000 dead pets vs 1.
So he was 100,000 times more pissed off than John Wick.
You forget subliminal messages. Your brain sees a shark whether you're aware of it or not.
Anyway this is not the original movie poster.
You'd be expecting that downloads and uploads happen via two independent "pipes" so to speak. But actually both need constant confirmation from the other side. So, both streams generate two much smaller counter streams. Your backup interferes with Netflix counter stream as they go in the same direction, in the same "pipe'.
Technically, Netflix interferes with your backup counter stream too but that hardly you notice, also Netflix doesn't really saturate your download bandwidth.
Now you need to prioritize Netflix counter stream so that it doesn't stop or slow down due to the backup stream ("the ACKs must flow"). That's where QoS comes to play.
But if you expect a router to have a button with "make Netflix work", it's not like that.
You might be able to enter a rule in your router that says "classifies all traffic from this internal IP address (that of the NAS) as bulk transfer and lower its priority", or something like that. It might be per protocol/port (whatever your backup uses).
It's not magical. It doesn't increase you bandwidth. It handles congestion a bit better.
Think of an umbrella. It help with rain but does not magically turns a rainy day into a sunny one.
There is no solution other than router with serious QoS. But still QoS is rate limiting, it doesn't make your internet faster, it make it feel faster when you do other stuff, at the expense of raw data transfer.
Also AFAIK there are lossless compression formats for pictures. Zip is kinda useless if you use those.
End of this list.
Back to top