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
86dfa18d
Commit
86dfa18d
authored
Aug 04, 2022
by
flyingdown
Browse files
replace distributed_fused_lamb.py
parent
719215bd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
238 deletions
+49
-238
apex/contrib/csrc/multihead_attn/cutlass
apex/contrib/csrc/multihead_attn/cutlass
+0
-1
apex/contrib/optimizers/distributed_fused_lamb.py
apex/contrib/optimizers/distributed_fused_lamb.py
+48
-236
setup.py
setup.py
+1
-1
No files found.
cutlass
@
ed2ed4d6
Compare
ed2ed4d6
...
ed2ed4d6
Subproject commit ed2ed4d667ce95e1371bd62db32b6a114e774336
apex/contrib/optimizers/distributed_fused_lamb.py
View file @
86dfa18d
This diff is collapsed.
Click to expand it.
setup.py
View file @
86dfa18d
...
...
@@ -510,7 +510,7 @@ if "--fast_multihead_attn" in sys.argv or "--cuda_ext" in sys.argv:
cc_flag
.
append
(
'-gencode'
)
cc_flag
.
append
(
'arch=compute_86,code=sm_86'
)
subprocess
.
run
([
"git"
,
"submodule"
,
"update"
,
"--init"
,
"apex/contrib/csrc/multihead_attn/cutlass"
])
#
subprocess.run(["git", "submodule", "update", "--init", "apex/contrib/csrc/multihead_attn/cutlass"])
nvcc_args_mha
=
[
'-O3'
,
'-gencode'
,
'arch=compute_70,code=sm_70'
,
...
...
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