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
5a39c5e3
Unverified
Commit
5a39c5e3
authored
Aug 30, 2018
by
mcarilli
Committed by
GitHub
Aug 30, 2018
Browse files
Update distributed.py
parent
034b8f02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apex/parallel/distributed.py
apex/parallel/distributed.py
+1
-1
No files found.
apex/parallel/distributed.py
View file @
5a39c5e3
...
@@ -4,7 +4,7 @@ import torch.distributed as dist
...
@@ -4,7 +4,7 @@ import torch.distributed as dist
from
torch.nn.modules
import
Module
from
torch.nn.modules
import
Module
from
torch.autograd
import
Variable
from
torch.autograd
import
Variable
from
collections
import
OrderedDict
from
collections
import
OrderedDict
import
copy
def
flat_dist_call
(
tensors
,
call
,
extra_args
=
None
):
def
flat_dist_call
(
tensors
,
call
,
extra_args
=
None
):
flat_dist_call
.
warn_on_half
=
True
flat_dist_call
.
warn_on_half
=
True
...
...
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