Instructions to use black-forest-labs/FLUX.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use black-forest-labs/FLUX.1-dev with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
max resolution?
#32
by CHNtentes - opened
I tried 1920 x 1080 and the result was very low-res like and blurry.
Currently up to 1440 x 960 seems fine.
High resolutions are only possible via high res fix. This is most likely caused by distillation. Dev has many other quality issues that Pro does not have. It’s sad that, like with SD3, we didn’t get full model.
High resolutions are only possible via high res fix. This is most likely caused by distillation. Dev has many other quality issues that Pro does not have. It’s sad that, like with SD3, we didn’t get full model.
Thanks for your reply. Well, I guessed that was the case. I tried some more resolution settings and anything more than 1.5 million pixels was unstable
