Spaces:
Running
on
Zero
Running
on
Zero
Update app_fast.py
Browse files- app_fast.py +4 -0
app_fast.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
import spaces
|
2 |
import torch
|
3 |
from diffusers import AutoencoderKLWan, WanPipeline, WanImageToVideoPipeline, UniPCMultistepScheduler
|
|
|
1 |
+
import os
|
2 |
+
os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9" spaces')
|
3 |
+
os.system('sudo modprobe -r nvidia_uvm && sudo modprobe nvidia_uvm" spaces')
|
4 |
+
|
5 |
import spaces
|
6 |
import torch
|
7 |
from diffusers import AutoencoderKLWan, WanPipeline, WanImageToVideoPipeline, UniPCMultistepScheduler
|