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
5633f6db
Commit
5633f6db
authored
Mar 01, 2020
by
pbialecki
Browse files
Revert "remove gencode from multihead_attn build (#731)"
This reverts commit
92b3b9a9
.
parent
de6378f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
setup.py
setup.py
+4
-0
No files found.
setup.py
View file @
5633f6db
...
...
@@ -215,6 +215,7 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/self_multihead_attn_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
...
@@ -227,6 +228,7 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/self_multihead_attn_norm_add_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
...
@@ -239,6 +241,7 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/encdec_multihead_attn_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-U__CUDA_NO_HALF_CONVERSIONS__'
,
...
...
@@ -251,6 +254,7 @@ if "--fast_multihead_attn" in sys.argv:
'apex/contrib/csrc/multihead_attn/encdec_multihead_attn_norm_add_cuda.cu'
],
extra_compile_args
=
{
'cxx'
:
[
'-O3'
,]
+
version_dependent_macros
,
'nvcc'
:[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
'-I./apex/contrib/csrc/multihead_attn/cutlass/'
,
'-U__CUDA_NO_HALF_OPERATORS__'
,
'-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