Skip to content

Commit

Permalink
removing build target sm_70 from bnp (NVIDIA#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsjann123 authored and ptrblck committed Jan 21, 2020
1 parent b5a7c5f commit b66ffc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ def check_cuda_torch_binary_vs_bare_metal(cuda_dir):
'nvcc':['-DCUDA_HAS_FP16=1',
'-D__CUDA_NO_HALF_OPERATORS__',
'-D__CUDA_NO_HALF_CONVERSIONS__',
'-D__CUDA_NO_HALF2_OPERATORS__',
'-gencode',
'arch=compute_70,code=sm_70'] + version_dependent_macros}))
'-D__CUDA_NO_HALF2_OPERATORS__'] + version_dependent_macros}))

if "--xentropy" in sys.argv:
from torch.utils.cpp_extension import CUDAExtension
Expand Down

0 comments on commit b66ffc1

Please sign in to comment.