Instructions to use moonbox-dev/HiDream-O1-Image-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/HiDream-O1-Image-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/HiDream-O1-Image-MLX --local-dir HiDream-O1-Image-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download 4bit/config.json from moonbox-dev/HiDream-O1-Image-MLX: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/moonbox-dev/HiDream-O1-Image-MLX/resolve/main/4bit/config.json
- Command line
-
hf download hf://moonbox-dev/HiDream-O1-Image-MLX/4bit/config.json
-
curl -L -o config.json https://huggingface.co/moonbox-dev/HiDream-O1-Image-MLX/resolve/main/4bit/config.json
1.37 kB
| { | |
| "model_type": "qwen3_vl", | |
| "architecture": "hidream_o1_image", | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 151645, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 12288, | |
| "max_position_embeddings": 262144, | |
| "model_type": "qwen3_vl_text", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 8, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 24, | |
| 20, | |
| 20 | |
| ], | |
| "rope_type": "default" | |
| }, | |
| "rope_theta": 5000000, | |
| "use_cache": true, | |
| "vocab_size": 151936 | |
| }, | |
| "vision_config": { | |
| "deepstack_visual_indexes": [ | |
| 8, | |
| 16, | |
| 24 | |
| ], | |
| "depth": 27, | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 1152, | |
| "in_channels": 3, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4304, | |
| "model_type": "qwen3_vl", | |
| "num_heads": 16, | |
| "num_position_embeddings": 2304, | |
| "out_hidden_size": 4096, | |
| "patch_size": 16, | |
| "spatial_merge_size": 2, | |
| "temporal_patch_size": 2 | |
| }, | |
| "image_token_id": 151655, | |
| "video_token_id": 151656, | |
| "vision_start_token_id": 151652, | |
| "tms_token_id": 151673, | |
| "patch_size": 32, | |
| "quantization": { | |
| "group_size": 64, | |
| "bits": 4, | |
| "mode": "affine" | |
| }, | |
| "precision": "4bit" | |
| } | |