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

Getting nan tensor in output #59

Open
santurini opened this issue May 1, 2023 · 0 comments
Open

Getting nan tensor in output #59

santurini opened this issue May 1, 2023 · 0 comments

Comments

@santurini
Copy link

santurini commented May 1, 2023

Hello,
I wanted to know if it happened also to you during training to have the model outputting full nan tensors. It happens to me some times and I wanted to know if it is a problem of the model or it is a problem of my setup.
I'm currently training a tiny version of the model in order to make it enter in RAM so I had to drop some layers of the final stage and in general the number of heads, dims and etc.

EDIT:

I forgot to mention I'm training on mixed precision for memory issues

You have any idea why this can happen?

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

1 participant