cbensimon HF staff commited on
Commit
1d996bd
·
verified ·
1 Parent(s): 9f5c61a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
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()