Ming-Image-0.2-Design — Yebisu All-Fine Quantization Suite (Stock ComfyUI Native)

All-Fine Quantization(オールファイン量子化): layer-wise sensitivity-guided mixed-precision quantization tailored for unmodified stock ComfyUI (comfy_quant) across both components of inclusionAI/Ming-Image-0.2-Design:

  1. Text Encoder (33.56 GiB BF16 → 9.43–18.80 GiB): 16B-A2.8B Ling-Mini-2.0 (MoE + Dense L0 + Attention) + Qwen2.5-ViT + 28L Qwen2-1.5B Connector + DirectVLM MLP heads.
  2. Diffusion Model (11.46 GiB BF16 → 4.14–8.17 GiB): 6B Next-DiT (30 transformer blocks + context_refiner / noise_refiner), calibrated directly along 12-step Flow-Matching Euler trajectories (ModelSamplingFlux(1.15, 0.5)).
  3. VAE (0.2364 GiB): vae/ming_image_vae_bf16.safetensors (stock BF16).

9 Complete Variants in ComfyUI Standard format+mix Naming:

  • INT / ConvRot-256 GPTQ Series (6 variants): w4a8_mix, w5a8_mix, w6a8, int8, int8_bf16mix, int8_bf16hq
  • Native Floating-Point Series (3 variants): nvfp4_fp8mix, fp8_e4m3fn, mxfp8_bf16mix

100% Zero-Patch Stock ComfyUI Compatible: Every .safetensors file uses native ComfyUI comfy_quant layouts (AsymW4A8Int8Layout bits=3/4/5/6, TensorWiseINT8Layout convrot=True, TensorCoreFP8E4M3Layout, TensorCoreMXFP8Layout, TensorCoreNVFP4Layout with AWQ pre_quant_scale) and stock config: {"transformer": {"image_model": "ming_image"}} metadata. No custom nodes, no core patches required.

日本語概要 / Japanese Overview: inclusionAI/Ming-Image-0.2-Design の Text Encoder(33.56 GiB) と 6B Next-DiT(11.46 GiB) の両方を、カスタムノード・コード改変不要の 純正 ComfyUI 標準 comfy_quant 形式 で量子化した全9バリアント(INT/ConvRot系 6種 + FPネイティブ系 3種)のスイートです。全層一律の丸めではなく、層単位・Expert単位の感度プロファイリング+12ステップ Flow-Matching 軌道校正により重要な構成層・敏感ブロックのみ上位精度で保護する オールファイン量子化(All-Fine Quantization) を採用しました。


Quick GPU & Format Guide / GPU別おすすめ早見表

Since ComfyUI loads Text Encoder (CLIPLoader) and Diffusion Model (UNETLoader) sequentially (not simultaneously in VRAM), even 12 GB / 16 GB GPUs run larger TEs smoothly via automatic ComfyUI offloading when needed. Filenames denote exact quantization format & mixed protection tier (<main_fmt> or <main_fmt>_<protected>mix), and Combined (TE + DiT) sizes below exclude the 0.24 GiB BF16 VAE. Pair any TE format freely with any DiT format:

Target Setup / VRAM Recommended DiT Recommended TE Combined (TE + DiT) Character & Quality Highlights
12 GB GPU(軽量・INT系) w4a8_mix (4.14 GiB) w4a8_mix (9.43 GiB) 13.57 GiB W3–W6 DP 混合。Comfy-Org w4a8+int8 比 +0.81 dB PSNR
12–16 GB / Blackwell FP4 nvfp4_fp8mix (4.28 GiB) nvfp4_fp8mix (10.98 GiB) 15.26 GiB Refiners + 敏感8層を FP8 保護、22層 AWQ-NVFP4
16 GB GPU(バランス INT系) w5a8_mix (5.23 GiB) w5a8_mix (12.48 GiB) 17.71 GiB W4–INT8 DP 混合(PSNR 18.33 dB / SSIM 0.8397)
16–24 GB(均一 W6A8) w6a8 (4.94 GiB) w6a8 (15.20 GiB) 20.14 GiB 一律 ConvRot-256 W6A8(PSNR 18.76 dB / SSIM 0.8590)
16–24 GB(汎用 FP8 定番) fp8_e4m3fn (5.86 GiB) fp8_e4m3fn (17.81 GiB) 23.67 GiB DiT 全ブロック線形層 + TE 主要線形層を Scaled FP8 E4M3 MSE クリップ(13.40 s/img)
24 GB(均一 INT8) int8 (5.87 GiB) int8 (17.87 GiB) 23.74 GiB 一律 INT8 ConvRot(PSNR 20.64 dB / SSIM 0.8941)
24 GB(総合イチオシ ★) int8_bf16mix (6.33 GiB) int8_bf16mix (14.94 GiB) 21.27 GiB INT8 + 敏感層 BF16 保護。**PSNR 21.95 dB / SSIM 0.9115**
24 GB+ / Blackwell MXFP8 mxfp8_bf16mix (7.63 GiB) mxfp8_bf16mix (18.30 GiB) 25.93 GiB Block-32 MXFP8 + 中核 layers.15..24 BF16 保護(19.51 dB)
32 GB(準 BF16・常駐運用) int8_bf16hq (8.17 GiB) int8_bf16hq (18.80 GiB) 26.97 GiB TE・DiT の約半数を BF16 保持(TE+DiT+VAE で ~27.2 GiB)

Visual Comparisons (1024x1024, 12 Steps Euler Simple, cfg=1.0)

1. INT / ConvRot-256 GPTQ Series (6 Variants vs BF16 & Comfy-Org)

INT ConvRot Comparison Grid

Click to expand individual INT/ConvRot scene strips (Scenes 0–5)
Scene Strip
Scene 0 — SaaS UI Landing Page Scene 0
Scene 1 — Yebisu Botanical Serum Scene 1
Scene 2 — Japanese Exhibition Poster Scene 2
Scene 3 — Flow Matching Infographic Scene 3
Scene 4 — Sunlit Minimalist Room Scene 4
Scene 5 — Kyoto Express Retro Poster Scene 5

2. Native Floating-Point Series (3 Variants: fp8_e4m3fn, mxfp8_bf16mix, nvfp4_fp8mix vs BF16)

Native FP Comparison Grid

Click to expand individual Native FP scene strips (Scenes 0–5)
Scene Strip
Scene 0 — SaaS UI Landing Page FP Scene 0
Scene 1 — Yebisu Botanical Serum FP Scene 1
Scene 2 — Japanese Exhibition Poster FP Scene 2
Scene 3 — Flow Matching Infographic FP Scene 3
Scene 4 — Sunlit Minimalist Room FP Scene 4
Scene 5 — Kyoto Express Retro Poster FP Scene 5

Quantized Model Variants & Verified Benchmarks

Evaluated in unmodified ComfyUI (comfy.sd.load_clip + comfy.sd.load_diffusion_model + CFGGuider/euler/simple, steps=12, cfg=1.0, 1024x1024, seed=42) on NVIDIA L4 (22.03 GiB VRAM, PyTorch 2.14.1+cu130, comfy-kitchen==0.2.42 CUDA backend) across 6 held-out design/typography/photo prompts vs exact BF16 reference.

End-to-End Generation Quality — INT / ConvRot-256 GPTQ Series

Config TE Size (GiB) DiT Size (GiB) Combined (GiB) DiT Batch Peak (GiB)* Speed (s/img) Mean PSNR ↑ Mean SSIM ↑ Latent Cosine ↑
BF16 Reference 33.56 11.46 45.02 11.96 14.64 — 1.0000 1.000000
Comfy-Org (w4a8 + int8) 11.93 5.75 17.68 16.11 12.23 16.20 dB 0.8267 0.806832
w4a8_mix 9.43 4.14 13.57 14.50 11.61 17.01 dB 0.8251 0.795910
w5a8_mix 12.48 5.23 17.71 15.59 12.53 18.33 dB 0.8397 0.813542
w6a8 15.20 4.94 20.14 15.29 12.06 18.76 dB 0.8590 0.834878
int8 17.87 5.87 23.74 16.22 12.24 20.64 dB 0.8941 0.886689
int8_bf16mix ★ Best Quality 14.94 6.33 21.27 16.68 13.29 21.95 dB 0.9115 0.911218
int8_bf16hq (32GB Resident) 18.80 8.17 26.97 18.53 15.27 20.64 dB 0.9001 0.898465

