Instructions to use SceneWorks/flux1-dev-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SceneWorks/flux1-dev-mlx with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SceneWorks/flux1-dev-mlx", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - MLX
How to use SceneWorks/flux1-dev-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir flux1-dev-mlx SceneWorks/flux1-dev-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Draw Things
- DiffusionBee
| license: other | |
| license_name: flux-1-dev-non-commercial-license | |
| license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md | |
| language: | |
| - en | |
| library_name: diffusers | |
| base_model: black-forest-labs/FLUX.1-dev | |
| tags: | |
| - mlx | |
| - apple-silicon | |
| - flux | |
| - quantized | |
| - text-to-image | |
| # FLUX.1-dev — MLX quant matrix (bf16 / Q8 / Q4) | |
| Pre-quantized, **MLX-ready** repackagings of [`black-forest-labs/FLUX.1-dev`](https://huggingface.co/black-forest-labs/FLUX.1-dev) | |
| for the [SceneWorks](https://github.com/SceneWorks/SceneWorks) native Apple-Silicon worker (`mlx-gen`). | |
| Each tier is a complete, self-contained turnkey snapshot that loads directly with no in-app | |
| conversion peak (epic 8506). | |
| | Tier | Subdir | Approx. size | | |
| |--------|---------|--------------| | |
| | Q4 | `q4/` | ~8.7 GB | | |
| | Q8 | `q8/` | ~17 GB | | |
| | bf16 | `bf16/` | ~31 GB | | |
| All four components are packed in Q4/Q8 — the DiT transformer, the CLIP + T5 text encoders, and the | |
| VAE's mid-block attention — using plain asymmetric group-affine quantization (group size 64), | |
| byte-identical to the worker's load-time quantization. The bf16 tier is the dense source, mirrored. | |
| ## License & attribution — NON-COMMERCIAL | |
| **These weights are governed by the FLUX.1 [dev] Non-Commercial License v1.1.1** (see `LICENSE.md`), | |
| inherited unchanged from the upstream Black Forest Labs release. This repository only re-packages the | |
| weights (quantization + MLX layout) and adds no new training. Use is permitted for non-commercial | |
| purposes only, per that license. © Black Forest Labs. Original model card: | |
| https://huggingface.co/black-forest-labs/FLUX.1-dev | |