Skip to content

In the setup function inside the Module class in gemma.py, should the static_argnums parameter in nn.remat be set to (5,) or (6,)? #987

Description

@xliu0105

In the setup function inside the Module class in gemma.py, should the static_argnums parameter in nn.remat be set to (5,) or (6,)? I think it should be the deterministic parameter in the Block class that is set to static — so why is the parameter here set to (5,)?

https://github.com/Physical-Intelligence/openpi/blob/15a9616a00943ada6c20a0f158e3adb39df2ccac/src/openpi/models/gemma.py#L362

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