breakoutmodels.dev Version v0.12.5+4412b97

New and rising models on the Hub, measured where we can

growth 0 downloads a day, proxy
local history0snapshots
size bucketnano
freshness100%
Back to the list
953M parameters, read from safetensors
0downloads a day proxy
–likes a day
0likes
0downloads in 30d
–downloads, all time
0Hub trending score
1.8GBrepo size
1hage
0Spaces using it

Change over time

No local snapshots of this repo yet, so the growth above is the documented proxy.

Model card

The authors' README from huggingface.co. Benchmarks and claims in it are theirs, not breakoutmodels measurements.

Ergo DSpark EXL3 4-bit

Amazon's Ergo DSpark draft model with its layers at 4 bits a weight, in the EXL3 format of exllamav3. The pack takes 1.91 GB where the BF16 checkpoint takes 6.48 GB.

A draft model proposes the next few tokens and Ergo checks them in one pass. Ergo decides every token, so a quantized draft changes how fast text arrives and never what the text says. A draft step reads all of the draft's weights, and a smaller draft makes that step shorter.

dgpp serves this pack beside the Ergo EXL3 packs on a cluster of four DGX Sparks. HawkBearPig/Ergo-dspark-EXL3-4bit-english-code is the same draft with an output head of its own over English and code tokens, which makes a draft step shorter still.

At a glance

Base model Amazon-FMR/Ergo-dspark: 3.24 B parameters, five decoder layers of width 8,192
Format EXL3 with the mul1 codebook, one safetensors file
Bit widths layers 4, tap projection 6
Quantized weights 3.10 B of the checkpoint's 3.24 B
Size 1.91 GB
Calibration 42 sequences of 1,024 tokens of source code, technical writing, prose and chat sessions
License Amazon Ergo Open-Weights License

Accuracy

The measure that matters for a draft is how many of its proposals the target accepts. The table scores the draft on text the calibration never saw: source code, technical writing, prose and chat sessions, 10,240 tokens in all. A block of seven proposals starts at every position of the text. The states the draft reads come from the Ergo 3.25 bpw pack.

Text Blocks Accepted proposals, BF16 draft Accepted proposals, this pack Agreement on the first proposal Agreement on the seventh
All text 10,160 2.31 2.30 97.2 % 86.6 %
Chat sessions 1,016 3.09 3.09 95.9 % 83.1 %
Source code 4,064 3.36 3.36 98.6 % 90.0 %
Technical writing 3,048 1.18 1.17 96.2 % 82.9 %
Prose 2,032 1.50 1.49 96.4 % 87.4 %

Accepted proposals counts the leading proposals of a block that equal the text's own next tokens. Agreement is how often a proposal equals the BF16 draft's proposal at the same place.

Serving

Name the pack as the draft in a dgpp deployment file:

"engine": {
  "dflash_model": "HawkBearPig/Ergo-dspark-EXL3-4bit",
  "mtp_schedule": true
}

Each node loads its slice of every matrix as stored. The draft's activations are large, and an EXL3 product keeps its rotated input in half precision. The pack therefore moves a power of two from the input factor to the output factor of the ten matrices that need it, which leaves each matrix unchanged. exl3_input_shift in config.json lists the shifts, and quantization_report.json lists the room each matrix keeps above the largest input seen in the calibration text.

Measured on four DGX Sparks with the Ergo 3.25 bpw pack, FP8 key and value rows and a verify depth that follows the draft's confidence. Ergo without a draft writes 25.5 tokens/s at one request and 46.5 at four. The text is the same token for token in every column.

BF16 checkpoint, FP8 at load This pack English and code head
Draft step, one request 7.5 ms 6.1 ms 4.3 ms
Tokens/s, one request, code prompt 39.9 40.7 42.1
Tokens/s, one request, chat answer 36.9 37.9 38.9
Tokens/s, four requests 63.2 64.5 65.5

Format

Every quantized matrix is an EXL3 quadruple. A matrix NAME with weight [N, K] is stored as NAME.trellis (int16, [K/16, N/16, 16 x bits]), NAME.suh (float16, [K]), NAME.svh (float16, [N]) and the scalar marker NAME.mul1.

Matrix N K Bits
layers.N.self_attn.qkv_proj 10,240 8,192 4
layers.N.self_attn.o_proj 8,192 8,192 4
layers.N.mlp.gate_proj 16,384 8,192 4
layers.N.mlp.up_proj 16,384 8,192 4
layers.N.mlp.down_proj 8,192 16,384 4
fc 8,192 40,960 6

qkv_proj stacks the rows of the checkpoint's q_proj, k_proj and v_proj in that order, since the three read the same input. The norms, the Markov head and the confidence head keep their BF16 tensors and their checkpoint names. config.json is Amazon's with an exl3 object that names each class's width.

The draft's layers are decoder layers: a row of a block reads the context before the block and the block's rows up to its own.

How the pack was made

Each matrix is quantized with exllamav3's EXL3 quantizer against the inputs it sees in a draft block. The target's states after layers 1, 16, 31, 46 and 61 come from the Ergo 3.25 bpw pack as dgpp serves it, and a reference forward of the draft runs blocks of seven rows over them. The tap projection and the first layer are calibrated on the BF16 stream, and every later layer on the stream of the layers already quantized, so a layer absorbs the error before it. The q, k and v rows share one input and are quantized as one matrix.

Limitations

The pack is a draft model. It produces no text on its own and needs Ergo as the target.

An input far outside the range of the calibration text can overflow a product's half-precision input for one block. Ergo rejects that block's proposals, and the text is unaffected.

The accuracy figures come from one calibration set and one held-out set of the same kinds of text. Acceptance on other text follows that text.

The format is this pack's own layout of EXL3 tensors. exllamav3 has no DSpark architecture, and transformers does not read EXL3.

License

Amazon Ergo Open-Weights License. To verify the files, run sha256sum -c SHA256SUMS in the pack's directory.