Skip to content

Reproductions

This page compares numbers published in the papers behind economize's techniques with the same quantities measured with economize on the same model. Each study names the model, the hardware, the metric, the command that produced the measurement and a result file with every configuration and every metric of the run. The tables are generated when the site is built (docs/hooks/reproductions.py) from the data file docs/data/reproductions.yaml, which contributors extend by pull request.

A study lists only the settings for which the paper's number appears in this documentation, and every economize number is a measurement. Results over several calibration seeds give the mean and the sample standard deviation. Where the unmodified model already scores differently from the paper (for example because the evaluation text differs), the change from the unmodified model is the quantity to compare, and the tables show it next to the absolute values.

The studies below were measured with the evaluation harness of the economize authors. The harness is not yet public, so each study's command names the harness's entry point. The result files list the full configuration of every variant, which together with the configuration lines of each study is enough to rerun a study with the public API (economize.apply or economize.load, see Weights and activations and Drafters). economize was released under the name effkit before version 0.3.0, so the result files of version 0.2.0 were produced by effkit 0.2.0; their copies here rename that key. The quantization studies used the dequantized reference numerics of each format (backend="fake" of economize 0.7 and earlier, since removed), which reproduce the quantized model's outputs without its memory saving, so they measure quality only. A rerun with the current API uses a kernel backend (backend="auto"), whose outputs match the reference to kernel rounding. The drafting studies measure wall-clock speed, and Benchmarks explains why the speed of a drafter depends on the stack around it.

Study Technique Model Hardware Paper Result
4-bit weight quantization of Llama-2-7B quant meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-40GB (AWQ row NVIDIA RTX A6000) AWQ, Table 4 B1.json
3-bit weight quantization of Llama-2-7B quant meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-40GB (AWQ row NVIDIA RTX A6000) AWQ, Table 4 B2.json
4-bit weight quantization of LLaMA-7B quant huggyllama/llama-7b (fp16) NVIDIA A100-SXM4-40GB AWQ, Table 4 B3.json
Per-channel GPTQ quantization of LLaMA-7B quant huggyllama/llama-7b (fp16) NVIDIA A100-SXM4-40GB GPTQ repository README, LLaMA table B4.json
4-bit weight quantization of Llama-3-8B quant meta-llama/Meta-Llama-3-8B (fp16) NVIDIA A100-SXM4-40GB QServe, Table 2 B5.json
4-bit weight quantization of Mistral-7B quant mistralai/Mistral-7B-v0.1 (fp16) NVIDIA A100-SXM4-40GB QServe, Table 2 B5.json
AWQ on Mistral-7B-Instruct quant mistralai/Mistral-7B-Instruct-v0.2 (fp16) NVIDIA A100-SXM4-40GB AWQ, Table 5 B6.json
4-bit weight quantization of Llama-2-7B on GSM8K quant meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-40GB AWQ, Table 8 B7.json
FP8 weights and activations in Llama-3.1-8B quant meta-llama/Llama-3.1-8B (bf16) NVIDIA RTX PRO 6000 Blackwell Server Edition torchao, Table 4 B8.json
Unstructured and 2:4 pruning of LLaMA-7B prune huggyllama/llama-7b (fp16) NVIDIA A100-SXM4-40GB Wanda, Table 3 B13.json
Unstructured and N:M pruning of Llama-2-7B prune meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-80GB Wanda, Table 3 B12.json
Zero-shot accuracy of pruned Llama-2-7B prune meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-80GB Wanda, Table 2 B14.json
Low-rank compression of LLaMA-7B lowrank huggyllama/llama-7b (fp16) NVIDIA A100-SXM4-80GB SVD-LLM, Table 1 B19.json
Low-rank compression of LLaMA-7B on C4 lowrank huggyllama/llama-7b (fp16) NVIDIA A100-SXM4-80GB SVD-LLM, Table 1 B19.json
Low-rank compression of other 7B models lowrank meta-llama/Llama-2-7b-hf, mistralai/Mistral-7B-v0.1, lmsys/vicuna-7b-v1.3 (fp16) NVIDIA A100-SXM4-80GB SVD-LLM, results on other models, (W) rows B19.json
Block removal in Llama-2-7B on WikiText-2 depth_prune meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-40GB SLEB, Table 7 B17.json
Block removal in Llama-2-7B on C4 depth_prune meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-40GB SLEB, Table 1 B17.json
Activation sparsity in Llama-3-8B teal meta-llama/Meta-Llama-3-8B (fp16) NVIDIA A100-SXM4-40GB TEAL, Table 1 B21.json
Activation sparsity in Llama-2-7B teal meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-40GB TEAL, Table 1 B21.json
Medusa heads on Vicuna-7B medusa lmsys/vicuna-7b-v1.3 (fp16) NVIDIA A100-SXM4-40GB Spec-Bench leaderboard A5.json
Speculative decoding of Vicuna-7B with a 68M draft model draft_model lmsys/vicuna-7b-v1.3 (fp16) NVIDIA A100-SXM4-40GB Spec-Bench leaderboard A7.json
EAGLE-3 on Llama-3.1-8B-Instruct eagle3 meta-llama/Llama-3.1-8B-Instruct (fp16) NVIDIA A100-SXM4-40GB EAGLE-3, Table 1 A1.json
Prompt lookup decoding of Vicuna-7B lookup lmsys/vicuna-7b-v1.3 (fp16) NVIDIA A100-SXM4-40GB Spec-Bench leaderboard A8.json
EAGLE-3 speculator from the speculators format on Llama-3.1-8B-Instruct eagle3 meta-llama/Llama-3.1-8B-Instruct (bf16) NVIDIA A100-SXM4-40GB RedHatAI/Llama-3.1-8B-Instruct-speculator.eagle3 model card A2.json
KV-cache eviction in Llama-3-8B-Instruct kv_evict meta-llama/Meta-Llama-3-8B-Instruct (bf16) NVIDIA A100-SXM4-80GB PyramidKV, Table 11 B27.json
2-bit and 4-bit KV cache in Llama-2-7B on CoQA kivi meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-80GB KIVI, Table 3 B24.json
2-bit and 4-bit KV cache in Llama-2-7B on GSM8K kivi meta-llama/Llama-2-7b-hf (fp16) NVIDIA A100-SXM4-80GB KIVI, Table 3 B24.json
2-bit and 4-bit KV cache in Mistral-7B on CoQA kivi mistralai/Mistral-7B-v0.1 (fp16) NVIDIA A100-SXM4-80GB KIVI, Table 3 B24.json
2-bit and 4-bit KV cache in Mistral-7B on GSM8K kivi mistralai/Mistral-7B-v0.1 (fp16) NVIDIA A100-SXM4-80GB KIVI, Table 3 B24.json
FP8 KV cache in Llama-3-8B-Instruct on GSM8K kv_fp8 meta-llama/Meta-Llama-3-8B-Instruct (bf16) NVIDIA A100-SXM4-40GB RedHatAI/Meta-Llama-3-8B-Instruct-FP8-KV model card B26.json
FP8 KV cache in Mistral-7B on WikiText-2 kv_fp8 mistralai/Mistral-7B-v0.3 (bf16) NVIDIA A100-SXM4-40GB JoLT, Table 2 B26.json

