Instructions to use Owen777/Kontext-Style-Loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Owen777/Kontext-Style-Loras with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Owen777/Kontext-Style-Loras", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
issue in lora loading with nunchaku fp4 fluxkontext
1
#3 opened 9 months ago
by
tradetheunicorn
ComfyUI compatibility.
7
#2 opened 10 months ago
by
shrisha
Could you recommend codes to train lora?
6
#1 opened 11 months ago
by
LanguageBind