Manjushri commited on
Commit
0a058f5
·
verified ·
1 Parent(s): 6ac59ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -22,6 +22,7 @@ pipe.to("cuda")
22
  #pipe.enable_xformers_memory_efficient_attention()
23
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
24
  #pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
 
25
  torch.cuda.empty_cache()
26
  max_64_bit_int = 2**63 - 1
27
 
 
22
  #pipe.enable_xformers_memory_efficient_attention()
23
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
24
  #pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
25
+ torch.set_float32_matmul_precision('high')
26
  torch.cuda.empty_cache()
27
  max_64_bit_int = 2**63 - 1
28