Instructions to use Alex995647/loras-flux2-klein-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Alex995647/loras-flux2-klein-9b 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("Alex995647/loras-flux2-klein-9b") 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
File size: 132 Bytes
b80af92 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eaeecddf2d69c68d44f345aca20c12de12db551ec8c05110e78db3a1090c8696
size 1496447
|