pfrl icon indicating copy to clipboard operation
pfrl copied to clipboard

addcmul_ used in RMSpropEpsInsideSqrt has been deprecated

Open marioyc opened this issue 4 years ago • 1 comments

UserWarning: This overload of addcmul_ is deprecated:
        addcmul_(Number value, Tensor tensor1, Tensor tensor2)
Consider using one of the following signatures instead:
        addcmul_(Tensor tensor1, Tensor tensor2, *, Number value) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  square_avg.mul_(alpha).addcmul_(1 - alpha, grad, grad)

marioyc avatar Jan 27 '21 03:01 marioyc

Can you say the exact version of pytorch you are using? I am not able to recreate this.

kamalesh0406 avatar Mar 15 '21 08:03 kamalesh0406