KingNish commited on
Commit
8797d89
·
verified ·
1 Parent(s): ae04b43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -10,7 +10,6 @@ device = "cuda"
10
 
11
  torch.cuda.max_memory_allocated(device=device)
12
  pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash")
13
- pipe.enable_xformers_memory_efficient_attention()
14
  pipe = pipe.to(device)
15
  pipe.scheduler = DPMSolverSinglestepScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
16
 
 
10
 
11
  torch.cuda.max_memory_allocated(device=device)
12
  pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash")
 
13
  pipe = pipe.to(device)
14
  pipe.scheduler = DPMSolverSinglestepScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
15