Update src/models/geometry/render/renderutils/ops.py
Browse files
src/models/geometry/render/renderutils/ops.py
CHANGED
@@ -9,6 +9,9 @@
|
|
9 |
|
10 |
import numpy as np
|
11 |
import os
|
|
|
|
|
|
|
12 |
import sys
|
13 |
import torch
|
14 |
import torch.utils.cpp_extension
|
|
|
9 |
|
10 |
import numpy as np
|
11 |
import os
|
12 |
+
os.environ['CUDA_HOME'] = '/usr/local/cuda-12.1'
|
13 |
+
os.environ['PATH'] += ':/usr/local/cuda-12.1/bin'
|
14 |
+
os.environ['LD_LIBRARY_PATH'] += ':/usr/local/cuda-12.1/lib64'
|
15 |
import sys
|
16 |
import torch
|
17 |
import torch.utils.cpp_extension
|