This is a randomly initialized tiny model based on Amazon-FMR/Ergo for testing and debugging.

Feature Source This repo
Checkpoint tensor elements 20.94B BF16, 2.28B F32, 574.99B U8 34.67M BF16, 33.66M F32, 13.37M U8
Safetensors weight files 626.06 GB (65 files) 217.34 MB (model.safetensors)
Vocabulary / tied embeddings 262,144 / false Same
Embedding and head precision FP32 / BF16 Same
Layers / dense blocks / global-attention period 64 / 1 / every 4th 4 / 1 / every 4th
Attention GQA 64 Q / 8 KV, head_dim 128, window 512 GQA 8 Q / 4 KV, head_dim 64, window 512
Routed experts / experts per token 256 / 8 Same
Expert and shared MLP width 4,096 / 8,192 128 / 128
First dense block width 32,768 512
Router sigmoid-topk, FP32 correction bias, sqrt(8) scaling Same
Per-expert output norm learned FP32 [256, 8192] scale learned FP32 [256, 128] scale
Serialized expert precision MXFP4 in all 63 expert layers MXFP4 in the 3 expert layers
MXFP4 block / scale 32 input elements / UE8M0 U8, two E2M1 per U8 Same
File path Size
model.safetensors 217.3MB

Example usage

vLLM serving (✅ verified)

vLLM has no released Ergo implementation, so build PR #71117's commit from source (it adds the Ergo model, loader and fused kernels). The build needs GCC >= 13 (DeepGEMM's host code uses C++20 <format>) and a CUDA toolkit; this example was verified on two H20 (SM90) GPUs with tensor parallelism 2 and expert parallelism, CUDA 13.0 and GCC 14.3, and the environment must already provide vLLM's runtime dependencies. On SM90 no native vLLM MXFP4 runner fits Ergo's per-route output RMSNorm: Marlin rounds the routed hidden width to 256 and hands the layer a padded row slice, which the model's post-FFN RMSNorm rejects. The tested Hopper path is vLLM's OCP-MX emulation runner, which dequantizes the real MXFP4 weights on the fly with amd-quark (its first use JIT-builds a small CUDA extension); CUDA graphs stay at vLLM's defaults. Ergo's per-expert output RMSNorm requires full expert outputs on one rank, so TP>1 requires --enable-expert-parallel. On a host whose driver predates CUDA 13 (such as the R535 nodes used here), put a CUDA 13 compatibility library first on LD_LIBRARY_PATH.

pip install 'amd-quark==0.13'

TORCH_CUDA_ARCH_LIST=9.0 pip install --no-build-isolation --no-deps \
  'vllm @ git+https://github.com/vllm-project/vllm@0f15915d99e0f64e0efbfa750a71a7a14297c70c'

vllm serve tiny-random/ergo-mxfp4 --served-model-name ergo-mxfp4 --host 127.0.0.1 --port 30000 \
  --tensor-parallel-size 2 --enable-expert-parallel \
  --dtype bfloat16 --max-model-len 2048 --gpu-memory-utilization 0.2 \
  --max-num-seqs 8 --max-num-batched-tokens 2048 \
  --attention-backend FLEX_ATTENTION --moe-backend emulation

The tiny checkpoint is random-initialized, so generation is not meaningful; this checks that the MXFP4 expert stack loads, dequantizes and serves with the released tensor layout.

Creating this repo

Change log

  • 2026-12-02: Initial tiny Ergo MXFP4 checkpoint, quantized from the sibling BF16 base.

This repo is generated by DeepSeek-V4.1-Flash.

Downloads last month
180
Safetensors
Model size
93.5M params
Tensor type
F32
·
BF16
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tiny-random/ergo-mxfp4

Quantized
Amazon-FMR/Ergo
Quantized
(27)
this model

Collection including tiny-random/ergo-mxfp4