Update src/models/geometry/render/renderutils/ops.py
Browse files
src/models/geometry/render/renderutils/ops.py
CHANGED
@@ -77,9 +77,9 @@ def _get_plugin():
|
|
77 |
pass
|
78 |
|
79 |
# Compile and load.
|
80 |
-
source_paths = [os.path.join(os.path.dirname(__file__), fn) for fn in source_files]
|
81 |
-
torch.utils.cpp_extension.load(name='renderutils_plugin', sources=source_paths, extra_cflags=opts,
|
82 |
-
|
83 |
|
84 |
# Import, cache, and return the compiled module.
|
85 |
import renderutils_plugin
|
|
|
77 |
pass
|
78 |
|
79 |
# Compile and load.
|
80 |
+
# source_paths = [os.path.join(os.path.dirname(__file__), fn) for fn in source_files]
|
81 |
+
# torch.utils.cpp_extension.load(name='renderutils_plugin', sources=source_paths, extra_cflags=opts,
|
82 |
+
# extra_cuda_cflags=opts, extra_ldflags=ldflags, with_cuda=True, verbose=True)
|
83 |
|
84 |
# Import, cache, and return the compiled module.
|
85 |
import renderutils_plugin
|