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
deepspeed
Commits
90017d3a
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "fbdf26bac57502cbe4372d2c41b3a581190590e2"
Unverified
Commit
90017d3a
authored
Apr 11, 2020
by
Samyam Rajbhandari
Committed by
GitHub
Apr 11, 2020
Browse files
AllReduce bucket fix. (#186)
parent
4cbfcc75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
deepspeed/pt/deepspeed_light.py
deepspeed/pt/deepspeed_light.py
+1
-0
No files found.
deepspeed/pt/deepspeed_light.py
View file @
90017d3a
...
...
@@ -840,6 +840,7 @@ class DeepSpeedLight(Module):
if
numel
>
numel_per_bucket
:
self
.
allreduce_and_copy
(
small_bucket
)
small_bucket
=
[]
numel
=
0
if
len
(
small_bucket
)
>
0
:
self
.
allreduce_and_copy
(
small_bucket
)
...
...
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