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
I recently installed and run torchlars package and found a userwarning occurred:
/home/jinserk/.pyenv/versions/kai/lib/python3.9/site-packages/torchlars/lars.py:140: UserWarning: This overload of add_ is deprecated:
add_(Number alpha, Tensor other)
Consider using one of the following signatures instead:
add_(Tensor other, *, Number alpha) (Triggered internally at /pytorch/torch/csrc/utils/python_arg_parser.cpp:1005.)
p.grad.add_(weight_decay, p.data)
Guess this looks relatively simple to be fixed. It could be still run, but just in case.
The text was updated successfully, but these errors were encountered:
I recently installed and run
torchlars
package and found a userwarning occurred:Guess this looks relatively simple to be fixed. It could be still run, but just in case.
The text was updated successfully, but these errors were encountered: