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
ab520f82
Commit
ab520f82
authored
Jun 14, 2021
by
Deyu Fu
Browse files
update fusedadam docstring
parent
ebcd7f08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
apex/optimizers/fused_adam.py
apex/optimizers/fused_adam.py
+2
-1
No files found.
apex/optimizers/fused_adam.py
View file @
ab520f82
...
@@ -13,7 +13,8 @@ class FusedAdam(torch.optim.Optimizer):
...
@@ -13,7 +13,8 @@ class FusedAdam(torch.optim.Optimizer):
* Fusion of the Adam update's elementwise operations
* Fusion of the Adam update's elementwise operations
* A multi-tensor apply launch that batches the elementwise updates applied to all the model's parameters into one or a few kernel launches.
* A multi-tensor apply launch that batches the elementwise updates applied to all the model's parameters into one or a few kernel launches.
:class:`apex.optimizers.FusedAdam` may be used as a drop-in replacement for ``torch.optim.Adam``::
:class:`apex.optimizers.FusedAdam` may be used as a drop-in replacement for ``torch.optim.AdamW``,
or ``torch.optim.Adam`` with ``adam_w_mode=False``::
opt = apex.optimizers.FusedAdam(model.parameters(), lr = ....)
opt = apex.optimizers.FusedAdam(model.parameters(), lr = ....)
...
...
...
...
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