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
400cf628
Commit
400cf628
authored
Mar 12, 2020
by
Thor Johnsen
Browse files
Bug fix
parent
96757752
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
apex/contrib/optimizers/distributed_fused_adam.py
apex/contrib/optimizers/distributed_fused_adam.py
+0
-7
No files found.
apex/contrib/optimizers/distributed_fused_adam.py
View file @
400cf628
...
...
@@ -68,12 +68,6 @@ class DistributedFusedAdam(torch.optim.Optimizer):
self
.
_last_step
=
False
self
.
_overlap_reductions
=
overlap_reductions
self
.
_radix_min_digit
=
radix_min_digit
self
.
_radix_max_digit
=
radix_max_digit
self
.
_radix_size
=
self
.
_radix_max_digit
-
self
.
_radix_min_digit
+
1
self
.
_radix_base
=
radix_base
self
.
_stats
=
None
self
.
_decomp_stats
=
None
self
.
_global_scale
=
None
self
.
_num_blocks
=
dwu_num_blocks
self
.
_full_pipeline
=
full_pipeline
...
...
@@ -158,7 +152,6 @@ class DistributedFusedAdam(torch.optim.Optimizer):
for
i
in
range
(
self
.
_num_blk_st
):
self
.
_blk_st
.
append
(
torch
.
cuda
.
Stream
())
self
.
_works
=
[]
self
.
global_scale_calculator
=
None
def
set_last_step
(
self
,
last_step
):
self
.
_last_step
=
last_step
...
...
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