Instructions to use ungurenko/dflow-2b-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ungurenko/dflow-2b-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download ungurenko/dflow-2b-mlx --local-dir dflow-2b-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Add six dflow 2B sample images to the model card
Browse files- .gitattributes +1 -0
- README.md +6 -0
- examples/dflow-2b-six-genres.png +3 -0
.gitattributes
CHANGED
|
@@ -61,3 +61,4 @@ models/dflow_2b/assets/gallery/street.png filter=lfs diff=lfs merge=lfs -text
|
|
| 61 |
models/dflow_2b/assets/gallery/wahlberg.png filter=lfs diff=lfs merge=lfs -text
|
| 62 |
models/dflow_2b/assets/gallery/weenix.png filter=lfs diff=lfs merge=lfs -text
|
| 63 |
models/dflow_2b/text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 61 |
models/dflow_2b/assets/gallery/wahlberg.png filter=lfs diff=lfs merge=lfs -text
|
| 62 |
models/dflow_2b/assets/gallery/weenix.png filter=lfs diff=lfs merge=lfs -text
|
| 63 |
models/dflow_2b/text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
examples/dflow-2b-six-genres.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -16,6 +16,12 @@ base_model: data-archetype/dflow_2b
|
|
| 16 |
|
| 17 |
An experimental Apple Silicon port of [data-archetype/dflow_2b](https://huggingface.co/data-archetype/dflow_2b). The denoiser runs in MLX; the text encoder and autoencoder run in PyTorch on MPS, and sampling runs on CPU. The original model weights are unchanged. This is a hybrid implementation, not an all-MLX model or an MLX-LM model.
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
## Run
|
| 20 |
|
| 21 |
Requires Apple Silicon with MPS support, Python 3.12 and sufficient unified memory. The package includes the original weights and dependencies. Download the complete repository, including safetensors files, then from its root:
|
|
|
|
| 16 |
|
| 17 |
An experimental Apple Silicon port of [data-archetype/dflow_2b](https://huggingface.co/data-archetype/dflow_2b). The denoiser runs in MLX; the text encoder and autoencoder run in PyTorch on MPS, and sampling runs on CPU. The original model weights are unchanged. This is a hybrid implementation, not an all-MLX model or an MLX-LM model.
|
| 18 |
|
| 19 |
+
## Sample images
|
| 20 |
+
|
| 21 |
+
Six noncommercial samples generated with the original [dflow 2B](https://huggingface.co/data-archetype/dflow_2b) weights on an Apple M5 MacBook via PyTorch/MPS. Each image was generated at 768 × 768 with 50 ER-SDE steps. From left to right, top to bottom: noir film still, frog macro, maritime oil painting, tram watercolor, science fiction, and studio still life.
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
|
| 25 |
## Run
|
| 26 |
|
| 27 |
Requires Apple Silicon with MPS support, Python 3.12 and sufficient unified memory. The package includes the original weights and dependencies. Download the complete repository, including safetensors files, then from its root:
|
examples/dflow-2b-six-genres.png
ADDED
|
Git LFS Details
|