Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"] = "
|
| 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!')
|