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: 131 Bytes
b80af92 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b68e40c036407c2636ac82ae720e80b982d197e29e3169c16d99ab9b0df79800
size 318582
|