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
2f204bca
Unverified
Commit
2f204bca
authored
Sep 29, 2018
by
mcarilli
Committed by
GitHub
Sep 29, 2018
Browse files
fix error message
parent
89fa152b
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 @
2f204bca
...
@@ -318,7 +318,7 @@ class DistributedDataParallel(Module):
...
@@ -318,7 +318,7 @@ class DistributedDataParallel(Module):
self
.
ready_buckets_not_reduced
.
remove
(
i
)
self
.
ready_buckets_not_reduced
.
remove
(
i
)
self
.
next_bucket
+=
1
self
.
next_bucket
+=
1
else
:
else
:
raise
ValueError
(
"i should always be
<
= next_bucket"
)
raise
ValueError
(
"i should always be
>
= next_bucket"
)
else
:
else
:
self
.
ready_buckets_not_reduced
.
add
(
bucket_idx
)
self
.
ready_buckets_not_reduced
.
add
(
bucket_idx
)
...
...
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