Downloads · 30 days
89
10% of all-time downloads
mlx-community/HiDream-O1-Image-Dev-mlx-q8
HiDream-O1-Image-Dev-mlx-q8 is a text-to-image model from mlx-community. Use it when you need an image from a text prompt. It is set up for mlx. The card lists the license as mit.
Ported by Mrbizarro · MIT licensed · published to mlx-community
Downloads · 30 days
89
10% of all-time downloads
All-time downloads
911
Public
Parameters
8.8B
10.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors10.1 GB · 100%
How the weights are stored.
U328B · 91%
From the Hugging Face model README
Ported by Mrbizarro · MIT licensed · published to mlx-community
Phosphene is a free local generative-video panel for Apple Silicon. HiDream is wired into its Image Studio. Install Pinokio, then in Pinokio install Phosphene. Note: Phosphene's HiDream integration uses BF16 by default since edit requires BF16 — this Q8 repo is for text-to-image-only workflows that want a deterministic memory upper bound.
An 8-bit quantized MLX port of HiDream-ai/HiDream-O1-Image-Dev.
⚠ Q8 does NOT support edit / multi-ref. Per-group dequantization noise compounds against reference-image features in attention and produces degenerate output. For edit / multi-reference workflows use the BF16 sibling repo instead.
model.safetensors — Q8 quantized backbone (10 GB)extras/custom_heads.safetensors — diffusion-side heads (75 MB, BF16)config.json (with quantization: {bits: 8, group_size: 64} so mlx-vlm wraps Linear → QuantizedLinear correctly)Inference scripts are in the BF16 sibling repo under scripts/hidream_o1/. Clone that for code, this for weights only.
# Get the code from the BF16 sibling
hf download mlx-community/HiDream-O1-Image-Dev-mlx-bf16 --local-dir hidream-o1-mlx \
--include "scripts/*" --include "*.md" --include "*.txt" --include "*.gitattributes"
cd hidream-o1-mlx
uv venv --python 3.11 && uv pip install -r requirements.txt
# Get the Q8 weights
hf download mlx-community/HiDream-O1-Image-Dev-mlx-q8 --local-dir mlx_models/hidream-o1-dev-q8
# Run (square dims only for clean output)
.venv/bin/python scripts/hidream_o1/generate_hidream_o1_mlx.py \
--model-path mlx_models/hidream-o1-dev-q8 \
--prompt "your prompt here" \
--width 2048 --height 2048 \
--output out.png
| Resolution | Per step | Total (28 steps) | Peak RAM | Quality |
|---|---|---|---|---|
| 1024×1024 | 2.36 s | 67 s | 11.5 GB | ✅ clean |
| 2048×2048 | 6.68 s | 187 s | 11.5 GB | ✅ clean |
| 1440×2560 (non-square) | ~4.5 s | ~127 s | ~10 GB | ⚠ patch grid visible |
MIT — see the BF16 repo for the full LICENSE file and acknowledgements.