We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4a2e5 commit 0bcd760Copy full SHA for 0bcd760
gsplat/cuda/_backend.py
@@ -17,7 +17,6 @@
17
from torch.utils.cpp_extension import _find_cuda_home # <--- For robust CUDA detection
18
from torch.utils.cpp_extension import (
19
_TORCH_PATH,
20
- _check_and_build_extension_h_precompiler_headers,
21
_get_build_directory,
22
_import_module_from_library,
23
_jit_compile,
@@ -64,6 +63,10 @@ def load_extension(
64
63
# But it's ok so we catch this exception and ignore it.
65
try:
66
if USE_PRECOMPILED_HEADERS:
+ from torch.utils.cpp_extension import (
67
+ _check_and_build_extension_h_precompiler_headers,
68
+ )
69
+
70
# Using PreCompiled Header('torch/extension.h') to reduce compile time.
71
# remove: remove_extension_h_precompiler_headers()
72
_check_and_build_extension_h_precompiler_headers(
0 commit comments