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
d28716e8
Commit
d28716e8
authored
Mar 30, 2021
by
mshoeybi
Browse files
removed the checks for bfloat jitting
parent
2f3a2d68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
megatron/arguments.py
megatron/arguments.py
+0
-3
No files found.
megatron/arguments.py
View file @
d28716e8
...
@@ -136,9 +136,6 @@ def parse_args(extra_args_provider=None, defaults={},
...
@@ -136,9 +136,6 @@ def parse_args(extra_args_provider=None, defaults={},
if
args
.
bf16
:
if
args
.
bf16
:
assert
not
args
.
fp16
assert
not
args
.
fp16
args
.
params_dtype
=
torch
.
bfloat16
args
.
params_dtype
=
torch
.
bfloat16
# Jitting fusion is not supported for bfloat for now
assert
not
args
.
bias_gelu_fusion
assert
not
args
.
bias_dropout_fusion
if
args
.
rank
==
0
:
if
args
.
rank
==
0
:
print
(
'using {} for parameters ...'
.
format
(
args
.
params_dtype
),
print
(
'using {} for parameters ...'
.
format
(
args
.
params_dtype
),
...
...
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