Instructions to use AITRADER/FLUX2-klein-9B-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AITRADER/FLUX2-klein-9B-mlx-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir FLUX2-klein-9B-mlx-4bit AITRADER/FLUX2-klein-9B-mlx-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| tags: | |
| - mlx | |
| - mflux | |
| - flux | |
| - flux2 | |
| - image-generation | |
| library_name: mflux | |
| base_model: black-forest-labs/FLUX.2-klein-9B | |
| # FLUX.2 klein 9B (MLX 4-bit) | |
| Pre-quantized **MLX** weights in the **mflux** format for faster local loading. | |
| ## Usage (mflux) | |
| ```sh | |
| uv tool install --upgrade mflux | |
| mflux-generate-flux2 --model AITRADER/FLUX2-klein-9B-mlx-4bit --base-model flux2-klein-9b --prompt "A puffin standing on a cliff" --width 1024 --height 1024 --steps 50 --guidance 3.5 \ | |
| --seed 42 --output image.png | |
| ``` | |
| ## Notes | |
| - This is **not** an official Black Forest Labs release; it is a convenience repackage for MLX. | |
| - For the original model, see `black-forest-labs/FLUX.2-klein-9B`. | |