HighCWu commited on
Commit
001502a
·
verified ·
1 Parent(s): 0e54444

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -151,7 +151,8 @@ pipe = StableDiffusionControlLoraV3Pipeline.from_pretrained(
151
  "runwayml/stable-diffusion-v1-5", unet=unet, torch_dtype=torch.float16
152
  )
153
  # load attention processors
154
- pipe.load_lora_weights("HighCWu/sd-control-lora-v3-canny")
 
155
 
156
  # speed up diffusion process with faster scheduler and memory optimization
157
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
@@ -200,7 +201,8 @@ pipe = StableDiffusionXLControlLoraV3Pipeline.from_pretrained(
200
  "stabilityai/stable-diffusion-xl-base-1.0", unet=unet, vae=vae, torch_dtype=torch.float16
201
  )
202
  # load attention processors
203
- pipe.load_lora_weights("HighCWu/sdxl-control-lora-v3-canny")
 
204
  pipe.enable_model_cpu_offload()
205
 
206
  # get canny image
 
151
  "runwayml/stable-diffusion-v1-5", unet=unet, torch_dtype=torch.float16
152
  )
153
  # load attention processors
154
+ # pipe.load_lora_weights("HighCWu/sd-control-lora-v3-canny")
155
+ pipe.load_lora_weights("HighCWu/control-lora-v3", subfolder="sd-control-lora-v3-canny-half_skip_attn-rank16-conv_in-rank64")
156
 
157
  # speed up diffusion process with faster scheduler and memory optimization
158
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
 
201
  "stabilityai/stable-diffusion-xl-base-1.0", unet=unet, vae=vae, torch_dtype=torch.float16
202
  )
203
  # load attention processors
204
+ # pipe.load_lora_weights("HighCWu/sdxl-control-lora-v3-canny")
205
+ pipe.load_lora_weights("HighCWu/control-lora-v3", subfolder="sdxl-control-lora-v3-canny-half_skip_attn-rank16-conv_in-rank64")
206
  pipe.enable_model_cpu_offload()
207
 
208
  # get canny image