You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling Lion.step(), I get this error message:
TypeError: add_() received an invalid combination of arguments - got unrecognized keyword arguments: inplace
I think p.add_() is already the inplace version, while p.add() has an optional parameter inplace.
Or am I using the wrong pytorch version? I have 2.0.1+cu118.
The text was updated successfully, but these errors were encountered:
@Stonatus I found some info about Tensor.add_ method in pytorch document, and it means add_ is an inplace method, so I think it might be okey to just remove inplace argument in line: automl/lion/lion_pytorch.py:81, and it seems work fine
commit: c7392f2
line: automl/lion/lion_pytorch.py:81
When calling
Lion.step()
, I get this error message:I think
p.add_()
is already the inplace version, whilep.add()
has an optional parameterinplace
.Or am I using the wrong pytorch version? I have
2.0.1+cu118
.The text was updated successfully, but these errors were encountered: