Manjushri commited on
Commit
74b6780
·
verified ·
1 Parent(s): f26a3dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ torch.cuda.max_memory_allocated(device=device)
19
  torch.cuda.empty_cache()
20
  pipe = StableVideoDiffusionPipeline.from_pretrained("stabilityai/stable-video-diffusion-img2vid-xt-1-1", variant="fp16")
21
  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
 
 
19
  torch.cuda.empty_cache()
20
  pipe = StableVideoDiffusionPipeline.from_pretrained("stabilityai/stable-video-diffusion-img2vid-xt-1-1", variant="fp16")
21
  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