Status: experimental — runs end-to-end on 16 GB Apple Silicon Macs in DiffusionBear v0.5.2 (MIT, pure MLX, PyTorch-free).
This repository is an independently converted MLX weight-only quantized snapshot of inclusionAI/Ming-Image-0.2-Design (#1 open-weight on Artificial Analysis · 1,095 Elo). It is not an upstream release, is not affiliated with inclusionAI, and is not a parity-validated conversion.
The full upstream release is about 24.9B parameters; the frequently cited 6B figure is only the 6.15B DiT. The text-conditioning stack is much larger (about 17.8B: 16.3B Bailing-MoE language model plus 1.5B connector), with a separate 0.7B Qwen2.5-ViT for image inputs and a 4-channel RGBA Qwen-Image VAE. BF16 compute is enforced (FP16 DiT compute produced non-finite latents on Apple Silicon and is rejected).
Run it locally in one click: Download DiffusionBear v0.5.2 (macOS Apple Silicon, MIT) → Models tab → download Ming-Image 0.2 Design (exp. Q4).
Three raw 1024×1024 generations rendered locally on a base 2020 M1 MacBook Pro (16 GB unified memory) inside DiffusionBear v0.5.2 (zero OOM, BF16, 12 steps):
| Machine (16 GB Unified Memory) | Resolution | Measured Time | Peak Memory | Notes |
|---|---|---|---|---|
| Base M1 MacBook Pro (16 GB) | 1024px internal bucket |
614.32 s median (11 verified runs) | fits in 16 GB (staged) | Full v0.5.2 benchmark suite (1h 55m 04s for 11 prompts), zero OOM |
| Apple M4 Pro VM (16 GB) | 1024×1024 (warm) |
129–166 s (144.7 s avg) |
13.90 GB |
Official & reconstructed design prompts |
| Apple M4 Pro VM (16 GB) | 2048×2048 (official) |
720 s | 15.97 GB (+ 4.37 GB swap) |
Official Four Seasons prompt, exact season labels |
Full 253-run M1 benchmark (23 configs): diffusionbear.com/benchmark.html
In every comparison below: official upstream reference (80 GB CUDA GPU) on the left, experimental local DiffusionBear MLX Q4/Q8 render (16 GB Apple Silicon, BF16, 12 steps) on the right.
| Prompt Category | Official Reference (Left) vs DiffusionBear MLX Q4/Q8 (Right) |
|---|---|
| Four Seasons Cabin | |
| SaaS KPI Dashboard | |
| Signal Landing Page | |
| Editorial Portfolio |
Reconstructed prompts from the official Ming-Image 0.2 Design animated showcases, rendered locally in MLX Q4/Q8 on a 16 GB Mac (official left, DiffusionBear right):
Exact .safetensors weight sizes measured from the Hugging Face repositories (2.58× smaller overall, -61.3% / -30.16 GiB saved):
| Component | Quantization | Official (inclusionAI/Ming-Image-0.2-Design) |
This Repo (MLX Q4/Q8) | Reduction |
|---|---|---|---|---|
mllm (16.3B MoE) |
4-bit affine (g64) | 31.67 GiB (34.00 GB) | 10.79 GiB (11.58 GB) | -65.9% |
transformer (6.15B DiT) |
8-bit affine (g64) | 11.46 GiB (12.31 GB) | 6.21 GiB (6.67 GB) | -45.8% |
connector (1.5B) |
fp32→bf16 + 8-bit (g64) | 5.75 GiB (6.17 GB) | 1.73 GiB (1.86 GB) | -69.9% |
vae (RGBA) |
unquantized | 0.24 GiB (0.25 GB) | 0.24 GiB (0.25 GB) | 0% |
mlp |
unquantized | 0.12 GiB (0.12 GB) | 0.12 GiB (0.12 GB) | 0% |
Total weights (.safetensors) |
— | 49.24 GiB (52.87 GB) | 19.08 GiB (20.49 GB) | -61.3% (2.58× smaller) |
The conversion follows the q4 tier used by the MIT-licensed xocialize/ming-image-swift port:
| Component | Quantization | Notes |
|---|---|---|
mllm |
4-bit affine, group size 64 | decoder attention, dense MLP, shared experts, and routed experts |
connector |
8-bit affine, group size 64 | Qwen2-shaped connector self-attention and MLP projections; source fp32 tensors converted to bf16 before quantization |
transformer |
8-bit affine, group size 64 | DiT attention and feed-forward projections only |
| routers, embeddings, norms, vision, glue, VAE, conditioning layers | unquantized | intentionally kept at source precision/bf16 |
Quantized tensors use the MLX weight-only affine format: packed weight plus sibling .scales and .biases arrays. The upstream key layout and shard layout are preserved.
On the conversion machine (Linux x86_64, MLX CPU 0.32.5), the package was checked for:
mllm, 196 in connector, 238 in transformer;weight / .scales / .biases triples;total_size metadata;Known caveats: This is an experimental Q4/Q8 quantization with no upstream parity claim. Small dense text can degrade at 1024²; 2048² is cleaner but slow and swap-heavy on 16 GB Macs. BF16 compute is required (FP16 DiT produces non-finite latents).
This repository is intended for local Apple Silicon MLX/Swift loaders that understand pre-quantized Ming snapshots (such as DiffusionBear). Keep the upstream repository as the source of truth for model behavior, licensing, prompts, and inference semantics:
The upstream model is released under the MIT license. The original LICENSE file is included unchanged. This conversion does not add additional licensing restrictions.
mllm/model-00001-of-00007.safetensors 2.7 GiBmllm/model-00007-of-00007.safetensors 1.5 GiBtransformer/diffusion_pytorch_model-00001-of-00005.safetensors 1.5 GiBtransformer/diffusion_pytorch_model-00003-of-00005.safetensors 1.5 GiBtransformer/diffusion_pytorch_model-00004-of-00005.safetensors 1.5 GiBtransformer/diffusion_pytorch_model-00002-of-00005.safetensors 1.5 GiBconnector/model-00001-of-00002.safetensors 1.4 GiBmllm/model-00006-of-00007.safetensors 1.3 GiBmllm/model-00005-of-00007.safetensors 1.3 GiBmllm/model-00004-of-00007.safetensors 1.3 GiBmllm/model-00003-of-00007.safetensors 1.3 GiBmllm/model-00002-of-00007.safetensors 1.3 GiBconnector/model-00002-of-00002.safetensors 299 MiBvae/diffusion_pytorch_model.safetensors 242 MiBtransformer/diffusion_pytorch_model-00005-of-00005.safetensors 234 MiBmlp/model.safetensors 119 MiB