Loading…
Loading…
black-forest-labs/FLUX.2-klein-4BThis is a Q4 MFlux version of FLUX.2-klein-4B.
MFlux runs the latest state-of-the-art generative image models locally on your Mac in native MLX. MFlux is open source and free.
[!NOTE] Community conversion by MFlux-Community -- not an official release from the original model's authors. The original model's license applies unchanged, see License.
| QUANT | GB | Repo |
|---|---|---|
| BF16 | 16.0 | mflux-community/flux2-klein-4b-mflux-bf16 |
| Q8 | 17.1 | mflux-community/flux2-klein-4b-mflux-q8 |
| Q6 | 6.6 | mflux-community/flux2-klein-4b-mflux-q6 |
| Q5 | 5.6 | mflux-community/flux2-klein-4b-mflux-q5 |
| Q4 | 4.6 | this repo |
| Q3 | 3.6 | mflux-community/flux2-klein-4b-mflux-q3 |
Converted on 2026-08-03.
Standard MFlux quantization uses MLX affine quantization (4-bit) across the text encoder, transformer and VAE. The quantization level is stored in the weights, so no --quantize flag is needed.
Install MFlux
uv tool install --upgrade mflux
Edit an image using FLUX.2-klein-4B Q4:
mflux-generate-flux2 \
--model mflux-community/flux2-klein-4b-mflux-q4 \
--base-model flux2-klein-4b \
--prompt "A puffin standing on a cliff" \
--width 1024 \
--height 1024 \
--seed 42 \
--output image.png
The weights are downloaded from this repo on first use. To keep a local copy instead:
hf download mflux-community/flux2-klein-4b-mflux-q4 --local-dir ./flux2-klein-4b-mflux-q4
then pass --model ./flux2-klein-4b-mflux-q4.
This repo inherits the license of the original model: apache-2.0. See the original model card for the full terms and any usage restrictions. The weights here were modified from the original release only by conversion to MLX and quantization.