We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c32d3b commit e3e434bCopy full SHA for e3e434b
timm/optim/lion.py
@@ -143,7 +143,7 @@ def lion(
143
if foreach is None:
144
try:
145
# cannot do foreach if this overload doesn't exist when caution enabled
146
- foreach = not caution or 'Scalar' in torch.ops.aten._foreach_maximum.overloads()
+ foreach = not caution or 'Scalar' in torch.ops.aten._foreach_maximum_.overloads()
147
except:
148
foreach = False
149
timm/optim/nadamw.py
@@ -171,7 +171,7 @@ def nadamw(
171
172
173
174
175
176
177
0 commit comments