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 f08f222 commit a24163aCopy full SHA for a24163a
torch/utils/cpp_extension.py
@@ -64,6 +64,7 @@ def _find_cuda_home():
64
# it the below pattern.
65
BUILT_FROM_SOURCE_VERSION_PATTERN = re.compile(r'\d+\.\d+\.\d+\w+\+\w+')
66
67
+
68
def is_binary_build():
69
return not BUILT_FROM_SOURCE_VERSION_PATTERN.match(torch.version.__version__)
70
0 commit comments