Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
92b3b9a9
Unverified
Commit
92b3b9a9
authored
Feb 25, 2020
by
ptrblck
Committed by
GitHub
Feb 25, 2020
Browse files
remove gencode from multihead_attn build (#731)
parent
5f6b9b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
setup.py
setup.py
+0
-4
No files found.
setup.py
View file @
92b3b9a9
...
@@ -212,7 +212,6 @@ if "--fast_multihead_attn" in sys.argv:
...
@@ -212,7 +212,6 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/self_multihead_attn_cuda.cu'
],
'apex/contrib/csrc/multihead_attn/self_multihead_attn_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
@@ -225,7 +224,6 @@ if "--fast_multihead_attn" in sys.argv:
...
@@ -225,7 +224,6 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/self_multihead_attn_norm_add_cuda.cu'
],
'apex/contrib/csrc/multihead_attn/self_multihead_attn_norm_add_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
@@ -238,7 +236,6 @@ if "--fast_multihead_attn" in sys.argv:
...
@@ -238,7 +236,6 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/encdec_multihead_attn_cuda.cu'
],
'apex/contrib/csrc/multihead_attn/encdec_multihead_attn_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
@@ -251,7 +248,6 @@ if "--fast_multihead_attn" in sys.argv:
...
@@ -251,7 +248,6 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/encdec_multihead_attn_norm_add_cuda.cu'
],
'apex/contrib/csrc/multihead_attn/encdec_multihead_attn_norm_add_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment