Instructions to use black-forest-labs/FLUX.1-Fill-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-Fill-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-Fill-dev", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use black-forest-labs/FLUX.1-Fill-dev with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
how many G VRAM is needed for flux.1 fill-dev ? My 40G A100 is out of CUDA memory
#6
by Wenrui3 - opened
how many G VRAM is needed for flux.1 fill-dev ? My 40G A100 is out of CUDA memory
May I ask if it was solved later?
I'm having the same issue running this model on Google Colab using a L4 GPU. Have you managed to get around this issue?
same here
same, my dudes
any updates?