Manjushri commited on
Commit
2810ce6
·
verified ·
1 Parent(s): e028758

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ pipe = StableVideoDiffusionPipeline.from_pretrained("stabilityai/stable-video-di
20
  pipe.to("cuda")
21
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
22
  #pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
23
- torch.set_float16_matmul_precision('high')
24
  #pipe.enable_xformers_memory_efficient_attention()
25
  torch.cuda.empty_cache()
26
  max_64_bit_int = 2**63 - 1
 
20
  pipe.to("cuda")
21
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
22
  #pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
23
+ #torch.set_float32_matmul_precision('high')
24
  #pipe.enable_xformers_memory_efficient_attention()
25
  torch.cuda.empty_cache()
26
  max_64_bit_int = 2**63 - 1