Amazon

Amazon Ergo โ€” TFQ Balanced

Base BF16 (2.2 TB) | Official MXFP4 (583 GiB) | Amazon Launch Blog | TensorFold | TFQ | License

Size 426.4 GiB 3.0 bpw TFQ V2 KL 0.0304 Top-1 95.89% 63/63 Verified

Ergo-TFQ-Balanced is a 426.4 GiB TensorFold Quantization (TFQ) checkpoint of Amazon Ergo (1.1T total parameters, 55B active parameters, 64 layers, 256 routed experts + shared expert, 1M context window), quantized directly from the native BF16 weights (Amazon-FMR/Ergo-bf16, 2.2 TB) at uniform 3.0 bits per weight on routed MoE experts while keeping all non-MoE tensors untouched in native BF16/F32.

At 426.4 GiB โ€” 5.15ร— smaller than BF16 and 156.7 GiB (26.9%) smaller than Amazon's official 583.1 GiB MXFP4 release โ€” Ergo-TFQ-Balanced fits comfortably on a single 512 GB unified-memory workstation with ~85 GiB left for KV cache, while beating Amazon's official MXFP4 on overall Top-1 agreement, Code, Math, and Chat.

Highlights

  • Size: 426.4 GiB (457.9 GB) total on disk (378.87 GiB quantized routed MoE shards + 47.50 GiB untouched BF16/F32 embeddings, attention, norms, dense Layer 0, routers, shared experts, and lm_head).
  • Method: TFQ V2 calibrated sequential per-expert Hessian-LDLQ-H with exact 65,536-state trellis Viterbi encoding, post-quantization second-stage Hessian propagation (H_down computed from quantized Stage-1 up_proj activations), and Hessian-weighted 2-pass coordinate polish (--polish --polish-su).
  • Calibration: 393,216 tokens (384 ร— 1024) across prose, code, math, and chat, strictly disjoint from the held-out evaluation set.
  • Integrity: All 63 MoE shards (moe_L01.tffp5 .. moe_L63.tffp5, 512 routed tensors each) verified 63/63 OK [XXH64 verified] via tfq3-inspect.

Evaluation (Exact 262,144-Vocab FP64 Held-Out KL)

Evaluated over 65,472 strictly held-out prediction tokens (64 ร— 1024, zero document overlap with calibration) across four domains (WikiText-2 test prose, Python code instructions, GSM8K test math, and UltraChat-200k test chat), comparing full 262,144-vocabulary FP64 log-probabilities directly against Amazon-FMR/Ergo-bf16 Gold and Amazon's official MXFP4 (Amazon-FMR/Ergo):

Model Disk Size Fits 512 GB? Overall KL (gold || cand) Rev-KL Overall Top-1 Overall Top-5 Overall PPL ฮ”PPL vs BF16
Amazon-FMR/Ergo-bf16 (Gold) 2,200 GiB No 0.000000 0.000000 100.00% 100.00% 2.94176 โ€”
Amazon-FMR/Ergo (Official MXFP4) 583.1 GiB No 0.027034 0.028429 95.868% 99.881% 2.95855 +0.571%
TensorFold/Ergo-TFQ-Balanced (3.0 bpw) 426.4 GiB Yes 0.030438 0.034531 95.891% 99.881% 2.97439 +1.109%

Per-Domain Breakdown vs Amazon-FMR/Ergo-bf16 Gold

Domain Metric Ergo-TFQ-Balanced (426.4 GiB) Official MXFP4 (583.1 GiB) Gold BF16
Code KL / Top-1 / PPL 0.008076 / 98.16% / 2.4785 0.008528 / 97.89% / 2.4791 2.4822
Math KL / Top-1 / PPL 0.021595 / 96.68% / 2.3321 0.025894 / 96.13% / 2.3418 2.3217
Chat KL / Top-1 / PPL 0.029807 / 95.08% / 5.0602 0.036908 / 94.32% / 5.0424 5.0567
Prose KL / Top-1 / PPL 0.062273 / 93.65% / 2.6760 0.036808 / 95.13% / 2.6172 2.5699

Checkpoint Layout

  • nonmoe-00001-of-00011.safetensors .. nonmoe-00011-of-00011.safetensors + model.safetensors.index.json: All 1,023 untouched non-routed BF16/F32 tensors (47.502 GiB) โ€” token embeddings (F32), Layer 0 dense FFN, GQA attention + QK-norm, residual scales, router weights & biases, shared experts, and output head.
  • moe_L01.tffp5 .. moe_L63.tffp5: 63 TFQ MoE shards (6.014 GiB each, 378.866 GiB total) containing all 32,256 routed expert matrices (256 experts ร— up_proj/down_proj ร— 63 layers).
  • pw_v5_tables.bin: Canonical TFQ lookup tables (16 KiB).
  • Tokenizer & configuration files copied verbatim from Amazon-FMR/Ergo-bf16.

Running with TensorFold

tensorfold serve TensorFold/Ergo-TFQ-Balanced

Supported across Apple Silicon (Metal), NVIDIA GPUs (CUDA), and Vulkan backends in TensorFold, with open-source quantization tools in TFQ.

License

This quantized checkpoint inherits the Amazon Ergo Open Weight License from Amazon-FMR/Ergo-bf16.

Downloads last month
-
Safetensors
Model size
23B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for TensorFold/Ergo-TFQ-Balanced

Quantized
(20)
this model