Spaces:
Running
on
Zero
Running
on
Zero
Muhammadreza
commited on
Commit
•
71cc78c
1
Parent(s):
f2d86fb
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import cv2
|
|
10 |
pipe = DiffusionPipeline.from_pretrained("mann-e/Mann-E_Dreams", torch_dtype=torch.float16).to("cuda")
|
11 |
pipe.scheduler = DPMSolverSinglestepScheduler.from_config(pipe.scheduler.config, use_karras_sigmas=True)
|
12 |
|
13 |
-
pipe.enable_xformers_memory_efficient_attention()
|
14 |
pipe.enable_vae_slicing()
|
15 |
|
16 |
torch.cuda.empty_cache()
|
|
|
10 |
pipe = DiffusionPipeline.from_pretrained("mann-e/Mann-E_Dreams", torch_dtype=torch.float16).to("cuda")
|
11 |
pipe.scheduler = DPMSolverSinglestepScheduler.from_config(pipe.scheduler.config, use_karras_sigmas=True)
|
12 |
|
13 |
+
#pipe.enable_xformers_memory_efficient_attention()
|
14 |
pipe.enable_vae_slicing()
|
15 |
|
16 |
torch.cuda.empty_cache()
|