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
- Draw Things
- DiffusionBee
comfyui does not recognize model files in sft format
#18
by peidong - opened
My comfyui is the latest version, and both the large model and VAE model of sft format have been placed in the specified position, but when I select the large model and VAE in the comfyui workflow, I do not know the reason why I cannot see the sft model.
both to me
put it in unet folder not other folders
Does ComfyUI need any other files from the repo than the *.sft file?
I renamed .sft files to .safetensors and it works now.
This issue has been fixed, it is a comfyui kernel version issue! I re-downloaded the latest comfyui package, unzipped it into the old comfyui folder, and replaced the old files.