Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fp16 training #11

Open
bluestyle97 opened this issue Aug 13, 2023 · 2 comments
Open

fp16 training #11

bluestyle97 opened this issue Aug 13, 2023 · 2 comments

Comments

@bluestyle97
Copy link

Hi, thanks for the fantastic work and the codebase! Does this repo support fp16 training? I think I met some issues with the default fp16 training configuration of pytorch ligntening ...

@Tangshitao
Copy link
Owner

Fp16 cause nan loss in my experiment.

@y6216886
Copy link

Have you tried to clip large gradients to avoid nan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants