Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
This repository was archived by the owner on May 6, 2026. It is now read-only.

p.add_(..., inplace=True) error #1201

Description

@markussteindl

commit: c7392f2
line: automl/lion/lion_pytorch.py:81

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions