Instructions to use mlx-community/HiDream-O1-Image-Dev-mlx-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/HiDream-O1-Image-Dev-mlx-bf16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir HiDream-O1-Image-Dev-mlx-bf16 mlx-community/HiDream-O1-Image-Dev-mlx-bf16
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
README: add HF-download install path
Browse files
README.md
CHANGED
|
@@ -86,9 +86,29 @@ Per-group dequantization rounding compounds across the 36 decoder layers and sho
|
|
| 86 |
|
| 87 |
Requires macOS on Apple Silicon (M1 or newer). Tested on macOS 14+ with a 64 GB Mac Studio.
|
| 88 |
|
|
|
|
|
|
|
| 89 |
```bash
|
| 90 |
-
|
|
|
|
| 91 |
cd hidream-o1-mlx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
uv venv --python 3.11
|
| 93 |
uv pip install -r requirements.txt
|
| 94 |
|
|
|
|
| 86 |
|
| 87 |
Requires macOS on Apple Silicon (M1 or newer). Tested on macOS 14+ with a 64 GB Mac Studio.
|
| 88 |
|
| 89 |
+
### Quick start (download pre-converted weights — recommended)
|
| 90 |
+
|
| 91 |
```bash
|
| 92 |
+
# Clone the repo (code, docs, samples)
|
| 93 |
+
hf download Mrbizarro/HiDream-O1-Image-Dev-mlx-bf16 --local-dir hidream-o1-mlx
|
| 94 |
cd hidream-o1-mlx
|
| 95 |
+
|
| 96 |
+
# Set up the venv
|
| 97 |
+
uv venv --python 3.11
|
| 98 |
+
uv pip install -r requirements.txt
|
| 99 |
+
|
| 100 |
+
# Generate (model files are at the repo root — pass --model-path .)
|
| 101 |
+
.venv/bin/python scripts/hidream_o1/generate_hidream_o1_mlx.py \
|
| 102 |
+
--model-path . \
|
| 103 |
+
--prompt "your prompt here" \
|
| 104 |
+
--output out.png
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
### Or convert from upstream weights yourself
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
git clone https://huggingface.co/Mrbizarro/HiDream-O1-Image-Dev-mlx-bf16
|
| 111 |
+
cd HiDream-O1-Image-Dev-mlx-bf16
|
| 112 |
uv venv --python 3.11
|
| 113 |
uv pip install -r requirements.txt
|
| 114 |
|