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
Prediction failed
Good morning
In lucataco/flux-dev-lora
I get this as an error message and I don't know why. Do you have an idea?
Prediction failed.
is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with token or log in with huggingface-cli login.
I'm having the same problem, did you ever figure this out?
I'm having the same problem, I've done a few other trainings (in the web application) and they have worked, and from nowhere using the same steps as always I now get this error message.
go to https://huggingface.co/black-forest-labs/FLUX.1-dev/
Log in with the same user as the huggingface information filled in on the lucataco/ai-toolkit
Agree this:
reTrain