ERGO-NVFP4
ERGO-NVFP4 is Tesseract3D鈥檚 community quantization of Amazon Frontier Model Research鈥檚 1.1-trillion-parameter Ergo. Two NVIDIA DGX Sparks convert alternating shards of Amazon鈥檚 original BF16 checkpoint, pinned at f47e685ec4b5095a0880e05cc514a4026859f9ed. The routed experts use NVFP4. Full-model inference requires an adapter for this release鈥檚 ergo_nvfp4 layout. Amazon鈥檚 original model card
Weight availability. A revision containing only this card and .gitattributes is a preview. The publisher adds all 65 weight shards, model.safetensors.index.json, the reader and SHA256SUMS together after verifying the conversion. The planned tensor payload is 659,816,707,072 bytes (614.50 GiB). Files and versions
Quantization
The converter packs the up and down projections of all 256 routed experts in each of the 63 mixture-of-experts layers, for a total of 32,256 matrices. Two E2M1 weights share each byte, with the even input in the low nibble. Each block of 16 input features has an E4M3 scale, and each expert matrix has an FP32 scale. Attention, embeddings, shared experts, the dense layer, routers, normalization parameters and the output head retain their original bytes. The method uses weight values alone and requires no activation calibration. The release includes the tensor names, storage axes and scale conventions in ergo_nvfp4.json.
Validation
Each DGX Spark independently quantized the same 33,554,432 BF16 weights from layer 1, expert 0鈥檚 down projection. Both GPUs produced packed weights, block scales and an expert scale that matched the CPU reference byte for byte. The reader then decoded the matrix to BF16. Both Sparks measured the following against the original weights.
| Single-expert reconstruction metric | Result |
|---|---|
| Cosine similarity | 0.997234 |
| Relative L2 error | 0.074434 |
| Maximum absolute error | 0.024414 |
Across the full checkpoint, the converter checks each input shard against Amazon鈥檚 SHA-256 and compares the first reconstructed output row of every routed expert matrix with its BF16 source. The aggregate relative L2 error is recorded in conversion_report.json. End-to-end generation quality, task accuracy and serving throughput for this conversion have yet to be measured.
Read one expert
With PyTorch, safetensors and huggingface_hub installed, this example downloads the reader, the index and the shard files needed for one projection. It pins a single published revision and returns one 64 MiB BF16 matrix on CPU.
import json
from pathlib import Path
import sys
from huggingface_hub import HfApi, hf_hub_download, snapshot_download
repo = "Tesseract3D/ERGO-NVFP4"
info = HfApi().model_info(repo)
if "model.safetensors.index.json" not in {f.rfilename for f in info.siblings}:
raise SystemExit("The model card is live. The verified weight shards are pending.")
revision = info.sha
directory = Path("Ergo-NVFP4").resolve()
snapshot_download(repo, revision=revision, local_dir=directory,
allow_patterns=["model.safetensors.index.json", "ergo_nvfp4/*.py"])
key = "layers.1.feed_forward.down_proj"
index = json.loads((directory / "model.safetensors.index.json").read_text())
shards = {index["weight_map"][key + suffix]
for suffix in (".weight", ".weight_scale", ".weight_scale_2")}
for filename in sorted(shards):
hf_hub_download(repo, filename, revision=revision, local_dir=directory)
sys.path.insert(0, str(directory))
from ergo_nvfp4.layout import get_expert
weight = get_expert(directory, key, 0)
print(weight.shape, weight.dtype) # torch.Size([4096, 8192]) torch.bfloat16
The reader works in row batches and returns the matrix in the original [input, output] order.
To verify a complete local download, run sha256sum -c SHA256SUMS from the repository root. The list covers all 65 published weight files. The conversion report also records a separate checksum for the single-file checkpoint assembled on the Sparks.
License
Amazon released the base weights under the Amazon Ergo Open-Weights License. The same license and its Exhibit A acceptable use policy apply to these weights. The weight release includes Amazon鈥檚 full LICENSE.md. Amazon Ergo Open-Weights License and acceptable use policy
- Downloads last month
- 144
Model tree for Tesseract3D/Ergo-NVFP4
Base model
Amazon-FMR/Ergo-bf16