PyTorch manual upgrade not needed anymore

#22
by cbensimon HF Staff - opened
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -1,8 +1,3 @@
1
- # PyTorch 2.8 (hack)
2
- import os
3
- os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9"')
4
-
5
- # Actual demo code
6
  import spaces
7
  import torch
8
  from diffusers.pipelines.wan.pipeline_wan_i2v import WanImageToVideoPipeline
 
 
 
 
 
 
1
  import spaces
2
  import torch
3
  from diffusers.pipelines.wan.pipeline_wan_i2v import WanImageToVideoPipeline