Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ pipe.to("cuda")
|
|
22 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
23 |
#pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
|
24 |
#torch.set_float32_matmul_precision('high')
|
25 |
-
pipe.enable_xformers_memory_efficient_attention()
|
26 |
torch.cuda.empty_cache()
|
27 |
max_64_bit_int = 2**63 - 1
|
28 |
|
|
|
22 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
23 |
#pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
|
24 |
#torch.set_float32_matmul_precision('high')
|
25 |
+
#pipe.enable_xformers_memory_efficient_attention()
|
26 |
torch.cuda.empty_cache()
|
27 |
max_64_bit_int = 2**63 - 1
|
28 |
|