Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ 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 |
-
|
24 |
#pipe.vae = torch.compile(pipe.vae, mode="reduce-overhead", fullgraph=True)
|
25 |
|
26 |
max_64_bit_int = 2**63 - 1
|
|
|
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 |
|
26 |
max_64_bit_int = 2**63 - 1
|