Skip to content

Stop with error when loss is NaN? #284

@skinnider

Description

@skinnider

In PR #281 we are stopping training with a message to the user if three consecutive NaNs are encountered: https://github.com/skinniderlab/CLM/pull/281/files#diff-40d1257aa23fce729a527b8214cde30f9c11062479becfb68cc00d20e0e91df9R42
Would it be more appropriate to stop training altogether and remove the checkpoint? Given that something has probably gone quite wrong for three NaN losses in a row to occur.

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