Skip to content

DeepMemory: overload of add_ is deprecated #5

@clementpoiret

Description

@clementpoiret

Hi,

I'm currently trying DeepMemory, but with latest pytorch (1.7.0), I get the following warning. Do you have any update for DeepMemory?

/content/utils/optimizers/deepmemory.py:129: 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:882.)
  exp_avg.mul_(beta1).add_(1 - beta1, grad)

Thanks,
Clément

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions