Ming-Image-0.2-Design-GGUF

Abiray/Ming-Image-0.2-Design-GGUF

作者
Abiray
任务
图像生成
下载量
4,324
点赞数
13
趋势分
10
许可证
-
收录时间
2026/11/30

base_model:

  • inclusionAI/Ming-Image-0.2-Design base_model_relation: quantized library_name: gguf pipeline_tag: text-to-image tags:
  • ming-image
  • gguf
  • comfyui
  • comfyui-gguf
  • text-to-image
  • image-editing
  • typography
  • quantized

Ming-Image-0.2-Design — Mixed-Precision GGUF Quants (Diffusion + Ling Mini 2.0 Text Encoder)

Mixed-precision GGUF quantizations of inclusionAI/Ming-Image-0.2-Design (both the DiT diffusion model and the 17B MoE Ling Mini 2.0 text encoder) built for ComfyUI via ComfyUI-GGUF.

All files are assembled via raw packed-byte donor stitching (zero dequantize/requantize loss) and preserve critical conditioning, routing, vision, and editing bridge tensors so both Text-to-Image and Image Editing workflows work cleanly.


Q4KM

1. Diffusion Models (diffusion_models/)

Place your chosen .gguf file in ComfyUI/models/diffusion_models/.

FileSizeBulk FFN (w1/w3)Attention Q/K/V & AdaLNBulk Cosine / SQNR (vs BF16)Recommended Use
Ming-Image-0.2-Design-Q2_K.gguf4.63 GBQ2_KQ6_K0.9574 / 10.54 dBUltra-low VRAM (6–8 GB GPUs)
Ming-Image-0.2-Design-Q3_K_M.gguf4.87 GBQ3_KQ6_K0.9885 / 16.36 dBStrong 8 GB VRAM daily driver
Ming-Image-0.2-Design-Q4_K_M.gguf5.24 GBQ4_KQ6_K0.9974 / 22.87 dBBest size-to-quality balance
Ming-Image-0.2-Design-Q5_K_M.gguf5.60 GBQ5_KQ6_K0.9993 / 28.78 dBNear-BF16 typography & micro-detail
Ming-Image-0.2-Design-Q6_K.gguf5.91 GBQ6_KQ6_K0.9998 / 34.94 dBVirtually lossless (smaller than 6.18 GB INT8)

Diffusion quantization notes:

  • Embedders, norms, biases, and final output layers remain in BF16.
  • Attention to_q/to_k/to_v are kept uniform at Q6_K so ComfyUI-GGUF can fuse packed qkv.weight tensors cleanly without dtype mismatches.
  • Embedded config: {"transformer": {"image_model": "ming_image"}} metadata is included for automatic ming_image model detection in ComfyUI.

2. Text Encoders (text_encoders/)

Built directly from the Ming-Image-0.2-Design mllm, connector, and mlp BF16 weights with all 1,037 tensors intact (including vision.* editing blocks, connector.*, proj_directvlm.*, query_tokens, and embedded tokenizer_json).

Place your chosen .gguf file in ComfyUI/models/text_encoders/.

FileSize38 3D MoE Expert BanksShared Backbone & ConnectorMoE Cosine / SQNR (vs BF16)Notes
Ming-Image-0.2-Ling-Mini-2.0-Q3_K_M.gguf9.69 GBQ3_KQ4_K / Q5_K0.9886 / 16.40 dBLighter RAM footprint with strong layout & spelling fidelity
Ming-Image-0.2-Ling-Mini-2.0-Q4_K_M.gguf12.0 GBQ4_KQ5_K / Q6_K0.9974 / 22.90 dBVirtually lossless prompt comprehension & typography

Text encoder quantization notes:

  • All 38 MoE router gates (gate.proj & image_gate.proj), embeddings, lm_head, and editing bridge projections stay in BF16 (cos = 1.000000).
  • query_tokens and the 5D vision.patch_embed.proj.weight are stored in exact F32 for clean loading in ComfyUI-GGUF.
  • All 38 3D MoE expert banks (gate_up_proj & down_proj) are quantized cleanly along their row dimension and restored to exact 3D shapes.

Required & Official Companion Files (Comfy-Org)

Do not quantize the VAE—use the official BF16 VAE from Comfy-Org/Ming-Image. If you prefer official safetensors text encoders (int8_convrot / w4a8) instead of the GGUF encoders above, you can grab them from Comfy-Org as well:


How to Use in ComfyUI

1. Custom Node Requirements

Install city96/ComfyUI-GGUF. Until both Ming-Image PRs are merged into main, make sure your ComfyUI-GGUF install includes:

  • PR #484 — Ming-Image packed QKV diffusion loader support.
  • PR #486 — Quantized 3D MoEExperts & tokenizer_json text encoder support.

2. Recommended ComfyUI Node Setup

  • Diffusion Model: UnetLoaderGGUF -> select any Ming-Image-0.2-Design-*.gguf
  • Sampling Shift: ModelSamplingflux with shift = 1.15
  • Text Encoder: CLIPLoaderGGUF -> select Ming-Image-0.2-Ling-Mini-2.0-Q3_K_M.gguf or Q4_K_M.gguf with type = lumina2 (ComfyUI auto-detects TEModel.MING_IMAGE from the weights)
  • VAE: VAELoader -> ming_image_vae_bf16.safetensors
  • Latent: EmptySD3LatentImage (16-channel latent, recommended 1024x1024 or design aspect ratios)
  • Sampler: euler / simple, 12-15 steps,

Verification & Checksums

  • Every .gguf file was verified end-to-end with native GGUFReader structural audits (519/519 diffusion tensors, 1,037/1,037 text encoder tensors), zero NaN/Inf dequantization checks, and a live ComfyUI inference test.
  • File integrity hashes are included in SHA256SUMS.txt in this repository.

Credits & License

内容来源:Hugging Face 模型卡

在 Hugging Face 查看