Instructions to use DeverStyle/Krea-2-Premium-Loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DeverStyle/Krea-2-Premium-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("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DeverStyle/Krea-2-Premium-Loras") prompt = "Style transfer samples" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
I'd like to ask a question about training LoRA
#1
by Q995276820 - opened
I've run into an issue with a LoRA trained on Krea 2. I noticed that even without tagging the training images, the LoRA still takes effect when loaded—in fact, it works even without a trigger word.
For example, when I train a LoRA of a specific woman, whether the images were tagged or not, generating images with the LoRA loaded still applies the effect regardless of whether I enter the trigger word. On top of that, all female characters end up taking on the features of this LoRA. Why is this happening? This doesn't happen with Qwen Image or ZImage.