Skip to content

Grad become NaN #53

Open
Open
@tungdq212

Description

@tungdq212

When training on my local machine (3090 24Gb) with batch size 12, grad value become NaN after few steps
image
But I don't meet this when training on Google Cloud A100 40Gb with bs 20. Why? How I fix that?

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