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
FLUX.1-dev β MLX quant matrix (bf16 / Q8 / Q4)
Pre-quantized, MLX-ready repackagings of black-forest-labs/FLUX.1-dev
for the 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
- Downloads last month
- -
Quantized
Model tree for SceneWorks/flux1-dev-mlx
Base model
black-forest-labs/FLUX.1-dev