Skip to content

Model require forward to have *args, **kwargs in 1.0.6 #203

Open

Description

@atong01

torchdyn>=1.0.3 breaks if a model does not have *args, **kwargs in the forward method. This breaks downstream code which has custom models compatible with previous torchdyn versions. I propose to remove this requirement.

atong01/conditional-flow-matching#60

Activity

  1. Manaro-Alpha commented on Aug 6, 2024

    @Manaro-Alpha

    @atong01 is there any solution to the above problem?

  2. atong01 commented on Aug 6, 2024

    @atong01
    MemberAuthor

    I have added args and kwargs to all my models... This is far from ideal, but it's somewhat annoying to fix here and I haven't had time.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions