Ming-Image-0.2-Design MLX 4-bit โ€” EXPERIMENTAL

DiffusionBear โ€” Ming-Image-0.2-Design MLX 4-bit EXPERIMENTAL

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).


Base Apple M1 (16 GB) Showcase Card

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):

Ming-Image 0.2 Design on a base 16 GB M1 MacBook Pro

Measured Apple Silicon Timings (12 steps, CFG 1.0, BF16)

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


Side-by-Side Comparisons (Official 80 GB CUDA vs Local 16 GB Mac MLX Q4/Q8)

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.

Four side-by-side comparisons: Official Reference vs DiffusionBear MLX Q4/Q8

Prompt Category Official Reference (Left) vs DiffusionBear MLX Q4/Q8 (Right)
Four Seasons Cabin Four Seasons Cabin comparison
SaaS KPI Dashboard SaaS Dashboard comparison
Signal Landing Page Signal Landing comparison
Editorial Portfolio Editorial Portfolio comparison

Animated Showcase Comparisons (Official vs DiffusionBear MLX Q4/Q8)

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):

Spatial Design

Spatial Design animated comparison

E-Commerce

E-Commerce animated comparison

Web Design

Web Design animated comparison


Technical One-Pager

Ming-Image 0.2 Design MLX Q4/Q8 Technical One-Pager


Disk footprint: Official vs MLX Q4/Q8

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)

Quantization layout

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.

Validation performed

On the conversion machine (Linux x86_64, MLX CPU 0.32.5), the package was checked for:

  • expected quantized tensor counts: 14,692 in mllm, 196 in connector, 238 in transformer;
  • complete weight / .scales / .biases triples;
  • packed shapes, dtypes, group size and bit width;
  • rewritten safetensors indexes and total_size metadata;
  • bitwise equality of a representative connector tensor against a fresh MLX CPU quantization.

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).

Intended use & Credits

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:

License

The upstream model is released under the MIT license. The original LICENSE file is included unchanged. This conversion does not add additional licensing restrictions.

Downloads last month
23
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Ouinche/Ming-Image-0.2-Design-MLX-4bit-experimental

Quantized
(6)
this model