* Important VRAM Clarification: In the L4 batch benchmark runs (benchmark_report.json / fp_benchmark_report.json), CFGGuider held ~`10.35 GiBof residual allocation from the initialBF16run across subsequent iterations (since fixed incmd_benchmark). In clean standalone ComfyUI 1024x1024sampling afterunload_all_models(), true DiT peak VRAM is **checkpoint size + ~0.55–0.59 GiB** — directly verified on RTX PRO 6000 Blackwell: **w4a8_mix=4.71 GiB** (+0.57 GiB), **int8_bf16mix=6.88 GiB** (+0.55 GiB), **int8_bf16hq=8.76 GiB** (+0.59 GiB`).

End-to-End Generation Quality — Native Floating-Point Series

Config TE Size (GiB) DiT Size (GiB) Combined (GiB) DiT Batch Peak (GiB)* Speed (s/img on L4) Mean PSNR ↑ Mean SSIM ↑ Latent Cosine ↑
BF16 Reference (FP Run) 33.56 11.46 45.02 12.06 15.52 — 1.0000 1.000000
nvfp4_fp8mix 10.98 4.28 15.26 14.64 16.37** 16.46 dB 0.8227 0.819455
fp8_e4m3fn 17.81 5.86 23.67 16.23 13.40 17.89 dB 0.8523 0.861286
mxfp8_bf16mix 18.30 7.63 25.93 18.19 21.84** 19.51 dB 0.8886 0.874358

** Hardware-accelerated MXFP8 / NVFP4 Tensor Core matmul requires Blackwell GPUs (SM >= 10.0, e.g., RTX 50 series); on Ada L4 (SM 8.9), ComfyUI transparently falls back to comfy-kitchen dequantization. (fp_benchmark_report.json carries the same ~`10.36–10.55 GiBbatch-loop residual above standalonecheckpoint size + ~0.6 GiB`.)

Honest Trade-Off Notes / 注意事項:

  • Highest Fidelity (int8_bf16mix, int8_bf16hq, int8, mxfp8_bf16mix): Preserve poster framing, intricate CJK/Latin typography, and layout geometry nearly identically to BF16 (0.889–0.912 SSIM). int8_bf16hq + VAE totals ~27.2 GiB, fitting TE + DiT + VAE simultaneously on a 32 GB GPU (e.g., RTX 5090).
  • FP8 Speed & Compatibility (fp8_e4m3fn): Scaled float8_e4m3fn across transformer linear layers (while TE Dense L0 / embeddings / routers / norms stay BF16) delivers 17.89 dB PSNR / 0.8523 SSIM and is the fastest native-FP tier on Ada/Hopper Tensor Cores (13.40 s/img on L4).
  • Compact 4–6 bit Tiers (w4a8_mix, nvfp4_fp8mix, w5a8_mix, w6a8): All surpass Comfy-Org w4a8+int8 in PSNR while keeping DiT size around 4.14–5.23 GiB. Aggressive low-bit layers can occasionally shift subtle poster borders (INT W3/W4) or tiny subtitle numerals (nvfp4_fp8mix Scene 2).

Text Encoder Embedding Fidelity (CLIPLoader Standalone)

Variant Filename Size (Bytes / GiB) Peak VRAM (GiB) Cosine vs BF16 ↑ RelMSE vs BF16 ↓ SHA-256
w4a8_mix text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_w4a8_mix.safetensors 10,123,422,489 (9.43 GiB) 13.05 0.998787 0.002447 4f5f349d290bf83816db7c2c42cbfb6b014927b5726b003d40c02be56838bfa1
w5a8_mix text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_w5a8_mix.safetensors 13,396,999,835 (12.48 GiB) 16.10 0.999538 0.000947 83b4d13ab3dd397758116cb4ef90fec17dc0a71f7b4f23d8d77972e85d96585a
w6a8 text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_w6a8.safetensors 16,316,230,087 (15.20 GiB) 19.32 0.999567 0.000895 172781d4830f4f25618843c3113a9dcd1d4cbedb7de834217fc7e87ae82905d3
int8 text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_int8.safetensors 19,185,129,101 (17.87 GiB) 13.68* 0.999679 0.000667 b90c3932eb0c5e7be82d854a7a7f4103e23dd5cb6952345c22fd8d5faaa33d7d
int8_bf16mix text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_int8_bf16mix.safetensors 16,046,021,312 (14.94 GiB) 18.57 0.999693 0.000638 b1f1a666dc7c5be1e30a08924881444b029ceaa6e46ae0769fa976e963ea74ed
int8_bf16hq text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_int8_bf16hq.safetensors 20,188,923,845 (18.80 GiB) 15.67* 0.999885 0.000253 7b224b1cfeb19dfaea842a7fbec15ea096cd5cfc5634738d3ca01b334e304296
nvfp4_fp8mix text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_nvfp4_fp8mix.safetensors 11,793,654,071 (10.98 GiB) 12.30 0.998694 0.002659 1190117da70c8d04c8ce97169a93d4a9ad620c19060573390ffbf27247f48654
fp8_e4m3fn text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_fp8_e4m3fn.safetensors 19,122,108,823 (17.81 GiB) 12.13* 0.999362 0.001302 c7ee4a6a9ce7e001890eb694d6c73b73039059e969cfcbf8de4bc9276ffa18fb
mxfp8_bf16mix text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_mxfp8_bf16mix.safetensors 19,650,571,551 (18.30 GiB) 10.55* 0.999428 0.001169 9f9bbfe04f3051832263c8360c0d8efad95422a7698f649ed6775e5745ac4e52
Comfy-Org w4a8 Comfy-Org/Ming-Image baseline 12,813,574,339 (11.93 GiB) 16.11 0.999067 0.001890 568f398909e5333877f8eae6167f97550541b6b568cf130da7b6900083c20cb0
Comfy-Org int8 Comfy-Org/Ming-Image baseline 19,507,670,525 (18.17 GiB) 13.53* 0.999712 0.000602 ea4403f8b20a46585273e277ea3ce505e0b96469e0b6ff3e9884654691fd9310

* Evaluated on 22.03 GiB L4 with ComfyUI partial offloading enabled (>16.5 GiB TE checkpoint). On 12 GB GPUs, ComfyUI automatically partial-offloads larger TEs as needed.

Diffusion Models & VAE Checksums

Variant / Component Path Size (Bytes / GiB) SHA-256
w4a8_mix DiT diffusion_models/ming_image_0.2_design_yebisu_w4a8_mix.safetensors 4,448,545,043 (4.14 GiB) eb9a7752a8c5936880f38738b6c765a8fbf7001dcea6e65a28e596ea8eb741fb
w5a8_mix DiT diffusion_models/ming_image_0.2_design_yebisu_w5a8_mix.safetensors 5,620,169,074 (5.23 GiB) 2502bd38f6f5e4ac66b8e7d26b1921f2eb7d335ea30510d33938e3859611b794
w6a8 DiT diffusion_models/ming_image_0.2_design_yebisu_w6a8.safetensors 5,303,779,202 (4.94 GiB) ceefd03ab9174b5684e648914e7d736f675db2812ca81d59f0a6d8e89dcc59c6
int8 DiT diffusion_models/ming_image_0.2_design_yebisu_int8.safetensors 6,299,090,728 (5.87 GiB) 452a9fac5801b814f2ec2eba803f0a1d23decee46e7d92261e802becce720307
int8_bf16mix DiT diffusion_models/ming_image_0.2_design_yebisu_int8_bf16mix.safetensors 6,795,803,323 (6.33 GiB) 38707e2d53e6107366a09e2b6accdff556aca802c1a4492eb14cd0afde64aa75
int8_bf16hq DiT diffusion_models/ming_image_0.2_design_yebisu_int8_bf16hq.safetensors 8,774,084,296 (8.17 GiB) 3061904d8d68710e1cecd8a4a08ef9dc11f6617a7098ec0ce88956e769b0516f
nvfp4_fp8mix DiT diffusion_models/ming_image_0.2_design_yebisu_nvfp4_fp8mix.safetensors 4,591,695,302 (4.28 GiB) fea3ee2fe0867f407f1de06a12d50c289b51a032d808cff2951a6c76ae1038b8
fp8_e4m3fn DiT diffusion_models/ming_image_0.2_design_yebisu_fp8_e4m3fn.safetensors 6,293,685,102 (5.86 GiB) 47ef26617f26bfb26a0a599dd75485a16895f06b0525e49e05de973d3cd62a8a
mxfp8_bf16mix DiT diffusion_models/ming_image_0.2_design_yebisu_mxfp8_bf16mix.safetensors 8,195,857,480 (7.63 GiB) 5669134611990d1009e6166b83a6caa9c3dcdc16a5ee797118e6785204d5ec97
BF16 VAE vae/ming_image_vae_bf16.safetensors 253,816,696 (0.2364 GiB) 7f5bed402dc8c77dc2e0ab1929a85d4df433b7cf7b599dfa8c353da98db0b90a

