An fp8 build of inclusionAI/Ming-Image-0.2-Design
(MIT, revision 3538f4c311cf8f5256d631ddb7f47793f741aa2e), sized for 24 GB GPUs.
ming_dit_fp8.safetensors (6.5 GiB): the DiT, with the attention and FFN Linears of its 30 main blocks in
float8_e4m3fn with a per-tensor scale (<module>._wscale). Embedders, refiners, adaLN and the final layer are
unchanged bf16.ming_mllm_grouped_fp8.safetensors (17.4 GiB): the MLLM, with each MoE layer's 256 routed experts stacked into
<layer>.mlp.grouped.{gu,dn} in float8_e4m3fn with per-row bf16 scales ({gu,dn}_s). Everything else is unchanged.connector/, mlp/, vae/, scheduler/, the configs and the tokenizer are the original files. The original bf16
mllm/ and transformer/ shards are left out (their configs and index files are kept).Dequantization error per quantized tensor: 2.6-2.9% relative. The expert layout is not a standard transformers or
diffusers format: it needs a loader that knows about it (a stacked-expert bmm MoE and an fp8 Linear for the DiT).
The original inference code is at inclusionAI/Ming-Image.
License: MIT, as the original model (LICENSE).
ming_mllm_grouped_fp8.safetensors 17 GiBming_dit_fp8.safetensors 6.5 GiBconnector/model-00001-of-00002.safetensors 4.7 GiBconnector/model-00002-of-00002.safetensors 1.1 GiBvae/diffusion_pytorch_model.safetensors 242 MiBmlp/model.safetensors 119 MiBinclusionAI/Ming-Image-0.2-Design