M8 - Repackaging (GGUF quantization)
Not a refusal-removal method at all. M8 is the conversion of an already-modified model into a different container - most often a GGUF quantization - so it runs on laptop hardware. The distribution layer of the whole abliteration ecosystem.
M8 is not a refusal-removal method. It is the repackaging of an already-modified model into a different format or precision, most often GGUF quantization for laptop inference. No refusal direction is touched; the M8 output refuses or complies exactly as its parent did, modulo quantization noise. As of 2026-11-08 the mradermacher account lists over 73,000 models, publishing GGUF quantizations of other people's models. mradermacher's quant tables mark Q4_K_M 'fast, recommended'. Quantization may interfere with abliteration (no source cited here measures it); huihui-ai's _L files keep the ablated tensors at higher precision.
- Why M8 belongs in the taxonomy even though it removes no refusal
- How to read GGUF quantization names (Q4_K_M, IQ3_XXS decoded)
- The mradermacher / bartowski high-volume pipeline
- The imatrix quality boost
- huihui-ai's _L trick and the quantization-interferes-with-abliteration failure mode
- When to prefer GGUF vs AWQ vs GPTQ vs EXL2 vs MLX
What M8 is
M8 is not a refusal-removal method at all. It is the conversion of an already-modified model into a different container or precision, so it runs on hardware the original could not. The dominant operation is quantization to GGUF, the format used by llama.cpp and tools built on it, such as KoboldCpp. A practitioner takes an abliterated model that someone else produced, runs it through GGUF conversion at a range of precision levels, and republishes the quantized files.
No refusal direction is touched. An M8 model refuses or complies exactly as its parent did, modulo the effects of quantization. That qualifier is not trivial - see the failure modes section for the concern that aggressive quantization may partly undo abliteration.
How quantization works, briefly
A model's "weights" are, physically, an enormous list of numbers - for a mid-sized model, several billion of them. Each number records the strength of one connection learned during training. To run the model is to do arithmetic with all of them for every word produced.
The size of that list depends on how precisely each number is stored. Precision is measured in bits. A model's native precision is usually 16-bit floating point (F16 or BF16), meaning each weight occupies two bytes. That is why a 70-billion-parameter model in native precision needs roughly 140 gigabytes just to hold the weights.
Quantization is lossy compression for weights. Instead of two bytes per number, store each in fewer bits - 8, 5, 4, 3, even 2 - accepting a small loss of accuracy for a large saving in memory. At Q4_K_M, a 70B model (Llama 3.1 70B) takes 43.1 gigabytes, per the llama.cpp quantize README. The trade is real: fewer bits mean coarser numbers, and coarser numbers mean the model's outputs drift from what full precision would produce.
Reading GGUF quantization names
The cryptic names on a download page are readable once decoded. Two representative examples:
Q4_K_M. The "Q4" means 4-bit quantization. The "K" means the K-quant scheme, which stores weights in super-blocks of smaller blocks with their own quantized scales, added after the older "0" and "1" schemes. The "M" means the medium variant, which keeps some tensors (half of the attention V and feed-forward down-projection tensors) at Q6_K. So Q4_K_M reads as "4-bit, K-quant, medium."
IQ3_XXS. An I-quant at about 3.25 bits per weight on Llama 3.1 8B, per the llama.cpp quantize README. "XXS" marks the smallest of the IQ3 variants.
Selected llama.cpp quantization levels, with bits per weight as measured on Llama 3.1 8B in the llama.cpp quantize README:
$ column -t gguf_ladder.tsv
LEVEL BITS/W
───────── ──────
Q2_K 3.16
Q3_K_S 3.64
Q3_K_M 4.00
Q3_K_L 4.30
Q4_K_S 4.67
Q4_K_M 4.89 ★
Q5_K_S 5.57
Q5_K_M 5.70
Q6_K 6.56
Q8_0 8.50
IQ2_XXS 2.38
IQ3_XXS 3.25
IQ4_XS 4.46
★ = marked "fast, recommended"
in mradermacher's quant tables Rough orientation, not a recommendation (bits per weight from the llama.cpp quantize README, Llama 3.1 8B):
- Q2_K (~3.2 bits) - the smallest K-quant listed here
- Q3_K_S/M/L (~3.6-4.3 bits)
- Q4_K_S/M (~4.7-4.9 bits) - mradermacher's quant tables mark Q4_K_M "fast, recommended"
- Q5_K_S/M (~5.6-5.7 bits)
- Q6_K (~6.6 bits)
- Q8_0 (~8.5 bits)
What you need before starting
- A model in Hugging Face safetensors format.
- Disk space for the F16 GGUF (~2x params in GB) plus each quant.
- Mostly CPU and RAM; a GPU accelerates imatrix computation but is not required for basic quantization.
Get the tools
llama.cpp provides the conversion and quantization tools; the project was founded by Georgi Gerganov.
$ git clone https://github.com/ggml-org/llama.cpp $ cd llama.cpp $ cmake -B build -DCMAKE_BUILD_TYPE=Release $ cmake --build build --config Release -j $ pip install -r requirements.txt # produces binaries in build/bin/: # llama-quantize # llama-imatrix # llama-cli, llama-server (reference) # platform flags (optional): # Metal: on by default on macOS # -DGGML_CUDA=ON ← CUDA GPU # neither needed for CPU-only work
Clone the repository, build with CMake in Release mode (multi-threaded via -j), install Python requirements for the conversion scripts. The build produces binaries in build/bin/ including llama-quantize, llama-imatrix, and the reference server/CLI.
On macOS, Metal acceleration is enabled by default (disable it with -DGGML_METAL=OFF). On CUDA-capable systems add -DGGML_CUDA=ON. For CPU-only quantization work neither is strictly necessary.
The core procedure
Two steps: convert the HuggingFace safetensors to an F16 GGUF, then quantize the F16 to a target level.
# stage 1: HF safetensors → F16 GGUF
$ python convert_hf_to_gguf.py \
./my-abliterated-8b/ \
--outfile ./my-abliterated-8b-f16.gguf \
--outtype f16
# stage 2: F16 GGUF → quantized target
$ ./build/bin/llama-quantize \
./my-abliterated-8b-f16.gguf \
./my-abliterated-8b-Q4_K_M.gguf \
Q4_K_M
# always quantize from F16, never from an
# already-quantized file. requantizing
# compounds error and produces worse
# results than direct F16 → target. Step 1: convert_hf_to_gguf.py reads the model's safetensors and produces a single F16 GGUF file containing weights, tokenizer, and metadata - self-contained by design so any GGUF-compatible program can load it without additional files.
Step 2: llama-quantize takes the F16 GGUF and produces a quantized version at the specified level (Q4_K_M in the example). Always quantize from F16 source, never from an already-quantized file - requantizing compounds error and produces worse results than direct quantization from F16 to the same target level.
imatrix - importance-weighted quantization
An importance matrix is computed by running calibration text through the model. The llama.cpp README says it can be used during quantization to enhance the quality of the quantized models.
mradermacher publishes imatrix quants alongside static ones, and bartowski's cards state that all quants are made with the imatrix option. The "i1" tag on quant names (e.g. mradermacher/*-i1-GGUF) indicates imatrix-calibrated variants.
# stage 1: compute the importance matrix
$ ./build/bin/llama-imatrix \
-m ./my-abliterated-8b-f16.gguf \
-f wiki.train.raw \
-o imatrix.gguf
# calibration text, e.g. wiki.train.raw
# stage 2: quantize with the matrix
$ ./build/bin/llama-quantize \
--imatrix imatrix.gguf \
./my-abliterated-8b-f16.gguf \
./my-abliterated-8b-IQ4_XS.gguf \
IQ4_XS Step 1: llama-imatrix reads the F16 GGUF and a calibration text file (the README's example is wiki.train.raw), runs the model over it, and computes the importance matrix.
Step 2: quantize with --imatrix passing the computed matrix, which llama-quantize uses as importance data for its quantization optimizations.
huihui-ai's precision-preserving _L trick
huihui-ai keeps the tensors targeted for ablation at higher precision during quantization; its card says this is to improve response quality. Their published command uses llama-quantize's per-tensor override to force specific tensors (token_embd, output, ffn_down, ssm_out, attn_output) to Q8_0 (or BF16 in the Q8_0 build), renaming the file with an _L suffix.
# Qwen3.8-27B-tensor_types-Q6_K_L.txt:
# token_embd\.weight=q8_0
# output\.weight=q8_0
# .*ffn_down\.weight=q8_0
# .*ssm_out\.weight=q8_0
# .*attn_output\.weight=q8_0
$ llama-quantize \
--allow-requantize \
--tensor-type-file huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF/Qwen3.8-27B-tensor_types-Q6_K_L.txt \
huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF/Huihui-Qwen3.8-27B-abliterated-bf16.gguf \
huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF/Huihui-Qwen3.8-27B-abliterated-Q6_K_L.gguf Q6_K
# result: Q6_K everywhere EXCEPT the
# ablation-affected tensors, which stay
# at Q8_0. filename gets _L suffix.
# a Q2_K_L can end up larger than a plain
# Q3_K because of the preserved tensors. --allow-requantize permits requantizing tensors that have already been quantized (llama-quantize warns this can severely reduce quality compared to quantizing from 16-bit or 32-bit; the source here is the bf16 GGUF). --tensor-type-file points to a plain text file of tensor_pattern=type entries - the ablated tensors get Q8_0, everything else Q6_K, producing a Q6_K_L file.
Because the ablated tensors are kept at higher precision, a Q2_K_L can actually be larger than a plain Q3_K. The _L files are non-standard by design - they trade some size for keeping the ablated tensors at higher precision.
The mradermacher pipeline
M8 has no inventor; quantization is general infrastructure. One high-volume producer is mradermacher, whose account lists over 73,000 models as of 2026-11-08, publishing GGUF and imatrix quantizations of other people's models. mradermacher's operation runs on company hardware (the model cards thank "my company, nethype GmbH, for letting me use its servers") with additional compute from a collaborator ("thanks to @nicoboss for giving me access to his private supercomputer, enabling me to provide many more imatrix quants").
mradermacher's cards point readers who are unsure how to use GGUF files to one of TheBloke's READMEs. bartowski is another current M8 producer, whose cards state that all quants are made with the imatrix option.
AWQ, GPTQ, EXL2, MLX - when to prefer
GGUF is used for local CPU/mixed inference, and other formats exist for other runtimes:
- GPTQ / AWQ - GPU-side quantization formats supported by vLLM for server inference. Prefer when serving on GPUs rather than CPU.
- EXL2 - ExLlamaV2's format, which mixes quantization levels within a model to reach any average bitrate between 2 and 8 bits per weight.
- MLX - Apple Silicon native format. Prefer on Mac when running inside the MLX ecosystem.
- GGUF - for CPU and mixed CPU/GPU inference (llama.cpp, KoboldCpp).
When it does not work
Quantization may interfere with abliteration. Concern: low quants (Q2, Q3) may refuse more than the F16 parent, if rounding perturbs the weight changes abliteration made. No source cited here measures this (see the coverage gap below). Diagnostic: compare refusal rates across quant levels. Mitigations: use imatrix, use huihui-ai's _L files, which keep ablated tensors at higher precision, or ship a larger quant.
Load errors on new architectures. Symptom: the model fails to load. Possible cause: architecture not yet supported by your llama.cpp build. Fix: update llama.cpp; recently-released architectures may need a build from HEAD rather than a released version.
Garbled output after quantizing. Symptom: incoherent tokens, repeating patterns, garbage. Possible causes: quantized from an already-quantized source, or broken conversion (interrupted mid-write, wrong outtype). Fix: reconvert from F16 or safetensors source; verify F16 file loads correctly before quantizing.
Cost, time, file sizes
Conversion and quantization are CPU/RAM jobs; the quantize README notes that models are fully loaded into memory. imatrix computation benefits from a GPU (-ngl to offload layers). A 70B model is disk-heavy and RAM-heavy.
Observed file sizes for a 27B model (huihui-ai's Qwen3.8-27B):
- Q4_K: 16.8 GB
- Q4_K_L: 20.9 GB (larger due to preserved tensors)
- Q6_K: 22.4 GB
- Q8_0: 29 GB
The llama.cpp quantize README lists Q4_K_M sizes of 4.9 GB for Llama 3.1 8B and 43.1 GB for Llama 3.1 70B. The general rule: at 4-bit K-quants, file size is roughly 0.6x the parameter count in GB (a 27B becomes ~17 GB, a 70B ~43 GB).
Related literature
We have not found a paper that directly evaluates the interaction between GGUF quantization and post-abliteration model behavior. In our view this is one of the clearer coverage gaps in the field: the peer-reviewed literature on quantization methods such as GPTQ and AWQ does not, as far as we found, test on abliterated targets.
What the M8 practitioner needs is documented in the tool codebases and blog posts already cited on this page: the llama.cpp quantization README for quantization options, mradermacher's Hugging Face profile for output examples, and the humanist explainer for the concept map. Coverage gap remains: we have found no peer-reviewed measurement of whether low-bit quantization partially undoes abliteration (which the practical wiki notes as an operational concern), and no comparative study of Q4_K_M vs Q5_K_M vs Q6_K on refusal-benchmark output for abliterated models specifically.
Where to go next
Distribute: upload the GGUFs to Hugging Face for others to consume. Test: run the quantized file through the same refusal-count and capability-benchmark checks as the F16 parent - quantization can change both metrics, and low-bit quants may partly undo abliteration. See the practical how-to verification section. For the human-readable explainer of what all the quant names mean, see the E2 concept article.
Frequently asked questions
What is M8 repackaging?
M8 is the conversion of an already-modified model into a different format or precision - most often GGUF quantization for laptop inference. It is not meant to modify behavior; it changes the container so the model can run on hardware the original could not. As of 2026-11-08 the mradermacher account lists over 73,000 models, publishing GGUF quantizations of other people's models.
Is M8 really abliteration?
No, and this wiki says so clearly. M8 removes no refusal. It repackages a model that already had some refusal-removal method applied (M1 through M7). This wiki includes M8 in the taxonomy as a distribution modifier that co-occurs with a refusal-removal method - the majority of abliterated models a user downloads are GGUF quants (82 percent of the downloads of abliterated models in our catalog), so a taxonomy that omitted the repackaging layer would misdescribe how models reach users.
What does Q4_K_M mean?
"4-bit, K-quant, medium." Q4 means 4-bit precision per weight. K means the K-quant scheme (weights stored in super-blocks of smaller blocks with their own quantized scales, added after the older "0" and "1" schemes). M means the medium variant (half of the attention V and feed-forward down-projection tensors kept at Q6_K). mradermacher's quant tables mark it "fast, recommended".
Which quantization level should I download?
A common default is Q4_K_M, which mradermacher's quant tables mark "fast, recommended". Larger quants such as Q5_K_M or Q6_K keep more precision; smaller ones such as IQ3_XXS trade precision for file size.
What is imatrix quantization?
Importance-matrix quantization. llama-imatrix computes an importance matrix from the model and a calibration text, and llama-quantize can use it (--imatrix) to enhance the quality of the quantized model. mradermacher's "i1" tag marks imatrix-calibrated variants.
What is the _L suffix on some huihui-ai GGUF files?
A convention described on huihui-ai's model cards. The _L suffix indicates that ablation-affected tensors are preserved at higher precision (Q8_0 or BF16) while the rest of the model is quantized to the nominal level. huihui-ai's card says this is done to improve response quality. Because the preserved tensors are larger, an _L file at a given nominal level can be bigger than a plain quant at the next level up. See our huihui-ai article for the full explanation.
Can quantization undo abliteration?
Possibly. A concern is that low-bit quants (Q2, Q3) refuse more than their F16 parent if rounding perturbs the weight changes abliteration made; no source cited here measures this. Mitigations: imatrix calibration, huihui-ai's _L files that keep the ablated tensors at higher precision, or a larger quant.
GGUF vs AWQ vs GPTQ vs EXL2 vs MLX - which should I use?
Depends on your runtime. GGUF (llama.cpp) for CPU or mixed CPU/GPU inference. AWQ/GPTQ for GPU-side server inference (vLLM). EXL2 for ExLlamaV2 (mixed quantization levels, any average bitrate between 2 and 8 bits per weight). MLX for Apple Silicon inside the MLX ecosystem. For laptop use of an abliterated model, GGUF runs on CPU or mixed CPU/GPU.
How does mradermacher publish so many models?
mradermacher's model cards thank the company nethype GmbH for the use of its servers and a collaborator (nicoboss) for access to a private supercomputer for imatrix quants. Static and imatrix (i1) quants of a model are published in separate repositories, each holding a range of quant levels. As of 2026-11-08 the account lists over 73,000 models.
References
- llama.cpp repository (Georgi Gerganov, ggml-org). github.com/ggml-org/llama.cpp
- GGUF format specification (ggml-org/ggml). github.com/ggml-org/ggml/blob/master/docs/gguf.md
- mradermacher Hugging Face profile. huggingface.co/mradermacher
- bartowski Hugging Face profile. huggingface.co/bartowski
- huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF (source of the _L trick documentation). huggingface.co/huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF
- mradermacher/DeepSeek-V4-Flash-0731-Abliterated-FP8-i1-GGUF (representative M8 artifact). huggingface.co/mradermacher/DeepSeek-V4-Flash-0731-Abliterated-FP8-i1-GGUF
- ExLlamaV2 (turboderp). github.com/turboderp-org/exllamav2
- vLLM (GPTQ/AWQ inference server). github.com/vllm-project/vllm
- MLX (ml-explore). github.com/ml-explore/mlx