Instructions to use DeverStyle/Flux.2-Klein-Loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DeverStyle/Flux.2-Klein-Loras 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.2-klein-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DeverStyle/Flux.2-Klein-Loras") prompt = "Orange Splatter Illustration samples" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download samples/tldr_samples.png from DeverStyle/Flux.2-Klein-Loras: direct link, hf CLI and curl.
- Browser
- Download file 1.95 MB
-
https://huggingface.co/DeverStyle/Flux.2-Klein-Loras/resolve/main/samples/tldr_samples.png
- Command line
-
hf download hf://DeverStyle/Flux.2-Klein-Loras/samples/tldr_samples.png
-
curl -L -o tldr_samples.png https://huggingface.co/DeverStyle/Flux.2-Klein-Loras/resolve/main/samples/tldr_samples.png
1.95 MB

- Xet hash:
- ae1a76d9c6404b25899684a4e9a9d802fbc3f3c4071226cccffa68eddcfafb64
- Size of remote file:
- 1.95 MB
- SHA256:
- efc1296e13e213095786637be4313b65253193e7dfb1b737c473972459f18362
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.