This might just be The One!

#1
by Mal-2 - opened

Every other uncensored model of Gemma 4-26B-A4B I've tried so far has a problem where it will sometimes output a single token and then hang. I end up needing to stop the hung response, and edit my prompt slightly, and sometimes even then it continues to hang. The only surefire workaround is to attach an image (I created a little black PNG just for the purpose) which seems to dislodge the log jam. I could not find anyone else talking about this, so I have been left to my own devices to figure out the nature of the problem.

Then earlier tonight, I was trying to get Gemma 4-31B to perform to a reasonable speed. I completely failed, but along the way that model said something about MoE models sometimes activating the wrong neurons and outputting a single token and then seizing up—exactly the behavior I've been getting from every single uncensored 26B model. I abandoned the attempt to make 31B performant enough to be tolerable, and decided to make one more check of Hugging Face to see if just maybe someone else was talking about my problem. That's when I found this model, last updated ONE MINUTE (!) prior to my check. I looked at the model card describing how this one is different and decided to give it a shot.

So far, it's actually working! I've had a couple of glitches in the output that I can attribute to using the IQ3_M quantization, but it hasn't hung on me even once! This one just might have the magic sauce. And the model card explaining how the abliteration process was done differently is a very enlightening read, I highly recommend giving it a look.

I also grabbed the i1-Q5_K_M quantization to hopefully avoid those occasional moments of derp from IQ3_M, figuring I'll have a "fast model" and a "smart model" and switch between them as necessary. The speed penalty of the larger version is only about 25% too, running on my potato of an office PC with an RTX 3060 (12 GB).

These are the parameters I'm using with IQ3_M:

[Path]\llama-server.exe ^
--model "[Path]\gemma-4-26B-A4B-it-abliterix.i1-IQ3_M.gguf" ^
--mmproj "[Path]\gemma-4-26B-A4B-it.mmproj-Q8_0.gguf" ^
--image-max-tokens 1120 ^
--chat-template-file "[Path]\chat_template.jinja" ^
--ctx-size 131072 ^
--n-cpu-moe 9 ^
--cache-type-k iq4_nl ^
--cache-type-v iq4_nl ^
--reasoning-budget 2048 ^
--reasoning-budget-message "Reasoning budget exceeded (looping?)" ^
--log-timestamps

And with i1-Q5_K_M:

[Path]\llama-server.exe ^
--model "[Path]\gemma-4-26B-A4B-it-abliterix.i1-Q5_K_M.gguf" ^
--mmproj "[Path]\gemma-4-26B-A4B-it.mmproj-Q8_0.gguf" ^
--image-max-tokens 1120 ^
--chat-template-file "[Path]\chat_template.jinja" ^
--ctx-size 131072 ^
--n-cpu-moe 18 ^
--cache-type-k q5_1 ^
--cache-type-v q5_1 ^
--reasoning-budget 2048 ^
--reasoning-budget-message "Reasoning budget exceeded (looping?)" ^
--log-timestamps

You may be able to figure out that I'm running Windows, which uses ^ as the "don't break the line" character. Obviously, substitute whatever your OS uses if it's different.

EDIT: Apparently the model's structure has changed sufficiently that the .mmproj file for the "normal" Gemma 4 26B-A4B no longer works. The model now crashes when presented with vision tasks. No replacement .mmproj file has been provided. So much for my attempt to Agentify this model!

Mal-2 changed discussion status to closed
Mal-2 changed discussion status to open

EDIT: Apparently the model's structure has changed sufficiently that the .mmproj file for the "normal" Gemma 4 26B-A4B no longer works. The model now crashes when presented with vision tasks. No replacement .mmproj file has been provided. So much for my attempt to Agentify this model!

The reason none was provided almost certainly is because the mmproj extraction failed. We always provide the mmproj file if mmproj extraction is possible.

Preliminary testing with https://huggingface.co/mradermacher/gemma-4-26B-A4B-it-heretic-ara-v2-GGUF/tree/main is looking good for me in LM Studio, if you can’t wait for the author to produce his MMPROJ files.

Preliminary testing with https://huggingface.co/mradermacher/gemma-4-26B-A4B-it-heretic-ara-v2-GGUF/tree/main is looking good for me in LM Studio, if you can’t wait for the author to produce his MMPROJ files.

Alas, I get 1-token hangs with that model with unmanageable frequency—just like every other uncensored 26B model except Abliterix. That's why I'm so excited about this model, it fixes the single largest problem I've been having although the side effect is that it is no longer compatible with the mmproj file.

I meant using that MMPROJ file with this model.

It's worth a shot. But I left an inquiry on wangzhang's own project page about it and got the response "will do it later". Hopefully this means they understand that Abliterix is no longer just a proof of concept, some people (or at least me) are actually adopting it as their primary uncensored local model.

EDIT: Unlike the "stock" model, llama-server did not crash and the image seems to have been mostly seen correctly. Some salient details have been missed, but that may just be normal behavior as I've noticed the vision tends to be kind of "hit and miss". Thank you for the suggestion, I'll experiment more tomorrow.

I just had llama-server completely crash due to an image using the Abliterix model and the Heretic-ARA mmproj. They might play nice together some of the time, but I found an image that completely breaks things: it was a Corvette and a Silverado in a collision where the Corvette acted like a wedge and the Silverado landed half on top of it. Fortunately, this happened in Australia, so the Corvette driver was on the side that didn't get crushed.
image

Sign up or log in to comment