Request it for the seed queue, or get it now with pf download 0ppxnhximxr/Motif-3-FP8 (CLI guide).
This is an unofficial, community-made FP8 quantization of the released Motif-Technologies/Motif-3 checkpoint, not Motif-3-Beta. The exact source revision is 1695f5aa6d97cccc8623a03f93c9c7d5fbb14d45.
The recipe follows the expert-only 128x128 block-E4M3 layout used for 0ppxnhximxr/Motif-3-Beta-FP8, while applying it independently to the official Motif-3 weights.
gate_up_proj and down_proj in all 51 MoE layers<weight_name>_scale_invW ≈ W_fp8 * scale_invEmbeddings, the language-model head, attention, routers, shared experts, dense layers, MTP layers, normalization layers, and all other non-target tensors remain in their original precision.
The following table measures weight-space fidelity, not downstream benchmark accuracy. The FP8 statistics were accumulated over every value in all 102 quantized tensors. “Original” is the exact BF16 checkpoint used as the quantization source.
| Metric | Original Motif-3 | This FP8 checkpoint | Interpretation |
|---|---|---|---|
| Checkpoint tensor size | 629,683,551,500 bytes (586.44 GiB) | 321,729,326,780 bytes (299.63 GiB) | 48.91% smaller |
| Routed-expert projection precision | BF16 | FP8 E4M3 + FP32 scale per 128x128 block | Expert-only W8A16 |
| Quantized parameters | 0 | 308.03B | 102 tensors across 51 MoE layers |
| Mean cosine similarity | 1.000000 | 0.999650 | 99.9650% directional similarity |
| Minimum tensor cosine similarity | 1.000000 | 0.999650 | Minimum over the 102 target tensors |
| Mean relative RMSE | 0% | 2.6455% | Mean over the 102 target tensors |
| Maximum relative RMSE | 0% | 2.6458% | Maximum over the 102 target tensors |
| Maximum absolute weight error | 0 | 0.06808 | Maximum observed element error |
| NaN or Inf after dequantization | 0 | 0 | No non-finite values observed |
| Non-target tensor equality | Reference | Bit-exact to reference | Verified for non-quantized tensors |
Cosine similarity is not “model accuracy.” A paired BF16-versus-FP8 benchmark suite has not yet been completed, so no task-accuracy retention percentage is claimed here.
The checkpoint was validated in four ways:
use_ue8m0=False; sampled values and scales matched exactly.The local FP8 tensors were also compared with the Beta-FP8 checkpoint and were different, confirming that these are quantized official Motif-3 weights rather than copied Beta weights.
Quantization was performed on 2026-08-10 UTC with the included quantization/quantize_motif_fp8.py.
| Component | Environment |
|---|---|
| Host OS | Ubuntu 24.04, Linux 6.8.0-1046-nvidia, EXT4 |
| CPU / RAM | Intel Xeon Platinum 8480+ / 885 GiB RAM |
| GPU host | 4x NVIDIA H100 80GB HBM3, NVLink NV18 |
| Quantization device | cuda:0 (one H100 80GB) |
| NVIDIA driver | 580.178.04 |
| CUDA toolkit / PyTorch CUDA | 13.0 / 12.4 |
| Python | 3.12.3 |
| PyTorch | 2.5.1+cu124 |
| Transformers | 4.55.4 |
| Safetensors | 0.8.0 |
| Flash Attention | 2.7.4.post1 |
| Hugging Face Hub / hf-xet | 0.36.2 / 1.6.0 |
| Source download client | Hugging Face Hub 1.27.0 / hf-xet 1.6.0 |
| Source download mode | HF_XET_HIGH_PERFORMANCE=1 |
| Quantization wall time | Approximately 7.1 minutes summed across 155 shards |
The complete numerical summary is in quantization_recipe.json.
This checkpoint stores arbitrary FP32 inverse scales. The pinned Motif vLLM image supports online block-FP8 conversion from BF16 but does not directly load this serialized layout without a small runtime patch. The reproducible patch and Dockerfile used for the smoke tests are included in serving/.
The patch is intentionally pinned to:
ghcr.io/motiftechnologies/vllm:v0.20.2-motif3.rc3
Build the serving image:
git clone https://huggingface.co/0ppxnhximxr/Motif-3-FP8
cd Motif-3-FP8
docker build -t motif-vllm:direct-fp8 serving
The following conservative command matches the tested 4x H100 80GB topology. It uses CPU/UVA offload because the model and usable KV cache do not comfortably fit in 4x 80GB without it.
docker run --rm --gpus all --ipc=host --shm-size=64g \
-p 8080:8080 \
-e HF_XET_HIGH_PERFORMANCE=1 \
-e VLLM_USE_DEEP_GEMM_E8M0=0 \
-v "$HOME/.cache/huggingface:/root/.cache/huggingface" \
motif-vllm:direct-fp8 \
vllm serve 0ppxnhximxr/Motif-3-FP8 \
--trust-remote-code \
--hf-overrides '{"quantization_config":{"quant_method":"modelopt_blockfp8","direct_load":true}}' \
--tensor-parallel-size 4 \
--enable-expert-parallel \
--dtype bfloat16 \
--cpu-offload-gb 4.2 \
--gpu-memory-utilization 0.98 \
--max-model-len 512 \
--block-size 128 \
--enable-auto-tool-choice \
--tool-call-parser motif \
--reasoning-parser motif \
--host 0.0.0.0 --port 8080
Check the endpoint:
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "0ppxnhximxr/Motif-3-FP8",
"messages": [{"role": "user", "content": "대한민국의 수도를 한 문장으로 답해줘."}],
"temperature": 0,
"max_tokens": 64
}'
The 512-token context limit above was used only for the constrained H100 smoke test. It is not the model's architectural limit. Larger context lengths need substantially more KV-cache memory and were not validated on this topology. The upstream Motif-3 card recommends H200 or B200-class deployments for the full model.
After downloading the pinned BF16 source, run:
python quantization/quantize_motif_fp8.py \
--src /path/to/Motif-3 \
--dst /path/to/Motif-3-FP8 \
--device cuda:0
The converter quantizes only tensors ending in:
.moe.experts.gate_up_proj
.moe.experts.down_proj
Each [expert, output, input] tensor is divided into 128x128 blocks. For each block, it stores E4M3 values and an FP32 inverse scale computed from amax / 448.
For architecture details, intended use, training data, safety considerations, and the original benchmark results, see the official Motif-3 model card.
The upstream Motif-3 checkpoint is published under the MIT license. This repository contains a quantized transformation of those weights. Motif-3 was created by Motif Technologies; this community repository is not an official Motif Technologies release.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo 0ppxnhximxr/Motif-3-FP8 ./model-foldermodel-00105-of-00155.safetensors 4.0 GBmodel-00106-of-00155.safetensors 4.0 GBmodel-00107-of-00155.safetensors 4.0 GBmodel-00108-of-00155.safetensors 4.0 GBmodel-00109-of-00155.safetensors 4.0 GBmodel-00110-of-00155.safetensors 4.0 GBmodel-00111-of-00155.safetensors 4.0 GBmodel-00112-of-00155.safetensors 4.0 GBmodel-00113-of-00155.safetensors 4.0 GBmodel-00114-of-00155.safetensors 4.0 GBmodel-00115-of-00155.safetensors 4.0 GBmodel-00116-of-00155.safetensors 4.0 GBmodel-00117-of-00155.safetensors 4.0 GBmodel-00118-of-00155.safetensors 4.0 GBmodel-00119-of-00155.safetensors 4.0 GBmodel-00120-of-00155.safetensors 4.0 GBmodel-00121-of-00155.safetensors 4.0 GBmodel-00122-of-00155.safetensors 4.0 GBmodel-00123-of-00155.safetensors 4.0 GBmodel-00124-of-00155.safetensors 4.0 GBmodel-00125-of-00155.safetensors 4.0 GBmodel-00126-of-00155.safetensors 4.0 GBmodel-00127-of-00155.safetensors 4.0 GBmodel-00128-of-00155.safetensors 4.0 GBmodel-00129-of-00155.safetensors 4.0 GBmodel-00130-of-00155.safetensors 4.0 GBmodel-00131-of-00155.safetensors 4.0 GBmodel-00132-of-00155.safetensors 4.0 GBmodel-00133-of-00155.safetensors 4.0 GBmodel-00134-of-00155.safetensors 4.0 GBmodel-00135-of-00155.safetensors 4.0 GBmodel-00136-of-00155.safetensors 4.0 GBmodel-00137-of-00155.safetensors 4.0 GBmodel-00138-of-00155.safetensors 4.0 GBmodel-00139-of-00155.safetensors 4.0 GBmodel-00140-of-00155.safetensors 4.0 GBmodel-00141-of-00155.safetensors 4.0 GBmodel-00142-of-00155.safetensors 4.0 GBmodel-00143-of-00155.safetensors 4.0 GBmodel-00144-of-00155.safetensors 4.0 GBmodel-00145-of-00155.safetensors 4.0 GBmodel-00146-of-00155.safetensors 4.0 GBmodel-00147-of-00155.safetensors 4.0 GBmodel-00148-of-00155.safetensors 4.0 GBmodel-00149-of-00155.safetensors 4.0 GBmodel-00150-of-00155.safetensors 4.0 GBmodel-00151-of-00155.safetensors 4.0 GBmodel-00152-of-00155.safetensors 4.0 GBmodel-00153-of-00155.safetensors 4.0 GBmodel-00154-of-00155.safetensors 4.0 GBmodel-00155-of-00155.safetensors 4.0 GBmodel-00001-of-00155.safetensors 2.5 GBmodel-00104-of-00155.safetensors 2.3 GBmodel-00003-of-00155.safetensors 2.0 GBmodel-00005-of-00155.safetensors 2.0 GBmodel-00007-of-00155.safetensors 2.0 GBmodel-00009-of-00155.safetensors 2.0 GBmodel-00011-of-00155.safetensors 2.0 GBmodel-00013-of-00155.safetensors 2.0 GBmodel-00015-of-00155.safetensors 2.0 GBmodel-00017-of-00155.safetensors 2.0 GBmodel-00019-of-00155.safetensors 2.0 GBmodel-00021-of-00155.safetensors 2.0 GBmodel-00023-of-00155.safetensors 2.0 GBmodel-00025-of-00155.safetensors 2.0 GBmodel-00027-of-00155.safetensors 2.0 GBmodel-00029-of-00155.safetensors 2.0 GBmodel-00031-of-00155.safetensors 2.0 GBmodel-00033-of-00155.safetensors 2.0 GBmodel-00035-of-00155.safetensors 2.0 GBmodel-00037-of-00155.safetensors 2.0 GBmodel-00039-of-00155.safetensors 2.0 GBmodel-00041-of-00155.safetensors 2.0 GBmodel-00043-of-00155.safetensors 2.0 GBmodel-00045-of-00155.safetensors 2.0 GBmodel-00047-of-00155.safetensors 2.0 GBmodel-00049-of-00155.safetensors 2.0 GBmodel-00051-of-00155.safetensors 2.0 GBmodel-00053-of-00155.safetensors 2.0 GBmodel-00055-of-00155.safetensors 2.0 GBmodel-00057-of-00155.safetensors 2.0 GBmodel-00059-of-00155.safetensors 2.0 GBmodel-00061-of-00155.safetensors 2.0 GBmodel-00063-of-00155.safetensors 2.0 GBmodel-00065-of-00155.safetensors 2.0 GBmodel-00067-of-00155.safetensors 2.0 GBmodel-00069-of-00155.safetensors 2.0 GBmodel-00071-of-00155.safetensors 2.0 GBmodel-00073-of-00155.safetensors 2.0 GBmodel-00075-of-00155.safetensors 2.0 GBmodel-00077-of-00155.safetensors 2.0 GBmodel-00079-of-00155.safetensors 2.0 GBmodel-00081-of-00155.safetensors 2.0 GBmodel-00083-of-00155.safetensors 2.0 GBmodel-00085-of-00155.safetensors 2.0 GBmodel-00087-of-00155.safetensors 2.0 GBmodel-00089-of-00155.safetensors 2.0 GBmodel-00091-of-00155.safetensors 2.0 GBmodel-00093-of-00155.safetensors 2.0 GBmodel-00095-of-00155.safetensors 2.0 GBmodel-00097-of-00155.safetensors 2.0 GBmodel-00099-of-00155.safetensors 2.0 GBmodel-00101-of-00155.safetensors 2.0 GBmodel-00103-of-00155.safetensors 2.0 GBmodel-00002-of-00155.safetensors 336 MBmodel-00018-of-00155.safetensors 169 MBmodel-00020-of-00155.safetensors 169 MBmodel-00022-of-00155.safetensors 169 MBmodel-00024-of-00155.safetensors 169 MBmodel-00026-of-00155.safetensors 169 MBmodel-00028-of-00155.safetensors 169 MBmodel-00030-of-00155.safetensors 169 MBmodel-00032-of-00155.safetensors 169 MBmodel-00034-of-00155.safetensors 169 MBmodel-00036-of-00155.safetensors 169 MBmodel-00038-of-00155.safetensors 169 MBmodel-00040-of-00155.safetensors 169 MBmodel-00042-of-00155.safetensors 169 MBmodel-00044-of-00155.safetensors 169 MBmodel-00046-of-00155.safetensors 169 MBmodel-00048-of-00155.safetensors 169 MBmodel-00050-of-00155.safetensors 169 MBmodel-00052-of-00155.safetensors 169 MBmodel-00054-of-00155.safetensors 169 MBmodel-00056-of-00155.safetensors 169 MBmodel-00058-of-00155.safetensors 169 MBmodel-00060-of-00155.safetensors 169 MBmodel-00062-of-00155.safetensors 169 MBmodel-00064-of-00155.safetensors 169 MBmodel-00066-of-00155.safetensors 169 MBmodel-00068-of-00155.safetensors 169 MBmodel-00070-of-00155.safetensors 169 MBmodel-00072-of-00155.safetensors 169 MBmodel-00074-of-00155.safetensors 169 MBmodel-00076-of-00155.safetensors 169 MBmodel-00078-of-00155.safetensors 169 MBmodel-00080-of-00155.safetensors 169 MBmodel-00082-of-00155.safetensors 169 MBmodel-00084-of-00155.safetensors 169 MBmodel-00086-of-00155.safetensors 169 MBmodel-00088-of-00155.safetensors 169 MBmodel-00090-of-00155.safetensors 169 MBmodel-00092-of-00155.safetensors 169 MBmodel-00094-of-00155.safetensors 169 MBmodel-00096-of-00155.safetensors 169 MBmodel-00098-of-00155.safetensors 169 MBmodel-00100-of-00155.safetensors 169 MBmodel-00102-of-00155.safetensors 169 MBmodel-00004-of-00155.safetensors 169 MBmodel-00006-of-00155.safetensors 169 MBmodel-00008-of-00155.safetensors 169 MBmodel-00010-of-00155.safetensors 169 MBmodel-00012-of-00155.safetensors 169 MBmodel-00014-of-00155.safetensors 169 MBmodel-00016-of-00155.safetensors 169 MBMotif-Technologies/Motif-3