Skip to content

Commit 16fd2fd

Browse files
authored
Merge pull request #601 from eltociear/patch-1
Fix typo in test_optim.py
2 parents d83c5fe + 87816e4 commit 16fd2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_optim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_optimizer32bit(dim1, dim2, gtype, optim_name):
169169

170170
if gtype != torch.float32:
171171
# the adam buffers should also be close because they are 32-bit
172-
# but the paramters can diverge because they are 16-bit
172+
# but the parameters can diverge because they are 16-bit
173173
# the difference grow larger and larger with each update
174174
# --> copy the state to keep weights close
175175
p1.data = p1.data.to(p2.dtype).float()

0 commit comments

Comments
 (0)