CoolFace
Modelpublic

cesarsal1nas/Huihui4-48B-A4B-abliterated-GGUF

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
1likes632downloads
Model Card

Huihui4-48B-A4B-abliterated GGUF

This repository contains GGUF quantizations of huihui-ai/Huihui4-48B-A4B-abliterated, plus the matching multimodal projector for llama.cpp-based inference.

The original model is a Gemma 4 multimodal MoE with 256 experts and 8 active experts per token. According to the upstream release, experts 1-128 come from huihui-ai/Huihui-gemma-4-26B-A4B-it-abliterated and experts 129-256 come from TeichAI/gemma-4-26B-A4B-it-Claude-Opus-Distill.

These files were exported from the original safetensors model with the Unsloth GGUF export pipeline and validated with llama.cpp.

What Is In This Repo

FileSizePurposeNotes
Huihui4-48B-A4B-abliterated.BF16-mmproj.gguf1.2 GBMultimodal projectorRequired for image input in llama.cpp. Use the same file with every quant.
Huihui4-48B-A4B-abliterated.Q8_0.gguf47.64 GiBHighest-quality quantBest quality in this set. On the benchmark machine below it needed fit mode and large host-mapped memory.
Huihui4-48B-A4B-abliterated.Q6_K.gguf40.27 GiBHigh-quality quantBest quality among the quants that cleanly fit the tested dual-GPU setup.
Huihui4-48B-A4B-abliterated.Q4_K_M.gguf29.76 GiBRecommended defaultBest overall balance of quality, speed, and memory.
Huihui4-48B-A4B-abliterated.Q3_K_M.gguf23.38 GiBSmaller optionNoticeable quality drop versus Q4KM.
Huihui4-48B-A4B-abliterated.Q2_K.gguf18.52 GiBSmallest optionFastest decode in this set, but also the weakest quality.

Benchmark Setup

All benchmarks below were run with:

  • —llama.cpp build d132f22fc (8739)
  • —RTX 4090 24 GB + RTX 3090 24 GB
  • —AMD Ryzen 7 9800X3D
  • —flash attention enabled
  • —split mode layer
  • —q8_0 KV cache

Speed was measured with llama-bench at 4096 prompt tokens and 256 generated tokens. Perplexity was measured with llama-perplexity on raw Wikitext-2 validation text at n_ctx=4096.

The perplexity values are only meant as relative comparisons between these quants under one fixed setup. This is an instruction-tuned multimodal chat model evaluated on raw Wikitext-2 text, so the absolute values should not be treated as a general LM leaderboard score.

Benchmark Results

QuantFile sizePrefill tok/sGen tok/sPPLVRAM at 4k q8_0 KV (4090 / 3090)Host RAMNotes
Q8_047.64 GiB1650.3973.25265082.05 +/- 5344.3422.74 / 23.30 GiB47.66 GiBBest quality. This run was partially offloaded to CPU / host-mapped memory on the benchmark machine.
Q6_K40.27 GiB5263.15129.80311616.55 +/- 6383.6323.14 / 21.43 GiB0.62 GiBHighest quality clean fit on the tested system.
Q4KM29.76 GiB5750.96143.03457818.55 +/- 9564.8917.74 / 16.18 GiB0.62 GiBBest overall deployment choice.
Q3KM23.38 GiB5399.88138.693593800.87 +/- 72288.4214.58 / 12.97 GiB0.62 GiBSmaller footprint, but quality drops hard.
Q2_K18.52 GiB5371.41151.594859118.84 +/- 95504.9712.12 / 10.55 GiB0.62 GiBSmallest and fastest decode, but weakest quality by a large margin.

Recommended Picks

  • —Use Q4_K_M if you want the default recommendation.
  • —Use Q6_K if you want the best quality that still fits cleanly on a strong dual-24 GB setup.
  • —Use Q8_0 only if you are comfortable with partial CPU offload or much larger available memory.
  • —Use Q3_K_M or Q2_K only when memory is the priority and you accept a major quality hit.

llama.cpp Usage

Multimodal inference requires both the main quant and the projector file. On the tested runtime, Gemma 4 chat formatting also needed --jinja. If you need OpenAI-compatible tool calling from llama-server, do not pass --skip-chat-parsing.

Example llama-server launch:

bash
llama-server \
  -m Huihui4-48B-A4B-abliterated.Q4_K_M.gguf \
  --mmproj Huihui4-48B-A4B-abliterated.BF16-mmproj.gguf \
  --jinja \
  --reasoning off \
  -fa on \
  -sm layer \
  -dev CUDA0/CUDA1 \
  -ngl 99 \
  -c 32768 \
  -np 1 \
  --host 127.0.0.1 \
  --port 8080

Example text-only llama-cli launch:

bash
llama-cli \
  -m Huihui4-48B-A4B-abliterated.Q4_K_M.gguf \
  --jinja \
  -fa on \
  -sm layer \
  -dev CUDA0/CUDA1 \
  -ngl 99 \
  -c 32768

Notes

  • —This is a quantized GGUF release of the original model, not the earlier REAP-pruned experiment.
  • —For image input, the BF16-mmproj.gguf file is required regardless of which quant you choose.
  • —The Q8 benchmark above is intentionally labeled as partially CPU offloaded because it did not fit as a clean all-GPU run on the tested 4090 + 3090 machine.

Credits