Skip to content

Commit 4f62c62

Browse files
Jay Patelfacebook-github-bot
authored andcommitted
Cleanup of unused list in adam.py (#53874)
Summary: Code cleanup. Pull Request resolved: #53874 Reviewed By: jbschlosser Differential Revision: D27036819 Pulled By: ngimel fbshipit-source-id: c267e20c8d91224cd3c01b302a75f43aa309b560
1 parent 8734e88 commit 4f62c62

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

torch/optim/adam.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def step(self, closure=None):
7070
grads = []
7171
exp_avgs = []
7272
exp_avg_sqs = []
73-
state_sums = []
7473
max_exp_avg_sqs = []
7574
state_steps = []
7675
beta1, beta2 = group['betas']

0 commit comments

Comments
 (0)