4-bit weight quantization of Llama-2-7B

  • Technique: quant
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB (AWQ row NVIDIA RTX A6000)
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: AWQ, Table 4
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), 0.5.0 (AWQ row, seeds 0 to 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2), 2026-11-18 (AWQ row)
  • Command: effeval repro run B1
  • Result file: data/results/B1.json
Setting Paper economize Paper change economize change
Unmodified model 5.47 5.47
RTN, INT4, group size 128 5.73 5.72 +0.26 +0.25
GPTQ, INT4, group size 128 5.69 5.67 ± 0.04 +0.22 +0.19
AWQ, INT4, group size 128 5.60 5.61 ± 0.01 +0.13 +0.13

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Weights were quantized with the dequantized reference numerics of economize 0.7 and earlier (backend "fake", since removed), so the study measures quality, not speed; a rerun uses a kernel backend. GPTQ calibrates on 128 random C4 sequences of 2048 tokens and AWQ on 128 blocks of 512 tokens from the Pile validation set; the three seeds draw different samples.

Configurations:

  • RTN, INT4, group size 128: QuantConfig(format="int4", method="rtn", group_size=128, symmetric=False, backend="fake")
  • GPTQ, INT4, group size 128: QuantConfig(format="int4", method="gptq", group_size=128, symmetric=False, act_order=False, true_sequential=True, percdamp=0.01, backend="fake")
  • AWQ, INT4, group size 128: QuantConfig(format="int4", method="awq", group_size=128, symmetric=False, awq_grid=20, awq_clip=True, backend="fake")

3-bit weight quantization of Llama-2-7B

  • Technique: quant
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB (AWQ row NVIDIA RTX A6000)
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: AWQ, Table 4
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), 0.5.0 (AWQ row, seeds 0 to 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2), 2026-11-18 (AWQ row)
  • Command: effeval repro run B2
  • Result file: data/results/B2.json
Setting Paper economize Paper change economize change
Unmodified model 5.47 5.47
RTN, INT3, group size 128 6.66 6.66 +1.19 +1.19
GPTQ, INT3, group size 128 6.43 6.47 ± 0.06 +0.96 +1.00
AWQ, INT3, group size 128 6.24 6.24 ± 0.01 +0.77 +0.77

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Same setup as the 4-bit study. The authors' code (llm-awq) gives 6.25 for AWQ INT3 on the same weights. AWQ rounds in the precision of the weights as llm-awq does (fp16 for this model); with float32 rounding economize 0.4 measured 6.31.

Configurations:

  • RTN, INT3, group size 128: QuantConfig(format="int3", method="rtn", group_size=128, symmetric=False, backend="fake")
  • GPTQ, INT3, group size 128: QuantConfig(format="int3", method="gptq", group_size=128, symmetric=False, act_order=False, true_sequential=True, percdamp=0.01, backend="fake")
  • AWQ, INT3, group size 128: QuantConfig(format="int3", method="awq", group_size=128, symmetric=False, awq_grid=20, awq_clip=True, backend="fake")

