Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Jul 26, 2018
1 parent f08f222 commit a24163a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch/utils/cpp_extension.py
Expand Up @@ -64,6 +64,7 @@ def _find_cuda_home():
# it the below pattern.
BUILT_FROM_SOURCE_VERSION_PATTERN = re.compile(r'\d+\.\d+\.\d+\w+\+\w+')


def is_binary_build():
return not BUILT_FROM_SOURCE_VERSION_PATTERN.match(torch.version.__version__)

This comment has been minimized.


Expand Down

0 comments on commit a24163a

Please sign in to comment.