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.
CUDA_HOME
1 parent 662a421 commit 10ba3ddCopy full SHA for 10ba3dd
op_builder/gds.py
@@ -49,6 +49,11 @@ def is_compatible(self, verbose=False):
49
return False
50
51
CUDA_HOME = torch.utils.cpp_extension.CUDA_HOME
52
+ if CUDA_HOME is None:
53
+ if verbose:
54
+ self.warning("Please install torch CUDA if trying to pre-compile GDS with CUDA")
55
+ return False
56
+
57
CUDA_LIB64 = os.path.join(CUDA_HOME, "lib64")
58
gds_compatible = self.has_function(funcname="cuFileDriverOpen",
59
libraries=("cufile", ),
0 commit comments