4-bit weight quantization of LLaMA-7B

  • Technique: quant
  • Model: huggyllama/llama-7b (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: AWQ, Table 4
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B3
  • Result file: data/results/B3.json
Setting Paper economize Paper change economize change
Unmodified model 5.68 5.68
RTN, INT4, group size 128 5.96 5.96 +0.28 +0.29
GPTQ, INT4, group size 128 6.22 6.51 ± 0.34 +0.54 +0.83
GPTQ-R, INT4, group size 128 5.83 5.84 ± 0.02 +0.15 +0.16
AWQ, INT4, group size 128 5.78 5.81 ± 0.01 +0.10 +0.13

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Same setup as the Llama-2-7B studies. GPTQ-R is GPTQ with act-order reordering and static groups. GPTQ without reordering varies strongly with the calibration draw on this model: calibration seeds 0 to 4 give 6.24 to 6.89, and the paper's 6.22 lies just below that range. The AWQ row was measured before economize 0.5.0, when AWQ rounded in float32; it now rounds in fp16 as llm-awq does, which lowered AWQ INT3 on Llama-2-7B from 6.31 to 6.24.

Configurations:

  • RTN, INT4, group size 128: QuantConfig(format="int4", method="rtn", group_size=128, symmetric=False, backend="fake")
  • GPTQ, INT4, group size 128: QuantConfig(format="int4", method="gptq", group_size=128, symmetric=False, act_order=False, true_sequential=True, percdamp=0.01, backend="fake")
  • GPTQ-R, INT4, group size 128: QuantConfig(format="int4", method="gptq", group_size=128, symmetric=False, act_order=True, static_groups=True, true_sequential=True, percdamp=0.01, backend="fake")
  • AWQ, INT4, group size 128: QuantConfig(format="int4", method="awq", group_size=128, symmetric=False, awq_grid=20, awq_clip=True, backend="fake")

Per-channel GPTQ quantization of LLaMA-7B

  • Technique: quant
  • Model: huggyllama/llama-7b (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: GPTQ repository README, LLaMA table
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B4
  • Result file: data/results/B4.json
Setting Paper economize Paper change economize change
Unmodified model 5.68 5.68
RTN, INT4, per channel 6.29 6.29 +0.61 +0.61
GPTQ, INT4, per channel 6.09 6.14 ± 0.07 +0.41 +0.46
RTN, INT3, per channel 25.54 25.58 +19.86 +19.90
GPTQ, INT3, per channel 8.07 8.11 ± 0.07 +2.39 +2.43
GPTQ, INT3, group size 128 6.61 6.51 ± 0.05 +0.93 +0.83

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Weights are quantized per output channel unless a group size is given, and GPTQ uses act-order and true-sequential quantization as in the README. GPTQ calibrates on 128 random C4 sequences of 2048 tokens. INT4 GPTQ at calibration seeds 0 to 4 gives 6.22, 6.07, 6.13, 6.15 and 6.05.

Configurations:

  • RTN, INT4, per channel: QuantConfig(format="int4", method="rtn", group_size=None, symmetric=False, backend="fake")
  • GPTQ, INT4, per channel: QuantConfig(format="int4", method="gptq", group_size=None, symmetric=False, act_order=True, true_sequential=True, percdamp=0.01, backend="fake")
  • RTN, INT3, per channel: QuantConfig(format="int3", method="rtn", group_size=None, symmetric=False, backend="fake")
  • GPTQ, INT3, per channel: QuantConfig(format="int3", method="gptq", group_size=None, symmetric=False, act_order=True, true_sequential=True, percdamp=0.01, backend="fake")
  • GPTQ, INT3, group size 128: QuantConfig(format="int3", method="gptq", group_size=128, symmetric=False, act_order=True, static_groups=False, true_sequential=True, percdamp=0.01, backend="fake")

4-bit weight quantization of Llama-3-8B

  • Technique: quant
  • Model: meta-llama/Meta-Llama-3-8B (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: QServe, Table 2
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B5
  • Result file: data/results/B5.json
Setting Paper economize Paper change economize change
Unmodified model 6.14 6.14
GPTQ-R, INT4, group size 128 6.56 6.56 ± 0.01 +0.42 +0.42
AWQ, INT4, group size 128 6.54 6.55 ± 0.01 +0.40 +0.42

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

GPTQ-R is GPTQ with act-order reordering and static groups. GPTQ calibrates on 128 random C4 sequences of 2048 tokens and AWQ on 128 blocks of 512 tokens from the Pile validation set; the three seeds draw different samples. The AWQ row was measured before economize 0.5.0, when AWQ rounded in float32 instead of in the weights' precision.

Configurations:

  • GPTQ-R, INT4, group size 128: QuantConfig(format="int4", method="gptq", group_size=128, symmetric=False, act_order=True, static_groups=True, true_sequential=True, percdamp=0.01, backend="fake")
  • AWQ, INT4, group size 128: QuantConfig(format="int4", method="awq", group_size=128, symmetric=False, awq_grid=20, awq_clip=True, backend="fake")

4-bit weight quantization of Mistral-7B

  • Technique: quant
  • Model: mistralai/Mistral-7B-v0.1 (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: QServe, Table 2
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B5
  • Result file: data/results/B5.json
Setting Paper economize Paper change economize change
Unmodified model 5.25 5.25
GPTQ-R, INT4, group size 128 5.39 5.37 ± 0.01 +0.14 +0.12
AWQ, INT4, group size 128 5.37 5.37 ± 0.004 +0.12 +0.12

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Same setup as the Llama-3-8B study.

Configurations:

  • GPTQ-R, INT4, group size 128: QuantConfig(format="int4", method="gptq", group_size=128, symmetric=False, act_order=True, static_groups=True, true_sequential=True, percdamp=0.01, backend="fake")
  • AWQ, INT4, group size 128: QuantConfig(format="int4", method="awq", group_size=128, symmetric=False, awq_grid=20, awq_clip=True, backend="fake")

AWQ on Mistral-7B-Instruct

  • Technique: quant
  • Model: mistralai/Mistral-7B-Instruct-v0.2 (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: AWQ, Table 5
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-10 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B6
  • Result file: data/results/B6.json
Setting Paper economize Paper change economize change
Unmodified model 4.14 5.94
AWQ, INT4, group size 128 4.30 6.06 ± 0.01 +0.16 +0.12
AWQ, INT3, group size 128 4.83 6.56 ± 0.02 +0.69 +0.62

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

The paper scores this model under a protocol that economize does not match (dense 4.14 against 5.94), so the changes from dense are the quantities to compare: +0.12 and +0.62 here against +0.16 and +0.69 in the paper. AWQ calibrates on 128 blocks of 512 tokens from the Pile validation set and rounded in float32 at the time of these runs (before economize 0.5.0).

Configurations:

  • AWQ, INT4, group size 128: QuantConfig(format="int4", method="awq", group_size=128, symmetric=False, backend="fake")
  • AWQ, INT3, group size 128: QuantConfig(format="int3", method="awq", group_size=128, symmetric=False, backend="fake")

4-bit weight quantization of Llama-2-7B on GSM8K

  • Technique: quant
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: GSM8K accuracy (%), lm-eval gsm8k, 5 shots, strict match (higher is better)
  • Paper: AWQ, Table 8
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-10 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B7
  • Result file: data/results/B7.json
Setting Paper economize Paper change economize change
Unmodified model 13.87 13.27
RTN, INT4, group size 128 11.07 11.90 -2.80 -1.37
GPTQ, INT4, group size 128 12.13 12.00 ± 0.24 -1.74 -1.26
AWQ, INT4, group size 128 13.57 12.59 ± 0.42 -0.30 -0.68

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

The paper does not state the number of shots or the prompt. With 1319 problems one score has a standard error of about 0.9 points. Calibration as in the WikiText-2 studies; AWQ rounded in float32 at the time of these runs (before economize 0.5.0).

Configurations:

  • RTN, INT4, group size 128: QuantConfig(format="int4", method="rtn", group_size=128, symmetric=False, backend="fake")
  • GPTQ, INT4, group size 128: QuantConfig(format="int4", method="gptq", group_size=128, symmetric=False, act_order=False, true_sequential=True, percdamp=0.01, backend="fake")
  • AWQ, INT4, group size 128: QuantConfig(format="int4", method="awq", group_size=128, symmetric=False, awq_grid=20, awq_clip=True, backend="fake")

FP8 weights and activations in Llama-3.1-8B

  • Technique: quant
  • Model: meta-llama/Llama-3.1-8B (bf16)
  • Hardware: NVIDIA RTX PRO 6000 Blackwell Server Edition
  • Metric: HellaSwag zero-shot accuracy (%), lm-eval (higher is better)
  • Paper: torchao, Table 4
  • economize: 0.2.0, measured 2026-10-09
  • Command: effeval repro run B8
  • Result file: data/results/B8.json
Setting Paper economize Paper change economize change
Unmodified model 60.01 60.73
FP8 weights and dynamic FP8 activations, per-row scales 59.86 60.50 -0.15 -0.24

Weights and activations are cast to fp8 with per-row scales through torchao. WikiText word perplexity rises from 7.546 to 7.615 (paper 7.33 to 7.41). The paper measures a 1.26x decoding speedup on an H100 with torch.compile; economize runs the same configuration under CUDA graphs without compilation and measures 0.98x.

Configurations:

  • FP8 weights and dynamic FP8 activations, per-row scales: QuantConfig(format="fp8", method="rtn", group_size=None, backend="torchao", fp8_activations=True)

Unstructured and 2:4 pruning of LLaMA-7B

  • Technique: prune
  • Model: huggyllama/llama-7b (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: Wanda, Table 3
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B13
  • Result file: data/results/B13.json
Setting Paper economize Paper change economize change
Unmodified model 5.68 5.68
Magnitude, 50% unstructured 17.29 17.22 +11.61 +11.54
SparseGPT, 50% unstructured 7.22 7.27 ± 0.07 +1.54 +1.59
Wanda, 50% unstructured 7.26 7.26 ± 0.01 +1.58 +1.58
Magnitude, 2:4 42.13 42.55 +36.45 +36.88
SparseGPT, 2:4 11.00 11.13 ± 0.28 +5.32 +5.46
Wanda, 2:4 11.53 11.60 ± 0.08 +5.85 +5.92

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

SparseGPT and Wanda calibrate on 128 random C4 sequences of 2048 tokens; magnitude pruning needs no calibration data and is run once.

Configurations:

  • Magnitude, 50% unstructured: PruneConfig(method="magnitude", sparsity=0.5)
  • SparseGPT, 50% unstructured: PruneConfig(method="sparsegpt", sparsity=0.5)
  • Wanda, 50% unstructured: PruneConfig(method="wanda", sparsity=0.5)
  • Magnitude, 2:4: PruneConfig(method="magnitude", sparsity="2:4")
  • SparseGPT, 2:4: PruneConfig(method="sparsegpt", sparsity="2:4")
  • Wanda, 2:4: PruneConfig(method="wanda", sparsity="2:4")

Unstructured and N:M pruning of Llama-2-7B

  • Technique: prune
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: WikiText-2 test perplexity, 4096-token windows (lower is better)
  • Paper: Wanda, Table 3
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B12
  • Result file: data/results/B12.json
Setting Paper economize Paper change economize change
Unmodified model 5.12 5.12
Magnitude, 50% unstructured 14.89 14.80 +9.77 +9.68
SparseGPT, 50% unstructured 6.51 6.52 ± 0.02 +1.39 +1.40
Wanda, 50% unstructured 6.42 6.46 ± 0.01 +1.30 +1.34
Magnitude, 4:8 16.48 16.53 +11.36 +11.41
SparseGPT, 4:8 8.12 7.94 ± 0.06 +3.00 +2.83
Wanda, 4:8 7.97 8.06 ± 0.01 +2.85 +2.94
Magnitude, 2:4 54.59 54.38 +49.47 +49.27
SparseGPT, 2:4 10.17 10.25 ± 0.16 +5.05 +5.14
Wanda, 2:4 11.02 11.29 ± 0.10 +5.90 +6.18

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

SparseGPT and Wanda calibrate on 128 random C4 sequences of 4096 tokens, the model's context, as in Wanda's code; magnitude pruning needs no calibration data and is run once. The authors' code (locuslab/wanda) on the same GPU and weights gives 11.36, 11.35 and 11.23 for Wanda 2:4 at calibration seeds 0 to 2, 6.46 for Wanda 50% and 10.23 for SparseGPT 2:4, so the gap of Wanda 2:4 to the paper comes from the hardware and software stack.

Configurations:

  • Magnitude, 50% unstructured: PruneConfig(method="magnitude", sparsity=0.5)
  • SparseGPT, 50% unstructured: PruneConfig(method="sparsegpt", sparsity=0.5)
  • Wanda, 50% unstructured: PruneConfig(method="wanda", sparsity=0.5)
  • Magnitude, 4:8: PruneConfig(method="magnitude", sparsity="4:8")
  • SparseGPT, 4:8: PruneConfig(method="sparsegpt", sparsity="4:8")
  • Wanda, 4:8: PruneConfig(method="wanda", sparsity="4:8")
  • Magnitude, 2:4: PruneConfig(method="magnitude", sparsity="2:4")
  • SparseGPT, 2:4: PruneConfig(method="sparsegpt", sparsity="2:4")
  • Wanda, 2:4: PruneConfig(method="wanda", sparsity="2:4")

Zero-shot accuracy of pruned Llama-2-7B

  • Technique: prune
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: Mean zero-shot accuracy (%) over BoolQ, RTE, HellaSwag, WinoGrande, ARC-easy, ARC-challenge and OpenBookQA (lm-eval, plain accuracy) (higher is better)
  • Paper: Wanda, Table 2
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B14
  • Result file: data/results/B14.json
Setting Paper economize Paper change economize change
Unmodified model 59.71 60.27
Magnitude, 50% unstructured 51.14 51.57 -8.57 -8.70
SparseGPT, 50% unstructured 56.24 56.04 ± 0.22 -3.47 -4.23
Wanda, 50% unstructured 56.24 56.17 ± 0.13 -3.47 -4.10
Magnitude, 2:4 45.58 47.45 -14.13 -12.82
SparseGPT, 2:4 50.94 50.64 ± 0.78 -8.77 -9.63
Wanda, 2:4 48.75 48.78 ± 0.04 -10.96 -11.49

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Calibration as in the WikiText-2 study of this model. The paper used lm-eval commit df3da98c, and the current lm-eval scores the dense model 0.56 points higher (BoolQ, RTE and OpenBookQA rise). The authors' code with that lm-eval commit on the same weights gives 59.72 for the dense model and 47.47 for magnitude 2:4, so the gap of magnitude 2:4 to the paper also appears with the authors' code. RTE has 277 examples and moves the mean by up to 1.4 points between settings.

Configurations:

  • Magnitude, 50% unstructured: PruneConfig(method="magnitude", sparsity=0.5)
  • SparseGPT, 50% unstructured: PruneConfig(method="sparsegpt", sparsity=0.5)
  • Wanda, 50% unstructured: PruneConfig(method="wanda", sparsity=0.5)
  • Magnitude, 2:4: PruneConfig(method="magnitude", sparsity="2:4")
  • SparseGPT, 2:4: PruneConfig(method="sparsegpt", sparsity="2:4")
  • Wanda, 2:4: PruneConfig(method="wanda", sparsity="2:4")

Low-rank compression of LLaMA-7B

  • Technique: lowrank
  • Model: huggyllama/llama-7b (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: SVD-LLM, Table 1
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B19
  • Result file: data/results/B19.json
Setting Paper economize Paper change economize change
Unmodified model 5.68 5.58
SVD-LLM, 20% parameter compression 7.94 7.66 ± 0.04 +2.26 +2.08

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Calibration uses 256 sequences of 2048 tokens from the WikiText-2 training split, which favours the WikiText-2 test perplexity. The dense baseline also differs from the paper's, so the change from dense is the closer comparison.

Configurations:

  • SVD-LLM, 20% parameter compression: LowRankConfig(method="svd_llm", compression=0.2, sequential=False, offload=True)

Low-rank compression of LLaMA-7B on C4

  • Technique: lowrank
  • Model: huggyllama/llama-7b (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: C4 validation perplexity, 2048-token windows (lower is better)
  • Paper: SVD-LLM, Table 1
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B19
  • Result file: data/results/B19.json
Setting Paper economize Paper change economize change
Unmodified model 7.34 7.34
SVD-LLM, 20% parameter compression 15.84 16.08 ± 0.10 +8.50 +8.74

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Calibration on 256 windows of the WikiText-2 training split, as in the other SVD-LLM studies.

Configurations:

  • SVD-LLM, 20% parameter compression: LowRankConfig(method="svd_llm", compression=0.2, sequential=False, offload=True)

Low-rank compression of other 7B models

  • Technique: lowrank
  • Model: meta-llama/Llama-2-7b-hf, mistralai/Mistral-7B-v0.1, lmsys/vicuna-7b-v1.3 (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: SVD-LLM, results on other models, (W) rows
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-09 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B19
  • Result file: data/results/B19.json
Setting Paper economize
Llama-2-7B, 20% parameter compression 8.50 8.11 ± 0.05
Mistral-7B, 20% parameter compression 10.21 7.30 ± 0.04
Vicuna-7B v1.3, 20% parameter compression 8.41 9.49 ± 0.03

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Calibration on 256 windows of the WikiText-2 training split, which favours the WikiText-2 test perplexity. The paper lists only the compressed models; the dense models score 5.393 (Llama-2-7B), 5.149 (Mistral-7B) and 6.773 (Vicuna-7B) under economize, against 5.47 and 5.25 in the paper for the first two. The paper does not state its Vicuna version.

Configurations:

  • Llama-2-7B, 20% parameter compression: LowRankConfig(method="svd_llm", compression=0.2, sequential=False, offload=True)
  • Mistral-7B, 20% parameter compression: LowRankConfig(method="svd_llm", compression=0.2, sequential=False, offload=True)
  • Vicuna-7B v1.3, 20% parameter compression: LowRankConfig(method="svd_llm", compression=0.2, sequential=False, offload=True)

Block removal in Llama-2-7B on WikiText-2

  • Technique: depth_prune
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, 2048-token windows (lower is better)
  • Paper: SLEB, Table 7
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-10 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B17
  • Result file: data/results/B17.json
Setting Paper economize Paper change economize change
Unmodified model 5.47 5.47
SLEB, 10% of blocks (4 of 32) 6.95 6.85 ± 0.09 +1.48 +1.38
SLEB, 20% of blocks (7 of 32) 9.14 8.93 ± 0.21 +3.67 +3.45

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

SLEB keeps the first and the last block and searches the others on 128 rows of the WikiText-2 training split. Seed 0 takes the rows that SLEB's code takes and matches the paper (6.953 at 10%, 9.142 at 20%), removing blocks 11, 14, 23 and 24 at 10% and blocks 10, 11, 14, 15, 23, 24 and 27 at 20% (0-indexed). Seeds 1 and 2 draw other rows and find blocks whose removal costs less. Prefill at 20% runs 1.274 times as fast as the dense model (paper 1.28).

Configurations:

  • SLEB, 10% of blocks (4 of 32): DepthPruneConfig(method="sleb", num_blocks=4)
  • SLEB, 20% of blocks (7 of 32): DepthPruneConfig(method="sleb", num_blocks=7)

Block removal in Llama-2-7B on C4

  • Technique: depth_prune
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: C4 validation perplexity, 2048-token windows (lower is better)
  • Paper: SLEB, Table 1
  • economize: 0.2.0 (calibration seed 0), 0.3.1 (calibration seeds 1 and 2), measured 2026-10-10 (seed 0), 2026-10-12 (seeds 1 and 2)
  • Command: effeval repro run B17
  • Result file: data/results/B17.json
Setting Paper economize Paper change economize change
Unmodified model 7.26 7.26
SLEB, 10% of blocks (4 of 32) 9.34 9.20 ± 0.12 +2.08 +1.94
SLEB, 20% of blocks (7 of 32) 12.32 11.82 ± 0.48 +5.06 +4.56

An entry with ± is the mean and sample standard deviation over 3 calibration seeds.

Same block search as the WikiText-2 study; C4 follows SLEB's c4-new protocol. Seed 0 gives 9.336 at 10% and 12.323 at 20%.

Configurations:

  • SLEB, 10% of blocks (4 of 32): DepthPruneConfig(method="sleb", num_blocks=4)
  • SLEB, 20% of blocks (7 of 32): DepthPruneConfig(method="sleb", num_blocks=7)

Activation sparsity in Llama-3-8B

  • Technique: teal
  • Model: meta-llama/Meta-Llama-3-8B (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: Perplexity of the last 512 tokens of 2048-token windows (lower is better)
  • Paper: TEAL, Table 1
  • economize: 0.2.0, measured 2026-10-10
  • Command: effeval repro run B21
  • Result file: data/results/B21.json
Setting Paper economize Paper change economize change
Unmodified model 5.87 5.04
25% sparsity, greedy allocation 5.94 5.11 +0.07 +0.07
40% sparsity, greedy allocation 6.21 5.32 +0.34 +0.28
50% sparsity, greedy allocation 6.67 5.74 +0.80 +0.70

The evaluation text differs from the paper's, so the absolute perplexities differ and the change from dense is the quantity to compare. Calibration reads 10 sequences of 2048 tokens from the first rows of the Alpaca dataset in a fixed order, so reruns with other seeds give identical values.

Configurations:

  • 25% sparsity, greedy allocation: TealConfig(sparsity=0.25, allocation="greedy", greedy_step=0.05, prefill="second_half")
  • 40% sparsity, greedy allocation: TealConfig(sparsity=0.4, allocation="greedy", greedy_step=0.05, prefill="second_half")
  • 50% sparsity, greedy allocation: TealConfig(sparsity=0.5, allocation="greedy", greedy_step=0.05, prefill="second_half")

Activation sparsity in Llama-2-7B

  • Technique: teal
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: Perplexity of the last 512 tokens of 2048-token windows (lower is better)
  • Paper: TEAL, Table 1
  • economize: 0.2.0, measured 2026-10-10
  • Command: effeval repro run B21
  • Result file: data/results/B21.json
Setting Paper economize Paper change economize change
Unmodified model 5.07 4.48
25% sparsity, greedy allocation 5.09 4.52 +0.02 +0.03
40% sparsity, greedy allocation 5.22 4.64 +0.15 +0.16
50% sparsity, greedy allocation 5.43 4.85 +0.36 +0.37

Same setup as the Llama-3-8B study.

Configurations:

  • 25% sparsity, greedy allocation: TealConfig(sparsity=0.25, allocation="greedy", greedy_step=0.05, prefill="second_half")
  • 40% sparsity, greedy allocation: TealConfig(sparsity=0.4, allocation="greedy", greedy_step=0.05, prefill="second_half")
  • 50% sparsity, greedy allocation: TealConfig(sparsity=0.5, allocation="greedy", greedy_step=0.05, prefill="second_half")

Medusa heads on Vicuna-7B

  • Technique: medusa
  • Model: lmsys/vicuna-7b-v1.3 (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: Speedup over plain greedy decoding on Spec-Bench (480 prompts) (higher is better)
  • Paper: Spec-Bench leaderboard
  • economize: 0.2.0, measured 2026-10-09
  • Command: effeval repro run A5
  • Result file: data/results/A5.json
Setting Paper economize
Medusa-1 heads, tree mc_sim_7b_63 1.71x 1.51x

Uses the released heads FasterDecoding/medusa-vicuna-7b-v1.3 with the tree mc_sim_7b_63, greedy decoding. economize decodes 80.3 tokens per second against 53.1 for plain decoding.

Configurations:

  • Medusa-1 heads, tree mc_sim_7b_63: economize.load(base, "FasterDecoding/medusa-vicuna-7b-v1.3", decoding=DecodeConfig(cycle_length=5))

Speculative decoding of Vicuna-7B with a 68M draft model

  • Technique: draft_model
  • Model: lmsys/vicuna-7b-v1.3 (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: Speedup over plain greedy decoding on Spec-Bench (480 prompts) (higher is better)
  • Paper: Spec-Bench leaderboard
  • economize: 0.2.0, measured 2026-10-09
  • Command: effeval repro run A7
  • Result file: data/results/A7.json
Setting Paper economize
double7/vicuna-68m, 5 draft tokens 1.52x 1.58x

economize drafts a fixed 5 tokens per cycle, while the Spec-Bench entry uses the heuristic draft-length schedule of transformers' assisted generation.

Configurations:

  • double7/vicuna-68m, 5 draft tokens: DraftModelConfig(model="double7/vicuna-68m"), DecodeConfig(cycle_length=6)

EAGLE-3 on Llama-3.1-8B-Instruct

  • Technique: eagle3
  • Model: meta-llama/Llama-3.1-8B-Instruct (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: Mean speedup over plain greedy decoding on MT-bench, HumanEval, GSM8K, Alpaca and CNN/DM (higher is better)
  • Paper: EAGLE-3, Table 1
  • economize: 0.2.0, measured 2026-10-09
  • Command: effeval repro run A1
  • Result file: data/results/A1.json
Setting Paper economize
Released drafter, chain of 5 (paper: dynamic tree) 4.44x 2.82x

The settings differ: the paper drafts a dynamic tree, economize drafts a chain of 5 tokens with the released drafter yuhuili/EAGLE3-LLaMA3.1-Instruct-8B (mean accepted length 3.73). The row is listed for scale and is not a like-for-like comparison.

Configurations:

  • Released drafter, chain of 5 (paper: dynamic tree): economize.load(base, "yuhuili/EAGLE3-LLaMA3.1-Instruct-8B", decoding=DecodeConfig(cycle_length=6))

Prompt lookup decoding of Vicuna-7B

  • Technique: lookup
  • Model: lmsys/vicuna-7b-v1.3 (fp16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: Mean accepted tokens (MAT, as Spec-Bench defines it) on Spec-Bench (480 prompts) (higher is better)
  • Paper: Spec-Bench leaderboard
  • economize: 0.2.0, measured 2026-10-09
  • Command: effeval repro run A8
  • Result file: data/results/A8.json
Setting Paper economize
n-gram up to 3, up to 10 proposed tokens 1.73 1.74

Greedy decoding. Each verification cycle accepts 2.15 tokens on average, and economize runs 1.50 times as fast as plain greedy decoding on the same prompts.

Configurations:

  • n-gram up to 3, up to 10 proposed tokens: LookupConfig(max_ngram=3, max_proposal=10), DecodeConfig(cycle_length=11)

EAGLE-3 speculator from the speculators format on Llama-3.1-8B-Instruct

Setting Paper economize
HumanEval 3.02 3.05
Spec-Bench math reasoning 2.83 2.91
Spec-Bench summarization 2.50 2.62

Loads the released drafter, which reads the target's layers 2, 16 and 29. The model card does not publish its prompts, so the sets here are HumanEval and the Spec-Bench categories of the same names. economize runs 1.96, 1.89 and 1.75 times as fast as plain greedy decoding on the three sets.

Configurations:

  • HumanEval: economize.load(base, "RedHatAI/Llama-3.1-8B-Instruct-speculator.eagle3", decoding=DecodeConfig(cycle_length=4))
  • Spec-Bench math reasoning: economize.load(base, "RedHatAI/Llama-3.1-8B-Instruct-speculator.eagle3", decoding=DecodeConfig(cycle_length=4))
  • Spec-Bench summarization: economize.load(base, "RedHatAI/Llama-3.1-8B-Instruct-speculator.eagle3", decoding=DecodeConfig(cycle_length=4))

KV-cache eviction in Llama-3-8B-Instruct

  • Technique: kv_evict
  • Model: meta-llama/Meta-Llama-3-8B-Instruct (bf16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: Mean score over the 16 English LongBench tasks (higher is better)
  • Paper: PyramidKV, Table 11
  • economize: 0.2.0 (H2O 0.3.2), measured 2026-10-10 (H2O 2026-10-17)
  • Command: effeval repro run B27
  • Result file: data/results/B27.json
Setting Paper economize Paper change economize change
Unmodified model 41.46 43.13
SnapKV, budget 128 35.50 39.87 -5.96 -3.26
H2O, budget 128 35.37 35.37 -6.09 -7.76
StreamingLLM, budget 128 32.00 34.33 -9.46 -8.80
SnapKV, budget 2048 41.35 42.86 -0.11 -0.27
H2O, budget 2048 39.35 41.82 -2.11 -1.31
StreamingLLM, budget 2048 37.82 40.65 -3.64 -2.48

The paper runs the KVCache-Factory baselines with prompts middle-truncated to 7500 tokens, the model's chat template, LongBench's per-task generation lengths and greedy decoding, and so does the reproduction. A budget of B entries per head keeps an 8-token window plus B - 8 selected entries for SnapKV and H2O, and 4 sinks plus B - 4 recent tokens for StreamingLLM. H2O uses method "h2o_prefill", which selects once from the prompt as KVCache-Factory does. The method "h2o" also evicts during decoding with scores accumulated over the generated tokens and scores 33.15 at budget 128 and 41.02 at budget 2048. KVCache-Factory's own code, run with the same prompts, scores 43.62 with the full cache, 40.52 with SnapKV and 36.58 with H2O at budget 128. economize selects entries per KV head, while KVCache-Factory repeats the keys and values for every query head and selects per query head, which keeps more distinct entries in a model with grouped-query attention.

Configurations:

  • SnapKV, budget 128: KVEvictConfig(method="snapkv", heavy=120, observation_window=8, kernel_size=7, pooling="max")
  • H2O, budget 128: KVEvictConfig(method="h2o_prefill", sinks=0, recent=8, heavy=120)
  • StreamingLLM, budget 128: KVEvictConfig(method="streaming", sinks=4, recent=124)
  • SnapKV, budget 2048: KVEvictConfig(method="snapkv", heavy=2040, observation_window=8, kernel_size=7, pooling="max")
  • H2O, budget 2048: KVEvictConfig(method="h2o_prefill", sinks=0, recent=8, heavy=2040)
  • StreamingLLM, budget 2048: KVEvictConfig(method="streaming", sinks=4, recent=2044)

2-bit and 4-bit KV cache in Llama-2-7B on CoQA

  • Technique: kivi
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: CoQA exact match (%) (higher is better)
  • Paper: KIVI, Table 3
  • economize: 0.2.0, measured 2026-10-11
  • Command: effeval repro run B24
  • Result file: data/results/B24.json
Setting Paper economize Paper change economize change
Unmodified model 63.88 64.50
KIVI-4 63.78 64.30 -0.10 -0.20
KIVI-2 63.05 63.92 -0.83 -0.58

The cache is quantized inside economize's decode loop, with group size 32 and the most recent 128 tokens kept in full precision. The paper does not state the number of CoQA shots, so lm-eval's defaults are used. TruthfulQA is left out because the paper does not state its metric.

Configurations:

  • KIVI-4: KIVIConfig(bits=4, group_size=32, residual_length=128)
  • KIVI-2: KIVIConfig(bits=2, group_size=32, residual_length=128)

2-bit and 4-bit KV cache in Llama-2-7B on GSM8K

  • Technique: kivi
  • Model: meta-llama/Llama-2-7b-hf (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: GSM8K accuracy (%), 5 shots, strict match (higher is better)
  • Paper: KIVI, Table 3
  • economize: 0.2.0, measured 2026-10-11
  • Command: effeval repro run B24
  • Result file: data/results/B24.json
Setting Paper economize Paper change economize change
Unmodified model 13.50 13.27
KIVI-4 13.80 13.19 +0.30 -0.08
KIVI-2 12.74 12.51 -0.76 -0.76

The cache is quantized inside economize's decode loop, with group size 32 and the most recent 128 tokens kept in full precision. One binomial standard error is about 1 point at 1319 problems.

Configurations:

  • KIVI-4: KIVIConfig(bits=4, group_size=32, residual_length=128)
  • KIVI-2: KIVIConfig(bits=2, group_size=32, residual_length=128)

2-bit and 4-bit KV cache in Mistral-7B on CoQA

  • Technique: kivi
  • Model: mistralai/Mistral-7B-v0.1 (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: CoQA exact match (%) (higher is better)
  • Paper: KIVI, Table 3
  • economize: 0.2.0, measured 2026-10-11
  • Command: effeval repro run B24
  • Result file: data/results/B24.json
Setting Paper economize Paper change economize change
Unmodified model 67.40 68.62
KIVI-4 66.95 68.23 -0.45 -0.38
KIVI-2 66.35 67.28 -1.05 -1.33

The cache is quantized inside economize's decode loop, with group size 32 and the most recent 128 tokens kept in full precision. The paper does not state the number of CoQA shots, so lm-eval's defaults are used. TruthfulQA is left out because the paper does not state its metric.

Configurations:

  • KIVI-4: KIVIConfig(bits=4, group_size=32, residual_length=128)
  • KIVI-2: KIVIConfig(bits=2, group_size=32, residual_length=128)

2-bit and 4-bit KV cache in Mistral-7B on GSM8K

  • Technique: kivi
  • Model: mistralai/Mistral-7B-v0.1 (fp16)
  • Hardware: NVIDIA A100-SXM4-80GB
  • Metric: GSM8K accuracy (%), 5 shots, strict match (higher is better)
  • Paper: KIVI, Table 3
  • economize: 0.2.0, measured 2026-10-11
  • Command: effeval repro run B24
  • Result file: data/results/B24.json
Setting Paper economize Paper change economize change
Unmodified model 38.36 37.83
KIVI-4 37.30 39.05 -1.06 +1.21
KIVI-2 36.01 36.31 -2.35 -1.52

The cache is quantized inside economize's decode loop, with group size 32 and the most recent 128 tokens kept in full precision. One binomial standard error is about 1 point at 1319 problems.

Configurations:

  • KIVI-4: KIVIConfig(bits=4, group_size=32, residual_length=128)
  • KIVI-2: KIVIConfig(bits=2, group_size=32, residual_length=128)

FP8 KV cache in Llama-3-8B-Instruct on GSM8K

Setting Paper economize Paper change economize change
Unmodified model 75.44 76.95
e4m3, no scales 74.98 75.44 -0.46 -1.52

The model card stores keys and values in e4m3 with calibrated per-tensor scales; the row below casts without scales, and the per-tensor setting (scale="tensor") has not been rerun. Per-token scales give 76.194. One binomial standard error is about 1 point at 1319 problems.

Configurations:

  • e4m3, no scales: FP8KVConfig(format="e4m3", scale="none")

FP8 KV cache in Mistral-7B on WikiText-2

  • Technique: kv_fp8
  • Model: mistralai/Mistral-7B-v0.3 (bf16)
  • Hardware: NVIDIA A100-SXM4-40GB
  • Metric: WikiText-2 test perplexity, first 40 windows of 2048 tokens, decoded through the cache (lower is better)
  • Paper: JoLT, Table 2
  • economize: 0.2.0, measured 2026-10-11
  • Command: effeval repro run B26
  • Result file: data/results/B26.json
Setting Paper economize Paper change economize change
Unmodified model 6.760 5.576
e4m3, no scales 6.760 5.583 +0.000 +0.007

The evaluation windows differ from the paper's, so the absolute values differ. The FP8 cache raises the perplexity by 0.13% here against 0.01% in the paper. Per-token scales give 5.580.

Configurations:

  • e4m3, no scales: FP8KVConfig(format="e4m3", scale="none")

Adding a reproduction

A reproduction is one entry under studies: in docs/data/reproductions.yaml plus its result file. The steps:

  1. Run the technique on a model for which the paper reports a number, with the paper's evaluation setup as far as it is known. Any script works; Examples has a perplexity script (examples/compress.py) and a speed benchmark (examples/benchmark.py) to start from.
  2. Save the run's output as a JSON file under docs/data/results/ (or publish it elsewhere and use its URL). It should hold the versions of economize, torch, transformers and CUDA, the GPU, the date, the configuration of every variant and every metric, and no machine paths.
  3. Add a study to docs/data/reproductions.yaml with the fields below, and quote the paper's number together with its table or figure in the technique's tutorial or in Weights and activations if the documentation does not quote it yet, so a reader can check the pairing.
  4. Run mkdocs build --strict. The hook validates the data file and stops the build with a message that names the study and the field if an entry does not follow the schema. pytest tests/docs/test_reproductions.py runs the same checks.

A study has these fields (schema version 1, the top-level key schema: 1):

Field Required Meaning
id yes Unique identifier, used as the anchor of the study's section
title yes Heading of the study
technique yes Name of the technique in economize.TECHNIQUES (the build checks it)
model yes Hub id of the base model and its dtype
hardware yes GPU (or CPU) the measurement ran on
metric yes Metric and evaluation setup
better yes lower or higher
paper yes source (paper and table), and optionally arxiv (an arXiv id) or url, and baseline (the paper's number for the unmodified model)
economize yes version, date of the measurement, and optionally baseline (the measured number for the unmodified model)
command yes The command that produced the result
result yes Path under docs/ of the result file, or a URL
rows yes One entry per setting: setting, config (the economize configuration), paper and economize
note no Differences in setup that a reader needs to interpret the comparison
digits no Decimal places of the rendered numbers (default 2)
unit no Suffix of the rendered numbers, such as x for speedups

A value under paper, economize or baseline is a number, or for a result over several seeds a mapping {mean: ..., std: ..., seeds: ...} with the sample standard deviation and at least two seeds. Give the change from the unmodified model by setting both baselines; the tables then add the change columns.

schema: 1
studies:
  - id: wanda-llama-7b
    title: Unstructured and 2:4 pruning of LLaMA-7B
    technique: prune
    model: huggyllama/llama-7b (fp16)
    hardware: NVIDIA A100-SXM4-40GB
    metric: WikiText-2 test perplexity, 2048-token windows
    better: lower
    paper: {source: "Wanda, Table 3", arxiv: "2306.11695", baseline: 5.68}
    economize: {version: 0.3.1, date: 2026-10-12, baseline: 5.677}
    command: python my_eval.py --method wanda --sparsity 0.5
    result: data/results/my_run.json
    rows:
      - setting: Wanda, 50% unstructured
        config: PruneConfig(method="wanda", sparsity=0.5)
        paper: 7.26
        economize: {mean: 7.261, std: 0.014, seeds: 3}