Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
8fd82858
Unverified
Commit
8fd82858
authored
Feb 22, 2021
by
Benjamin Lefaudeux
Committed by
GitHub
Feb 22, 2021
Browse files
[hotfix] ShardedDDP fp16 grads, default flipped while testing (#417)
parent
d52d2186
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairscale/nn/data_parallel/sharded_ddp.py
fairscale/nn/data_parallel/sharded_ddp.py
+1
-1
No files found.
fairscale/nn/data_parallel/sharded_ddp.py
View file @
8fd82858
...
...
@@ -104,7 +104,7 @@ class ShardedDataParallel(nn.Module):
sync_models_at_startup
:
bool
=
True
,
reduce_buffer_size
:
int
=
0
,
auto_refresh_trainable
:
bool
=
True
,
reduce_fp16
:
bool
=
Tru
e
,
reduce_fp16
:
bool
=
Fals
e
,
):
super
().
__init__
()
...
...
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