This is a randomly initialized tiny model based on inclusionAI/Ming-Image-0.2-Design for testing and debugging.

Feature Source This repo
Checkpoint tensor elements 23.28B BF16, 1.57B F32 8.92M BF16, 2.44M F32
Safetensors weight files 52.87 GB (16 files) 29.45 MB (5 files)
MLLM width / layers / attention (KV) heads 2,048 / 20 / 16 (4) 12 / 20 / 1 (1)
MLLM head dim 128 128
Routed experts / active / shared 256 / 8 / 1 Same
MLLM vocabulary 157,184 Same
Vision tower width / depth 1,280 / 32 8 / 2
Vision merger output width 8,192 8,192
Connector width / layers / vocabulary 1,536 / 28 / 151,936 16 / 2 / 151,936
DiT width / heads / layers / refiner layers 3,840 / 30 / 30 / 2 64 / 2 / 2 / 2
DiT mRoPE axis dims (sum = head dim) [32, 48, 48] (128) [8, 12, 12] (32)
DiT input channels / conditioning width 16 / 2,560 16 / 32
VAE base width / latent z 96 / 16 8 / 16
VAE scaling / shift 8.0064 / 0.0 Same
Serialized precision BF16 MLLM/DiT/VAE; F32 connector and MLP Same

Ming-Image is a six-component image-generation package, not a Transformers or Diffusers pipeline. This repo ships the pinned upstream runtime under ming_image/ (infer.py, the BailingMoeV2/Qwen2.5-VL MLLM, the DiffusionTransformer, the QwenImage VAE and the processor) and keeps the source component layout, so the CLI loads the checkpoint without a separate package. Architecture contracts are preserved rather than shrunk: the vision merger output stays 8,192 wide, the DiT mRoPE sections sum to the head dimension, and the conditioning taps [5, 12, 20] force 20 MLLM layers. The connector and the conditioning MLP stay FP32 like the source; the MLLM, DiT and VAE stay BF16. The source pins torch==2.4.0, but its Diffusers 0.36 attention path always passes enable_gqa, so the validated runtime uses torch>=2.5 (see requirements.txt).

File path Size
connector/model.safetensors 9.7MB
mllm/model.safetensors 16.4MB
mlp/model.safetensors 0.0MB
transformer/diffusion_pytorch_model.safetensors 1.4MB
vae/diffusion_pytorch_model.safetensors 1.9MB

Example usage

Ming image CLI (text-to-image, edit, profile) (βœ… verified)

Download tiny-random/ming-image-0.2-design and run the bundled ming_image/infer.py runtime on one GPU. The checkpoint keeps the source component layout (mllm/, connector/, mlp/, transformer/, vae/, scheduler/) and the source capability profile (generation_edit, zero-masked alignment padding, argmax VAE sampling). Install the runtime dependencies from the checkpoint's requirements.txt; torch>=2.5 is required because Diffusers 0.36 native attention passes enable_gqa, which the source's torch==2.4.0 pin cannot run. Two steps is a smoke test; the checkpoint-family default is 12. --device-map none is used because the tiny MLLM fits on a single device. Text-to-image runs at 1024x1024 because the CLI snaps every request to a resolution bucket that starts at 1024.

huggingface-cli download tiny-random/ming-image-0.2-design --local-dir ming-image-tiny
cd ming-image-tiny

python ming_image/infer.py \
  --model . \
  --task text-to-image \
  --prompt "A tiny red cube on a white background." \
  --width 1024 --height 1024 \
  --steps 2 \
  --device cuda:0 \
  --device-map none \
  --output-dir outputs/tiny-t2i

python -c 'from PIL import Image; Image.new("RGBA", (1024, 1024), (200, 30, 30, 255)).save("reference.png")'
python ming_image/infer.py \
  --model . \
  --task image-edit \
  --input-image reference.png \
  --prompt "Turn the image into a watercolor painting." \
  --resolution 1024 \
  --steps 2 \
  --device cuda:0 \
  --device-map none \
  --output-dir outputs/tiny-edit

python ming_image/infer.py \
  --model . \
  --task text-to-image \
  --prompt "unused" \
  --width 1024 --height 1024 \
  --validate-only

Creating this repo

Change log

  • 2026-11-30: Initial tiny Ming-Image-0.2-Design checkpoint with the pinned Ming runtime.

This repo is generated by DeepSeek-V4.1-Flash.

Downloads last month
20
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for tiny-random/ming-image-0.2-design

Finetuned
(11)
this model

Collection including tiny-random/ming-image-0.2-design