Text-to-Image
Diffusers
stable-diffusion-xl
stable-diffusion-xl-diffusers
diffusers-training
lora
template:sd-lora
Instructions to use linoyts/huggy_lora_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use linoyts/huggy_lora_v4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("linoyts/huggy_lora_v4") prompt = "a TOK emoji dressed as an easter bunny" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("linoyts/huggy_lora_v4")
prompt = "a TOK emoji dressed as an easter bunny"
image = pipe(prompt).images[0]SDXL LoRA DreamBooth - linoyts/huggy_lora_v4

- Prompt
- a TOK emoji dressed as an easter bunny

- Prompt
- a TOK emoji dressed as an easter bunny

- Prompt
- a TOK emoji dressed as an easter bunny

- Prompt
- a TOK emoji dressed as an easter bunny
Model description
These are linoyts/huggy_lora_v4 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
Download model
Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
- LoRA: download
huggy_lora_v4.safetensorshere 💾.- Place it on your
models/Lorafolder. - On AUTOMATIC1111, load the LoRA by adding
<lora:huggy_lora_v4:1>to your prompt. On ComfyUI just load it as a regular LoRA.
- Place it on your
Use it with the 🧨 diffusers library
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('linoyts/huggy_lora_v4', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('a TOK emoji dressed as an easter bunny').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Trigger words
You should use a TOK emoji to trigger the image generation.
Details
All Files & versions.
The weights were trained using 🧨 diffusers Advanced Dreambooth Training Script.
LoRA for the text encoder was enabled. False.
Pivotal tuning was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
- Downloads last month
- 16
Model tree for linoyts/huggy_lora_v4
Base model
stabilityai/stable-diffusion-xl-base-1.0