Downloads · 30 days
53
9% of all-time downloads
linoyts/flux2-klein-lora-v5
flux2-klein-lora-v5 is a text-to-image model from linoyts. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
53
9% of all-time downloads
All-time downloads
622
Public
Repo size
1.8 GB
Likes
1
Public
Click a slice to open those files.
.safetensors946 MB · 70%
From the Hugging Face model README
These are linoyts/flux2-klein-kv-lora-v5 DreamBooth LoRA weights for black-forest-labs/FLUX.2-klein-base-9B.
The weights were trained using DreamBooth with the Flux2 diffusers trainer.
FP8 training? False
You should use None to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.2", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('linoyts/flux2-klein-kv-lora-v5', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('None').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]