ReubenSun commited on
Commit
791a374
·
1 Parent(s): 8a0aa9d

install torch

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +0 -3
app.py CHANGED
@@ -17,6 +17,7 @@ def install_cuda_toolkit():
17
  )
18
  os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0;8.6"
19
  install_cuda_toolkit()
 
20
  os.system("pip list | grep torch")
21
  os.system('nvcc -V')
22
  print("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && python setup.py install")
 
17
  )
18
  os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0;8.6"
19
  install_cuda_toolkit()
20
+ os.system('pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu124')
21
  os.system("pip list | grep torch")
22
  os.system('nvcc -V')
23
  print("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && python setup.py install")
requirements.txt CHANGED
@@ -1,6 +1,3 @@
1
- torch==2.5.1+cu124
2
- torchvision==0.20.1+cu124
3
- torchaudio==2.5.1+cu124
4
  datasets==2.19.0
5
  diffusers==0.32.2
6
  einops==0.8.0
 
 
 
 
1
  datasets==2.19.0
2
  diffusers==0.32.2
3
  einops==0.8.0