Instructions to use diffusers/FLUX.1-dev-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/FLUX.1-dev-bnb-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/FLUX.1-dev-bnb-4bit", 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
Commit History
-
Update README.md
Verified signature27114c0 -
Update README.md
Verified signatureb04c74a -
Update README.md
Verified signature0bbe203 -
Update README.md
Verified signaturede8c55c -
Update README.md
Verified signatureb7a6b7f -
Upload FluxPipeline
Verified signaturea61b21a -
initial commit
Verified signatureb2d08ab