haodongli commited on
Commit
3cf68f2
1 Parent(s): 338a557

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +0 -5
  2. pre-requirements.txt +20 -0
  3. requirements.txt +4 -21
app.py CHANGED
@@ -2,9 +2,6 @@ import gradio as gr
2
  import numpy as np
3
  import os
4
 
5
- import torch
6
- print("CUDA_ARCH ==>", torch.cuda.get_device_capability(0))
7
-
8
  try:
9
  from train import *
10
  print('==> simple-knn & diff-gaussian-rasterization already installed!')
@@ -13,8 +10,6 @@ except:
13
  # https://github.com/pytorch/extension-cpp/issues/71
14
  os.environ["TORCH_CUDA_ARCH_LIST"] = "5.0;5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6;8.7;8.9;9.0+PTX"
15
  print('==> TORCH_CUDA_ARCH_LIST =', os.environ.get('TORCH_CUDA_ARCH_LIST'))
16
- os.system("python -m pip install git+https://github.com/openai/point-e.git")
17
- print('==> point-e installed!')
18
  os.system("python -m pip install git+https://github.com/YixunLiang/simple-knn.git")
19
  print('==> simple-knn installed!')
20
  os.system("python -m pip install git+https://github.com/YixunLiang/diff-gaussian-rasterization.git")
 
2
  import numpy as np
3
  import os
4
 
 
 
 
5
  try:
6
  from train import *
7
  print('==> simple-knn & diff-gaussian-rasterization already installed!')
 
10
  # https://github.com/pytorch/extension-cpp/issues/71
11
  os.environ["TORCH_CUDA_ARCH_LIST"] = "5.0;5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6;8.7;8.9;9.0+PTX"
12
  print('==> TORCH_CUDA_ARCH_LIST =', os.environ.get('TORCH_CUDA_ARCH_LIST'))
 
 
13
  os.system("python -m pip install git+https://github.com/YixunLiang/simple-knn.git")
14
  print('==> simple-knn installed!')
15
  os.system("python -m pip install git+https://github.com/YixunLiang/diff-gaussian-rasterization.git")
pre-requirements.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pip==23.3.1
2
+ torch==2.0.0 --index-url https://download.pytorch.org/whl/cu118
3
+ torchvision==0.15.1 --index-url https://download.pytorch.org/whl/cu118
4
+ torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
5
+ tqdm
6
+ mediapipe
7
+ Pillow
8
+ diffusers==0.18.2
9
+ transformers==4.30.2
10
+ fire==0.5.0
11
+ huggingface_hub==0.16.4
12
+ imageio==2.31.1
13
+ imageio-ffmpeg
14
+ PyYAML
15
+ safetensors
16
+ wandb
17
+ accelerate
18
+ triton
19
+ gradio
20
+ plyfile==0.8.1
requirements.txt CHANGED
@@ -1,21 +1,4 @@
1
- pip==24.2
2
- # torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121
3
- # torchvision==0.16.2 --index-url https://download.pytorch.org/whl/cu121
4
- # torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
5
- tqdm==4.66.1
6
- mediapipe==0.10.8
7
- Pillow==10.1.0
8
- diffusers==0.18.2
9
- transformers==4.30.2
10
- fire==0.5.0
11
- huggingface_hub==0.16.4
12
- imageio==2.31.1
13
- imageio-ffmpeg==0.4.9
14
- PyYAML==6.0.1
15
- safetensors==0.4.1
16
- wandb==0.16.0
17
- accelerate==0.24.1
18
- triton==2.1.0
19
- gradio==4.7.1
20
- plyfile==0.8.1
21
- xformers==0.0.23.post1 --index-url https://download.pytorch.org/whl/cu121
 
1
+ xformers==0.0.18
2
+ git+https://github.com/openai/point-e.git
3
+ # git+https://github.com/YixunLiang/simple-knn.git
4
+ # git+https://github.com/YixunLiang/diff-gaussian-rasterization.git