Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from huggingface_hub import hf_hub_download
16
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
17
  torch.cuda.max_memory_allocated(device=device)
18
  torch.cuda.empty_cache()
19
- pipe = StableVideoDiffusionPipeline.from_pretrained("stabilityai/stable-video-diffusion-img2vid-xt-1-1", torch_dtype=torch.float16, use_safetensors=True, variant="fp16" )
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)
 
16
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
17
  torch.cuda.max_memory_allocated(device=device)
18
  torch.cuda.empty_cache()
19
+ pipe = StableVideoDiffusionPipeline.from_pretrained("vdo/stable-video-diffusion-img2vid-xt-1-1", torch_dtype=torch.float16, use_safetensors=True, variant="fp16" )
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)