kaifz commited on
Commit
a7d82ec
·
1 Parent(s): fa13f1f
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -57,8 +57,8 @@ diff_gaussian_rasterization = importlib.import_module("diff_gaussian_rasterizati
57
 
58
  subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-deps", "dgl", "-f", "https://data.dgl.ai/wheels/torch-2.4/cu124/repo.html"])
59
 
60
- subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "-y", "torch", "torchvision", "torchaudio"])
61
- subprocess.check_call([sys.executable, "-m", "pip", "install", "torch==2.4.0", "torchvision==0.19.0", "torchaudio==2.4.0", "--index-url", "https://download.pytorch.org/whl/cu124"])
62
  # os.system('conda install conda-forge::ffmpeg')
63
 
64
  site.main() # re-processes every *.pth in site-packages
 
57
 
58
  subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-deps", "dgl", "-f", "https://data.dgl.ai/wheels/torch-2.4/cu124/repo.html"])
59
 
60
+ # subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "-y", "torch", "torchvision", "torchaudio"])
61
+ # subprocess.check_call([sys.executable, "-m", "pip", "install", "torch==2.4.0", "torchvision==0.19.0", "torchaudio==2.4.0", "--index-url", "https://download.pytorch.org/whl/cu124"])
62
  # os.system('conda install conda-forge::ffmpeg')
63
 
64
  site.main() # re-processes every *.pth in site-packages
requirements.txt CHANGED
@@ -23,6 +23,6 @@ timm
23
  omegaconf
24
  hydra-core
25
  wandb
26
- # torch==2.4.0 --index-url https://download.pytorch.org/whl/cu124
27
  # torchvision==0.19.0 --index-url https://download.pytorch.org/whl/cu124
28
  # torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu124
 
23
  omegaconf
24
  hydra-core
25
  wandb
26
+ torch==2.4.0 --index-url https://download.pytorch.org/whl/cu124
27
  # torchvision==0.19.0 --index-url https://download.pytorch.org/whl/cu124
28
  # torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu124