Skip to content

Gradient becomes NaN during training. #812

@shuh88917-dotcom

Description

@shuh88917-dotcom

After feeding input into the Mamba layer, the output range keeps expanding and eventually explodes as training progresses. How can this be resolved?Does Mamba have specific precision requirements? The entire model uses FP16, with only the Mamba layer converted to FP32.

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