haodongli commited on
Commit
dbac099
·
verified ·
1 Parent(s): 4b2844a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import numpy as np
3
  import os
4
 
5
  import torch
6
- print(torch.cuda.get_device_capability(0))
7
 
8
  try:
9
  from train import *
@@ -11,7 +11,7 @@ try:
11
  except:
12
  print('==> simple-knn & diff-gaussian-rasterization are NOT installed!')
13
  # https://github.com/pytorch/extension-cpp/issues/71
14
- os.environ["TORCH_CUDA_ARCH_LIST"] = "3.5;5.0;6.0;6.1;7.0;7.5;8.0;8.6+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!')
 
3
  import os
4
 
5
  import torch
6
+ print("CUDA_ARCH ==>", torch.cuda.get_device_capability(0))
7
 
8
  try:
9
  from train import *
 
11
  except:
12
  print('==> simple-knn & diff-gaussian-rasterization are NOT installed!')
13
  # https://github.com/pytorch/extension-cpp/issues/71
14
+ os.environ["TORCH_CUDA_ARCH_LIST"] = "8.6"
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!')