Instructions to use Comfy-Org/flux1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Comfy-Org/flux1-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
A simple python pipeline creation example to use this FP8 version of Flux.1-dev ?
#3
by AfterHAL - opened
Out of curiosity, I'm trying to load this FP8 model in a python script, and I would like to be able to load it as fast as in ComfyUI (40 secs from scratch on a 4090), and use only 18 GB of VRAM, also like in ComfyUI.
It would be great if we could have a complete example of a Python script to load and use this model.
Thanks in advance.
Use diffusers, there is a FluxPipeline.