Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|