Amazon's Ergo at 3.25 bits per weight, in the EXL3 format of exllamav3. The pack takes 459 GB, where the BF16 weights take 2.2 TB and Amazon's own 4-bit release (MXFP4) takes 626 GB. It targets four machines with 128 GB of unified memory each, a budget the 4-bit release exceeds.
On held-out text it tracks the BF16 model more closely than MXFP4 does on chat sessions, tool-call sessions, source code and technical writing, and it matches MXFP4 on literary prose.
dgpp serves this pack on a cluster of four DGX Sparks. exllamav3 has no Ergo architecture and transformers does not read EXL3, so other runtimes need a loader of their own. The format section describes the layout a loader has to read.
| Base model | Amazon-FMR/Ergo-bf16: 1.1 trillion parameters, 64 layers, 256 routed experts per layer |
| Format | EXL3 with the mul1 codebook, one safetensors file per layer |
| Bit widths | routed experts 2, 3 and 4 by layer, attention and shared expert 6, output head 6 |
| Average | 3.25 bits per weight |
| Size | 458.6 GB in 65 safetensors files |
| Calibration | 720 rows of 2,048 tokens |
| License | Amazon Ergo Open-Weights License |
The table compares next-token predictions with the BF16 model on text the calibration never saw: chat sessions with and without tool calls, source files, an RFC and two novels. Chat rows count only the tokens the assistant writes. KL is the divergence from BF16 in nats per token, and agreement is how often the top prediction matches BF16's. The MXFP4 columns show Amazon's 4-bit release on the same text.
| Text | Tokens | KL, this pack | KL, MXFP4 | Agreement, this pack | Agreement, MXFP4 | Perplexity, BF16 | This pack | MXFP4 |
|---|---|---|---|---|---|---|---|---|
| Chat sessions, assistant tokens | 103,416 | 0.0102 | 0.0140 | 97.72 % | 97.27 % | 2.253 | 2.258 | 2.252 |
| Tool-call sessions, assistant tokens | 24,767 | 0.0975 | 0.1104 | 92.47 % | 91.78 % | 2.738 | 2.786 | 2.799 |
| Source code | 32,752 | 0.0118 | 0.0143 | 98.72 % | 98.62 % | 1.140 | 1.148 | 1.151 |
| Technical writing | 12,282 | 0.0107 | 0.0126 | 98.88 % | 98.63 % | 1.122 | 1.131 | 1.134 |
| Literary prose | 24,564 | 0.0053 | 0.0053 | 99.42 % | 99.37 % | 1.083 | 1.087 | 1.086 |
| All of the above | 197,781 | 0.0208 | 0.0250 | 97.51 % | 97.15 % | 1.803 | 1.813 | 1.812 |
Ergo amplifies small numerical differences from layer to layer, so even a nearly lossless variant shows measurable divergence here. Read these figures against MXFP4 rather than against zero.
On the same text HawkBearPig/Ergo-EXL3-3.23bpw scores a KL of 0.0213 and 97.47 % agreement and HawkBearPig/Ergo-EXL3-3.08bpw scores a KL of 0.0237 and 97.34 % agreement over all rows.
These figures measure agreement with BF16 on text. No task benchmark has run on this pack yet.
Ergo keeps 98 % of its weights in routed experts, two matrices per expert, so their widths decide the size of the pack. The recipe gives each layer its own pair of widths and bases the choice on measurements of that layer. It spends the fewest bits in the first layers, where the model absorbs error best, and more bits where error costs most at the output. It also holds every layer's estimated expert noise at or below that of Amazon's 4-bit experts.
layer 123456789012345678901234567890123456789012345678901234567890123
up_proj 222222223333223333333333333333333344444433434344344333334344333
down_proj 333333433333333333434443434444433444443433343333333333334334333
The attention matrices, the shared expert, the dense feed-forward of layer 0 and the output head use 6 bits. Together they hold 2 % of the weights.
The quantizer is exllamav3's: LDLQ error feedback against a calibration Hessian, then trellis coding. It calibrates each layer on the output of the quantized layers before it, and each expert on the tokens the router sends to it. The 720 calibration rows mix general text and code with chat sessions in Ergo's own format, including reasoning blocks and tool calls.
Error by depth. The table gives the median relative error of the hidden state against BF16 after selected layers, over all held-out text.
| After layer | 7 | 15 | 23 | 31 | 39 | 47 | 55 | 63 |
|---|---|---|---|---|---|---|---|---|
| This pack | 2.4 % | 4.9 % | 6.0 % | 6.5 % | 7.7 % | 5.7 % | 11.8 % | 15.7 % |
| MXFP4 | 3.1 % | 5.0 % | 7.1 % | 7.0 % | 8.7 % | 6.4 % | 12.6 % | 17.9 % |
Dense matrices alone. Quantizing only the attention, shared-expert and head matrices, with every routed expert left in BF16, gives the figures below on the code, technical and prose rows. They mark the level a pack reaches with perfect experts.
| Width | KL | Agreement | Hidden-state error after the last layer |
|---|---|---|---|
| 6 bits | 0.0021 | 99.54 % | 7.1 % |
| 5 bits | 0.0025 | 99.53 % | 8.0 % |
| 4 bits | 0.0038 | 99.34 % | 10.1 % |
What each width costs. The recipe rests on a survey of every layer. The table shows the relative error of an expert's output on held-out tokens for each candidate width, beside Amazon's MXFP4 experts.
| Layer | up 2 bits | up 3 | up 4 | down 3 | down 4 | down 5 | MXFP4 | Chosen up / down |
|---|---|---|---|---|---|---|---|---|
| 1 | 0.010 | 0.004 | 0.002 | 0.022 | 0.011 | 0.005 | 0.052 | 2 / 3 |
| 8 | 0.045 | 0.021 | 0.010 | 0.045 | 0.022 | 0.011 | 0.062 | 2 / 3 |
| 16 | 0.090 | 0.043 | 0.021 | 0.067 | 0.034 | 0.017 | 0.091 | 3 / 3 |
| 24 | 0.116 | 0.057 | 0.029 | 0.070 | 0.035 | 0.018 | 0.099 | 3 / 3 |
| 32 | 0.120 | 0.060 | 0.030 | 0.056 | 0.028 | 0.014 | 0.087 | 3 / 3 |
| 40 | 0.140 | 0.066 | 0.034 | 0.065 | 0.033 | 0.017 | 0.092 | 4 / 4 |
| 48 | 0.153 | 0.077 | 0.038 | 0.066 | 0.034 | 0.017 | 0.099 | 4 / 3 |
| 56 | 0.152 | 0.078 | 0.039 | 0.058 | 0.029 | 0.015 | 0.117 | 3 / 3 |
| 63 | 0.140 | 0.066 | 0.033 | 0.091 | 0.046 | 0.024 | 0.293 | 3 / 3 |
up_proj grows expensive with depth while down_proj stays cheap, which is why the recipe sets the two widths separately. Error also costs more in late layers than in early ones. Relative to the average layer, a unit of expert error weighs 0.36 in layers 1 to 15, 0.70 in layers 16 to 31, 1.60 in layers 32 to 47 and 1.30 in layers 48 to 63.
Calibration. Doubling the calibration set lowers the expert error by 2 to 7 %. Rows in the chat format lower it by 3 to 15 % on chat and tool-call input.
Reference forward. The quantization driver runs transformers' own Ergo layer. Its forward pass matches the library's bit for bit on the dense layer and in 99.7 % of values or more on MoE layers.
Each quantized matrix X consists of four tensors.
| Tensor | Type | Shape | Role |
|---|---|---|---|
X.trellis |
int16 | [in/16, out/16, 16 × bits] |
trellis-coded 16 × 16 tiles |
X.suh |
float16 | [in] |
input-side scales |
X.svh |
float16 | [out] |
output-side scales |
X.mul1 |
int32 | scalar | codebook marker |
A loader rebuilds the weight in (in, out) orientation as diag(suh) · H · w · H · diag(svh), where w holds the decoded tiles and H is the blockwise 128-point Hadamard transform scaled by 1/√128. The bit width equals trellis.shape[2] / 16. Tile packing and the codebook follow exllamav3.
| File | Contents |
|---|---|
layer-NNN.safetensors |
attention wqkv and wo, the shared expert, and 256 routed experts as feed_forward.up_proj.<e> and feed_forward.down_proj.<e>. Layer 0 holds a dense feed-forward instead. Norms, residual gates and router tensors keep their base names and types. |
top.safetensors |
the token embedding in float32, the final norm and the output head as an EXL3 matrix |
config.json |
the base configuration plus a quantization_config block with every layer's widths |
SHA256SUMS |
checksums of all files |
tools/ |
the scripts that built and evaluated the pack |
A runtime needs EXL3 kernels for 2, 3, 4 and 6 bits.
On four nodes the routed experts take 100.8 GiB per node and the remaining weights about 5.9 GiB. The 16 global-attention layers add a key-value cache of 16 KiB per token per node in BF16, or half that in FP8.
HawkBearPig/Ergo-EXL3-3.23bpw shares these routed experts and stores the attention and shared-expert matrices at 5 bits. A decoded token then reads about 8 % fewer weight bytes, for about 3 % more KL.
HawkBearPig/Ergo-EXL3-3.08bpw uses fewer expert bits and 5-bit attention and shared-expert matrices. It takes about 5.5 GiB less memory per node on a four-node split, and a decoded token reads about 9 % fewer weight bytes, for about 14 % more KL.
The weights derive from Amazon Ergo and carry the Amazon Ergo Open-Weights License with its Acceptable Use Policy. Amazon did not produce or endorse this pack. The quantizer is exllamav3 by turboderp, under the MIT license.
有文件?提交种子。
发布种子top.safetensors 9.5 GiBlayer-035.safetensors 8.2 GiBlayer-036.safetensors 8.2 GiBlayer-037.safetensors 8.2 GiBlayer-038.safetensors 8.2 GiBlayer-040.safetensors 8.2 GiBlayer-057.safetensors 8.2 GiBlayer-060.safetensors 8.2 GiBlayer-019.safetensors 7.2 GiBlayer-021.safetensors 7.2 GiBlayer-022.safetensors 7.2 GiBlayer-023.safetensors 7.2 GiBlayer-025.safetensors 7.2 GiBlayer-027.safetensors 7.2 GiBlayer-028.safetensors 7.2 GiBlayer-029.safetensors 7.2 GiBlayer-030.safetensors 7.2 GiBlayer-031.safetensors 7.2 GiBlayer-034.safetensors 7.2 GiBlayer-044.safetensors 7.2 GiBlayer-039.safetensors 7.2 GiBlayer-043.safetensors 7.2 GiBlayer-045.safetensors 7.2 GiBlayer-047.safetensors 7.2 GiBlayer-048.safetensors 7.2 GiBlayer-050.safetensors 7.2 GiBlayer-051.safetensors 7.2 GiBlayer-059.safetensors 7.2 GiBlayer-010.safetensors 6.2 GiBlayer-011.safetensors 6.2 GiBlayer-012.safetensors 6.2 GiBlayer-015.safetensors 6.2 GiBlayer-016.safetensors 6.2 GiBlayer-017.safetensors 6.2 GiBlayer-018.safetensors 6.2 GiBlayer-020.safetensors 6.2 GiBlayer-024.safetensors 6.2 GiBlayer-026.safetensors 6.2 GiBlayer-032.safetensors 6.2 GiBlayer-033.safetensors 6.2 GiBlayer-041.safetensors 6.2 GiBlayer-042.safetensors 6.2 GiBlayer-046.safetensors 6.2 GiBlayer-049.safetensors 6.2 GiBlayer-052.safetensors 6.2 GiBlayer-053.safetensors 6.2 GiBlayer-054.safetensors 6.2 GiBlayer-055.safetensors 6.2 GiBlayer-056.safetensors 6.2 GiBlayer-058.safetensors 6.2 GiBlayer-061.safetensors 6.2 GiBlayer-062.safetensors 6.2 GiBlayer-063.safetensors 6.2 GiBlayer-007.safetensors 6.2 GiBlayer-009.safetensors 6.2 GiBlayer-013.safetensors 5.2 GiBlayer-014.safetensors 5.2 GiBlayer-001.safetensors 5.2 GiBlayer-002.safetensors 5.2 GiBlayer-003.safetensors 5.2 GiBlayer-004.safetensors 5.2 GiBlayer-005.safetensors 5.2 GiBlayer-006.safetensors 5.2 GiBlayer-008.safetensors 5.2 GiBlayer-000.safetensors 492 MiB