Unverified Commit 45f030db authored by ngimel's avatar ngimel Committed by GitHub
Browse files

Remove arch from adam compile options

parent daea4188
...@@ -37,8 +37,7 @@ if "--cuda_ext" in sys.argv: ...@@ -37,8 +37,7 @@ if "--cuda_ext" in sys.argv:
sources=['apex/optimizers/csrc/fused_adam_cuda.cpp', sources=['apex/optimizers/csrc/fused_adam_cuda.cpp',
'apex/optimizers/csrc/fused_adam_cuda_kernel.cu'], 'apex/optimizers/csrc/fused_adam_cuda_kernel.cu'],
extra_compile_args={'cxx': ['-O3',], extra_compile_args={'cxx': ['-O3',],
'nvcc':['--gpu-architecture=sm_70', 'nvcc':['-O3',
'-O3',
'--use_fast_math']})) '--use_fast_math']}))
ext_modules.append( ext_modules.append(
CUDAExtension(name='syncbn', CUDAExtension(name='syncbn',
......
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