Stock ComfyUI Usage (Zero Custom Nodes / Zero Patches)

1. Place Files

  • text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_<variant>.safetensors → ComfyUI/models/text_encoders/
  • diffusion_models/ming_image_0.2_design_yebisu_<variant>.safetensors → ComfyUI/models/diffusion_models/
  • vae/ming_image_vae_bf16.safetensors → ComfyUI/models/vae/

(Any TE variant mixes freely with any DiT variant — e.g., pair w4a8_mix TE with int8_bf16mix DiT or fp8_e4m3fn DiT on 16–24 GB VRAM! For best performance with comfy_quant layouts, run ComfyUI with PyTorch cu130+ and comfy-kitchen==0.2.42+.)

2. Recommended Workflow Settings (Official Ming-Image 0.2 Design Recipe)

  • CLIPLoader: pick your TE, set type = lumina2 (ComfyUI automatically detects TEModel.MING_IMAGE from tensor keys — no separate dropdown needed).
  • UNETLoader (Load Diffusion Model): pick your DiT (weight_dtype = default).
  • VAELoader: ming_image_vae_bf16.safetensors.
  • ModelSamplingFlux: max_shift = 1.15, base_shift = 0.5, width, height.
  • Sampling (SamplerCustomAdvanced): BasicGuider (CFG-free; or CFGGuider with cfg = 1.0), KSamplerSelect (euler), BasicScheduler (simple, steps = 12).

Quantization Architecture Highlights

  1. TE End-to-End Downstream Calibration:
    • Sensitivity profiled strictly on the actual ComfyUI DiT conditioning outputs (cap_feats and direct_context) — not raw perplexity — across T2I typography/design and multimodal image prompts.
    • Vision mlp.down_proj (K=3456) uses per-channel int8_tensorwise (w4a8_mix), float8_e4m3fn (nvfp4_fp8mix), or bf16 depending on variant.
    • Dense L0, embed_tokens, MoE routers, norms, and projections remain pure BF16 across every variant; MoE expert banks use 3D MoEExperts (num_experts=256).
  2. DiT 12-Step Flow-Matching Trajectory Calibration:
    • INT / ConvRot series: ConvRot-256 Hessian-GPTQ (block_rotate_last_dim Hadamard 256) + sensitivity-DP layer allocation across w3/w4/w5/w6/int8/bf16.
    • Native FP series: per-tensor MSE clipping (fp8_e4m3fn), Block-32 E8M0 mxfp8 protecting semantic/layout core layers.15..24 in bf16 (mxfp8_bf16mix), and Block-16 refined nvfp4 with AWQ pre_quant_scale protecting Refiners + sensitive 8 blocks {15,16,17,18,19,22,24,29} in float8_e4m3fn (nvfp4_fp8mix).

License & Attribution

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for StudioYebisu-ship-it/Ming-Image-0.2-Design-FineQuant-ComfyUI

Finetuned
(11)
this model