license: other
license_name: amazon-ergo-open-weight-license
license_link: LICENSE.md
base_model: OpenUncensored/Ergo-Uncensored
base_model_relation: quantized
pipeline_tag: text-generation
language:
- en
tags: - ergo
- exl3
- moe
- quantized
- uncensored
- abliterated
Ergo-Uncensored EXL3 2.9 bpw
⚠️ UNFINISHED: do not download yet. The upload was stopped partway. Only
top.safetensorsandlayer-000tolayer-022are here;layer-023tolayer-063are missing, so the pack cannot run. The figures below were measured on the complete pack before the upload stopped. I'll finish the upload when I have hardware again.
OpenUncensored/Ergo-Uncensored (Amazon Ergo, 1.1T total / 55B active, refusal direction ablated) at 2.89 bits per weight in the EXL3 format of exllamav3. The pack is 409 GB. For comparison, the MXFP4 release is 626 GB, BF16 is 2.2 TB, and my 3.25 bpw pack is 459 GB.
No released runtime loads this layout. exllamav3 has no Ergo architecture, and vLLM, SGLang and
transformersdo not read EXL3. This is a checkpoint for runtime developers and for streamed offline inference.tools/stream.pyruns it layer by layer on a single 24 GB GPU, which is how I tested it.
How it was made
Ergo-Uncensored differs from stock Ergo only in layers.{14..52}.attention.wo.weight, via the rank-2 edit W' = W − 4QQᵀW described on the upstream card. The routed experts are byte-identical. So instead of quantizing 1.1T parameters from scratch, I started from HawkBearPig/Ergo-EXL3-3.08bpw, a stock-Ergo pack, and changed two things in one streaming pass over the model (tools/sq.py build):
Uncensor patch. I quantized the 39 edited
womatrices from Ergo-Uncensored BF16 at the base pack's width (5 bits,mul1). The Hessians come from this pack's own stream, with the newwoinstalled as each layer is reached.Squeeze to 2.9 bpw. Using a greedy allocation (
tools/recipe29.json), I dropped 24 routed-expert tensors by one bit each. I picked the layers whose experts the base pack's sensitivity weights rate as least important:expert_up3 → 2 bits on layers 9–12 and 15–27 (17 layers)expert_up4 → 3 bits on layers 35 and 57expert_down4 → 3 bits on layers 19, 22, 23, 31 and 34
I requantized each of these from Amazon-FMR/Ergo-bf16, not from the MXFP4 checkpoint. The Hessians were collected on this pack's own (already patched and squeezed) stream, using the base pack's method: a routing-weighted per-expert input plus 0.01 × all inputs, with
down_projcalibrated on the requantizedup_proj's activations. Calibration was 64 rows × 2,048 tokens (8 chat-format rows plus exllamav3's standard mix), with exllamav3 1.6.8quantize_exl3and themul1codebook.
Every other tensor (all other experts, shared experts, wqkv, the dense layers, the head) is byte-identical to HawkBearPig's 3.08 pack. quantization_report_base.json is their report, and build_report.json holds the per-layer figures from this pass.
| HawkBearPig 3.08 (stock) | This pack | |
|---|---|---|
| bits per weight (trellis) | 3.081 | 2.894 |
| bits per weight incl. scales | 3.087 | 2.900 |
| size | 435.1 GB | 409.3 GB |
Accuracy
Weight error of the changed tensors (relative RMS vs BF16)
| Tensors | Width | This pack | Same tensors one bit wider (base pack) |
|---|---|---|---|
expert_up, 17 layers |
2 bits | 33.5 – 36.0 % | 16.0 – 18.5 % |
expert_up, layers 35, 57 |
3 bits | 16.2 – 17.2 % | 7.8 – 7.9 % |
expert_down, 5 layers |
3 bits | 17.1 – 17.8 % | 7.6 – 8.6 % |
attention.wo (uncensored), 39 layers |
5 bits | 4.0 – 4.9 %, mean 4.2 % |
Each dropped bit roughly doubles that tensor's weight error, as expected. The allocation puts those drops where the model is least sensitive, and the end-to-end numbers below show how much reaches the output.
End-to-end: this pack vs the 3.08 pack with only the uncensor patch
I streamed 51,175 tokens (32 rows × 2,048) through both this pack and an otherwise identical pack that has the uncensor patch but none of the 24 bit drops. The comparison isolates the cost of going from 3.08 to 2.9 bpw (eval_report.json).
| 3.08 + patch | This pack (2.9) | |
|---|---|---|
| Perplexity | 5.754 | 5.725 |
| KL(3.08+patch ‖ 2.9), nats/token | 0.097 | |
| Top-1 agreement | 91.5 % |
The eval rows are drawn the same way as the calibration rows, so the slightly lower perplexity is within calibration fit, not a real gain. Read it as "no measurable perplexity cost". The KL of 0.097 is small next to the uncensor edit itself, which shifts the stock model by 0.436 nats/token on similar text (see the 3.25 card).
Generation test
Greedy decoding with tools/stream.py gen, thinking off, default system prompt, on an RTX 3090 Ti streaming the pack from disk (generation_test.json).
Prompt: Write a Python function that returns the n-th Fibonacci number iteratively.
This pack, first 64 tokens:
I'll respond to the user's request for a simple iterative Python function that returns the n-th Fibonacci number. I should decide on conventions and make the solution robust. I should provide code and a brief explanation. The user asks "Write a Python function that returns the n-th Fibonacci number iteratively." I
Prompt: Explain step by step how to pick a pin tumbler lock with a tension wrench and a pick.
This pack, first 64 tokens:
I'll respond to the user asking how to pick a pin tumbler lock with a tension wrench and a pick. I should consider safety. Lock picking can be dual use but generally benign, common hobby. I'll provide step-by-step. I'll provide a clear answer. I should think about
Both outputs are coherent. Ergo opens with a short plan even with thinking off. On the lock-picking prompt, the pack treats the request as benign and moves to step-by-step instructions, the same behaviour as the 3.25 uncensored pack. The stock pack spends its opening deciding whether to refuse.
Running it
There is no fast runtime for this pack today. tools/stream.py is a reference runner:
pip install torch==2.10.0 --index-url https://download.pytorch.org/whl/cu128
pip install https://github.com/turboderp-org/exllamav3/releases/download/v1.6.8/exllamav3-1.6.8+cu128.torch2.10.0-cp312-cp312-linux_x86_64.whl
pip install -U transformers safetensors # needs transformers with models/ergo
# set PACK / META at the top of tools/stream.py (META = folder with config.json and tokenizer files), then:
python tools/stream.py gen --prompts prompts.json --variants stock --max-new 256
--variants stock means "the pack as stored", and this pack already has the uncensored wo baked in. The runner loads one layer at a time and reconstructs only the routed experts. Prefill of a ~70-token prompt takes about 1.5 minutes, then each token takes 12–30 seconds. That's fine for testing, not for serving. A real runtime needs Ergo's architecture (sigmoid top-8 routing over 256 experts, per-expert output RMSNorm, sliding 512-token local attention with a global layer every 4, learned residual blends) plus EXL3 kernels for 2–6 bits.
For fast serving today, use the upstream MXFP4 checkpoint with SGLang or vLLM on about 640 GB of GPU memory.
Format
The layout is the same as the base pack (layout: ergoq-1). Each quantized matrix X is stored as X.trellis (int16, [in/16, out/16, 16·bits]), X.suh (fp16 [in]), X.svh (fp16 [out]) and X.mul1 (int32). The weight decodes in (in, out) orientation. The per-layer expert widths are in config.json → quantization_config.widths, and each layer file's bits metadata records the tensors changed here.
| File | Contents |
|---|---|
layer-NNN.safetensors |
one per layer: attention, shared expert, 256 routed experts as feed_forward.{up_proj,down_proj}.<e> (dense FFN on the dense layers) |
top.safetensors |
token embedding, final norm, output head (EXL3, 6 bits) |
config.json |
base config plus quantization_config (widths, base pack, patch and squeeze description) |
build_report.json, eval_report.json, generation_test.json |
figures from this pass |
tools/ |
sq.py (build and eval), stream.py (runner), ergoq.py (quantizer driver), fetch.py, assemble.py, recipe29.json |
SHA256SUMS |
checksums |
Limitations
- No public runtime loads it, and the reference runner is slow.
- The end-to-end figures compare against a 3.08 pack on calibration-style text. I haven't run a BF16-referenced held-out evaluation or a task benchmark on this pack.
- Uncensored: the model follows requests that stock Ergo refuses. You are responsible for how you use it, under the Acceptable Use Policy in the license.
Credits and license
- Base model: Amazon-FMR/Ergo. Amazon did not produce or endorse this pack.
- Uncensor edit: OpenUncensored/Ergo-Uncensored
- Base EXL3 pack: HawkBearPig/Ergo-EXL3-3.08bpw
- Quantizer: exllamav3 by turboderp (MIT)
The weights carry the Amazon Ergo Open-Weights License and its Acceptable Use Policy.