Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -810,12 +810,6 @@ def main():
|
|
810 |
),
|
811 |
)
|
812 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
813 |
-
try:
|
814 |
-
import xformers
|
815 |
-
|
816 |
-
pipe.enable_xformers_memory_efficient_attention()
|
817 |
-
except:
|
818 |
-
pass # run without xformers
|
819 |
|
820 |
pipe = pipe.to(device)
|
821 |
pipe.unet = pipe.unet.cuda()
|
|
|
810 |
),
|
811 |
)
|
812 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
|
|
|
|
|
|
|
|
|
|
|
|
813 |
|
814 |
pipe = pipe.to(device)
|
815 |
pipe.unet = pipe.unet.cuda()
|