Ming-Image-0.2-Design Yebisu Quantized Suite (Stock ComfyUI Native)
Sensitivity-DP hybrid quantization (ConvRot-256 Hessian-GPTQ + Hadamard INT8-ConvRot + native comfy_quant) for both components of inclusionAI/Ming-Image-0.2-Design:
- Text Encoder (
33.56 GiBBF16 →9.43–18.80 GiB): 16B-A2.8BLing-Mini-2.0(MoE + Dense L0 + Attention) +Qwen2.5-ViT+ 28LQwen2-1.5BConnector +DirectVLMMLP heads. - Diffusion Model (
11.46 GiBBF16 →4.14–8.17 GiB): 6BNext-DiT(30 transformer blocks +context_refiner/noise_refiner), calibrated directly along 12-step Flow-Matching Euler trajectories (ModelSamplingFlux(1.15, 0.5)). - VAE (
0.2364 GiB):vae/ming_image_vae_bf16.safetensors(stock BF16).
100% Zero-Patch Stock ComfyUI Compatible: Every .safetensors file uses native ComfyUI comfy_quant layouts (TensorWiseINT8Layout convrot=True, AsymW4A8Int8Layout bits=3/4/5/6) 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形式 で量子化した全6モデルセット(12gb,16gb,24gb,32gb,q6,q8)です。DP(動的計画法)感度プロファイリングと 12-step Flow-Matching キャリブレーションにより、同サイズ帯の Comfy-Org 公開版を大きく上回る PSNR / SSIM / コサイン類似度を達成しました(イチオシはyebisu_24gb(PSNR 21.95 dB / SSIM 0.9115)、32GB GPU での常駐運用には **yebisu_32gb**)。
Visual Comparison (1024x1024, 12 Steps Euler Simple, cfg=1.0)
Click to expand individual scene strips (Scenes 0–5: UI Landing, Ecommerce Bottle, Japanese Poster, Infographic, Interior Photo, Retro Poster)
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 CUDA backend) across 6 held-out design/typography/photo prompts vs exact BF16 reference.
End-to-End Generation Quality (Paired TE + DiT -> 1024x1024 Image)
| Config | TE Size (GiB) | DiT Size (GiB) | Combined (GiB) | DiT Peak VRAM (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 |
yebisu_12gb |
9.43 | 4.14 | 13.57 | 14.50 | 11.61 | 17.01 dB | 0.8251 | 0.795910 |
yebisu_16gb |
12.48 | 5.23 | 17.71 | 15.59 | 12.53 | 18.33 dB | 0.8397 | 0.813542 |
yebisu_24gb ★ Recommended |
14.94 | 6.33 | 21.27 | 16.68 | 13.29 | 21.95 dB | 0.9115 | 0.911218 |
yebisu_32gb (All-Resident) |
18.80 | 8.17 | 26.97 | 18.53 | 15.27 | 20.64 dB | 0.9001 | 0.898465 |
yebisu_q6 (Uniform W6A8 GPTQ) |
15.20 | 4.94 | 20.14 | 15.29 | 12.06 | 18.76 dB | 0.8590 | 0.834878 |
yebisu_q8 (Uniform INT8 ConvRot) |
17.87 | 5.87 | 23.74 | 16.22 | 12.24 | 20.64 dB | 0.8941 | 0.886689 |
Honest Trade-Off Notes / 注意事項:
- Best Fidelity (
yebisu_24gb,yebisu_32gb,yebisu_q8): Preserve poster framing, intricate Kanji/Latin typography, and layout geometry nearly identically to BF16 (0.894–0.912SSIM, +4.4 to +5.75 dB PSNR above Comfy-Org baseline).yebisu_32gb+ VAE totals ~27.2 GiB, fitting TE + DiT + VAE simultaneously on a 32 GB GPU (e.g. RTX 5090).- Aggressive Compression (
yebisu_12gb,yebisu_16gb,yebisu_q6): Still outperform Comfy-Org on mean PSNR (+0.81 to +2.56 dB), while using less VRAM/disk. Note that aggressive W3/W4/W6 blocks can occasionally shift canvas framing margins (e.g. Scene 5 poster border) or fine CJK strokes at 3-bit (yebisu_12gb).
Text Encoder Embedding Fidelity (CLIPLoader Standalone)
| Variant | Filename | Size (Bytes / GiB) | Peak VRAM (GiB) | Cosine vs BF16 ↑ | RelMSE vs BF16 ↓ | SHA-256 |
|---|---|---|---|---|---|---|
yebisu_12gb |
text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_12gb.safetensors |
10,123,422,489 (9.43 GiB) | 13.05 | 0.998787 | 0.002447 | 4f5f349d290bf83816db7c2c42cbfb6b014927b5726b003d40c02be56838bfa1 |
yebisu_16gb |
text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_16gb.safetensors |
13,396,999,835 (12.48 GiB) | 16.10 | 0.999538 | 0.000947 | 83b4d13ab3dd397758116cb4ef90fec17dc0a71f7b4f23d8d77972e85d96585a |
yebisu_24gb |
text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_24gb.safetensors |
16,046,021,312 (14.94 GiB) | 18.57 | 0.999693 | 0.000638 | b1f1a666dc7c5be1e30a08924881444b029ceaa6e46ae0769fa976e963ea74ed |
yebisu_32gb |
text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_32gb.safetensors |
20,188,923,845 (18.80 GiB) | 15.67* | 0.999885 | 0.000253 | 7b224b1cfeb19dfaea842a7fbec15ea096cd5cfc5634738d3ca01b334e304296 |
yebisu_q6 |
text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_q6.safetensors |
16,316,230,087 (15.20 GiB) | 19.32 | 0.999567 | 0.000895 | 172781d4830f4f25618843c3113a9dcd1d4cbedb7de834217fc7e87ae82905d3 |
yebisu_q8 |
text_encoders/ming_image_0.2_ling_mini_2.0_yebisu_q8.safetensors |
19,185,129,101 (17.87 GiB) | 13.68* | 0.999679 | 0.000667 | b90c3932eb0c5e7be82d854a7a7f4103e23dd5cb6952345c22fd8d5faaa33d7d |
| 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 file + ~3.7 GiB MoE bank_resident dequantization workspace). On 12 GB GPUs, ComfyUI automatically partial-offloads yebisu_12gb just as it does Comfy-Org w4a8.
Diffusion Models & VAE Checksums
| Variant / Component | Path | Size (Bytes / GiB) | SHA-256 |
|---|---|---|---|
yebisu_12gb DiT |
diffusion_models/ming_image_0.2_design_yebisu_12gb.safetensors |
4,448,545,043 (4.14 GiB) | eb9a7752a8c5936880f38738b6c765a8fbf7001dcea6e65a28e596ea8eb741fb |
yebisu_16gb DiT |
diffusion_models/ming_image_0.2_design_yebisu_16gb.safetensors |
5,620,169,074 (5.23 GiB) | 2502bd38f6f5e4ac66b8e7d26b1921f2eb7d335ea30510d33938e3859611b794 |
yebisu_24gb DiT |
diffusion_models/ming_image_0.2_design_yebisu_24gb.safetensors |
6,795,803,323 (6.33 GiB) | 38707e2d53e6107366a09e2b6accdff556aca802c1a4492eb14cd0afde64aa75 |
yebisu_32gb DiT |
diffusion_models/ming_image_0.2_design_yebisu_32gb.safetensors |
8,774,084,296 (8.17 GiB) | 3061904d8d68710e1cecd8a4a08ef9dc11f6617a7098ec0ce88956e769b0516f |
yebisu_q6 DiT |
diffusion_models/ming_image_0.2_design_yebisu_q6.safetensors |
5,303,779,202 (4.94 GiB) | ceefd03ab9174b5684e648914e7d736f675db2812ca81d59f0a6d8e89dcc59c6 |
yebisu_q8 DiT |
diffusion_models/ming_image_0.2_design_yebisu_q8.safetensors |
6,299,090,728 (5.87 GiB) | 452a9fac5801b814f2ec2eba803f0a1d23decee46e7d92261e802becce720307 |
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_<tier>.safetensors→ComfyUI/models/text_encoders/diffusion_models/ming_image_0.2_design_yebisu_<tier>.safetensors→ComfyUI/models/diffusion_models/vae/ming_image_vae_bf16.safetensors→ComfyUI/models/vae/
(Any TE tier mixes freely with any DiT tier — e.g. pair 12gb TE with 24gb DiT on 16–24 GB VRAM! For best speed with comfy_quant INT8 ConvRot and W4A8/W6A8/W5A8/W3A8 layouts, run ComfyUI with PyTorch cu130+ + comfy-kitchen on RTX 30/40/50 GPUs.)
2. Recommended Workflow Settings (Official Ming-Image 0.2 Design Recipe)
CLIPLoader: pick your TE, settype = lumina2(ComfyUI automatically detectsTEModel.MING_IMAGEfrom 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,KSamplerSelect(euler),BasicScheduler(simple,steps = 12),cfg = 1.0.
Quantization Architecture Highlights
- TE End-to-End Downstream Calibration:
- Sensitivity profiled strictly on the actual ComfyUI DiT conditioning outputs (
cap_featsfromproj_out(connector(proj_in(...)))anddirect_contextconcatenating intermediate Thinker layers5, 12, 20) — not raw perplexity — across T2I typography/design and multimodal image prompts. - Vision
mlp.down_proj(K=3456, indivisible by ConvRot-256) automatically uses per-channel non-ConvRotint8_tensorwise(int8_row). - Thinker Dense
L0,embed_tokens, MoE gates (gate,image_gate), norms, projections, and 28-layer Connector are protected in BF16 / INT8 ConvRot-256 per tier; MoE experts receive ConvRot-256 Hessian-GPTQ (w3/w4/w5/w6/int8) with per-expert Hessian regularization fordown_proj.
- Sensitivity profiled strictly on the actual ComfyUI DiT conditioning outputs (
- DiT 12-Step Flow-Matching Trajectory GPTQ:
- Accumulated rotated input activations (
block_rotate_last_dimHadamard 256) directly along real 12-step Euler trajectories (t = 1..12), followed by FP64 Cholesky inversecompute_h_inv_cholGPTQ with per-row RTN fallback safety. - Cross-attention
adaLN_modulation, context/noise embedders,x_embedder,t_embedder, andfinal_layerremain pure BF16 across all variants.
- Accumulated rotated input activations (
License & Attribution
- Upstream base weights and MIT License:
inclusionAI/Ming-Image-0.2-Design— unmodifiedLICENSEis included in this repository. - ComfyUI native
comfy_quant/NextDiT/MingImageschema compatibility reference:Comfy-Org/Ming-Imageand ComfyUI.
Model tree for StudioYebisu-ship-it/Ming-Image-0.2-Design-Yebisu-ComfyUI
Base model
inclusionAI/Ming-Image-0.2-Design





