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
Megatron-LM
Commits
0d350c8d
Commit
0d350c8d
authored
Aug 13, 2021
by
hyunwoongko
Committed by
mshoeybi
Aug 22, 2021
Browse files
fix bugs in fused softmax
parent
116820a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
megatron/model/fused_softmax.py
megatron/model/fused_softmax.py
+1
-1
No files found.
megatron/model/fused_softmax.py
View file @
0d350c8d
...
...
@@ -186,7 +186,7 @@ class FusedScaleMaskSoftmax(nn.Module):
return
probs
@
staticmethod
def
get_batch_per_block
(
b
,
np
,
sq
,
sk
):
def
get_batch_per_block
(
sq
,
sk
,
b
,
np
):
import
scaled_masked_softmax_cuda
return
scaled_masked_softmax_cuda
.
get_batch_per_block
(
sq
,
sk
,
b
,
np
)
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