Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
920401b
1
Parent(s):
598376d
Update app.py
Browse files
app.py
CHANGED
@@ -32,11 +32,11 @@ pipe = AutoPipelineForText2Image.from_pretrained(
|
|
32 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
33 |
|
34 |
pipe=pipe.to("cuda")
|
35 |
-
pipe.load_lora_weights(adapter_id)
|
36 |
#pipe.load_lora_weights(adapter_id_2)
|
37 |
-
pipe.fuse_lora()
|
38 |
|
39 |
-
|
40 |
#pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|
41 |
#pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
42 |
|
|
|
32 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
33 |
|
34 |
pipe=pipe.to("cuda")
|
35 |
+
#pipe.load_lora_weights(adapter_id)
|
36 |
#pipe.load_lora_weights(adapter_id_2)
|
37 |
+
#pipe.fuse_lora()
|
38 |
|
39 |
+
pipe.enable_freeu(s1=0.9, s2=0.2, b1=1.3, b2=1.4)
|
40 |
#pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|
41 |
#pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
42 |
|