Unverified Commit cffa4e00 authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Revert "Build GPU extensions whenever CUDA_HOME is available (#911)" (#924)

This reverts commit b384c4e7.
parent 9bacd5c2
...@@ -88,7 +88,7 @@ def get_extensions(): ...@@ -88,7 +88,7 @@ def get_extensions():
define_macros = [] define_macros = []
if CUDA_HOME is not None: if torch.cuda.is_available() and CUDA_HOME is not None:
extension = CUDAExtension extension = CUDAExtension
sources += source_cuda sources += source_cuda
define_macros += [('WITH_CUDA', None)] define_macros += [('WITH_CUDA', None)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment