Browse Source

SDXL LIghtning fix

pull/101/head
tin2tin 9 months ago committed by GitHub
parent
commit
f4f5bc04cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      __init__.py

2
__init__.py

@ -3765,7 +3765,7 @@ class SEQUENCER_OT_generate_image(Operator):
base = "stabilityai/stable-diffusion-xl-base-1.0"
repo = "ByteDance/SDXL-Lightning"
ckpt = "sdxl_lightning_2step_lora.pth" # Use the correct ckpt for your step setting!
ckpt = "sdxl_lightning_2step_lora.safetensors" # Use the correct ckpt for your step setting!
# Load model.
pipe = StableDiffusionXLPipeline.from_pretrained(base, torch_dtype=torch.float16, variant="fp16").to("cuda")

Loading…
Cancel
Save