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
fairscale
Commits
ee647b97
Unverified
Commit
ee647b97
authored
Oct 21, 2022
by
Min Xu
Committed by
GitHub
Oct 21, 2022
Browse files
minor cleanup (#1091)
Co-authored-by:
Min Xu
<
min.xu.public@gmail.com
>
parent
f5e727cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
fairscale/nn/data_parallel/fully_sharded_data_parallel.py
fairscale/nn/data_parallel/fully_sharded_data_parallel.py
+0
-7
No files found.
fairscale/nn/data_parallel/fully_sharded_data_parallel.py
View file @
ee647b97
...
...
@@ -318,13 +318,6 @@ class FullyShardedDataParallel(nn.Module):
gradient_predivide_factor
:
Optional
[
float
]
=
None
,
allow_reset_parameters
:
bool
=
False
,
):
try
:
import
torch._C
torch
.
_C
.
_log_api_usage_once
(
"fairscale.fsdp"
)
except
ImportError
:
pass
init_start
=
time
.
time
()
super
().
__init__
()
self
.
process_group
=
process_group
or
get_process_group_cached
()
...
...
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