Instructions to use ModelsLab/flux.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ModelsLab/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("ModelsLab/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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/model.safetensors from ModelsLab/flux.1-dev: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/ModelsLab/flux.1-dev/resolve/main/text_encoder/model.safetensors
- Command line
-
hf download hf://ModelsLab/flux.1-dev/text_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/ModelsLab/flux.1-dev/resolve/main/text_encoder/model.safetensors
246 MB
- Xet hash:
- 413459000fdce4c7d7c50e2a7841333f6728021970bf2d905e8b384b8decab9b
- Size of remote file:
- 246 MB
- SHA256:
- 893d67a23f4693ed42cdab4cbad7fe3e727cf59609c40da28a46b5470f9ed082
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.