Instructions to use Audante/FLUX.2-klein-4B-nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Audante/FLUX.2-klein-4B-nf4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Audante/FLUX.2-klein-4B-nf4", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
FLUX.2 [klein] 4B (diffusers, NF4)
Derived from a copy of black-forest-labs/FLUX.2-klein-4B at revision e7b7dc27f91deacad38e78976d1f2b499d76a294, by Black Forest Labs. This is not an official release.
Changes
Transformer and text encoder quantised to 4 bit (bitsandbytes NF4, bf16 compute) and saved; the other parts are unchanged. No retraining.
Licence
Apache License 2.0, as the source โ see LICENSE.
All rights to the model remain with its authors.
SHA256SUMS, where present, lists the checksum of every file.
- Downloads last month
- -
Model tree for Audante/FLUX.2-klein-4B-nf4
Base model
black-forest-labs/FLUX.2-klein-4B