Instructions to use man33sh/flux-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use man33sh/flux-lora 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") pipe.load_lora_weights("man33sh/flux-lora") 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
Download optimizer.pt from man33sh/flux-lora: direct link, hf CLI and curl.
- Browser
- Download file 176 MB
-
https://huggingface.co/man33sh/flux-lora/resolve/main/optimizer.pt
- Command line
-
hf download hf://man33sh/flux-lora/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/man33sh/flux-lora/resolve/main/optimizer.pt
176 MB
- Xet hash:
- a330091f502c18571f513bc52cc075d39102113869959fd44dd4bfc94337cb15
- Size of remote file:
- 176 MB
- SHA256:
- 9f3edb3cdbf5e2e6a44b6c9cca3764a5115da5e3b32f844bafd05bec221e1ff8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.