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

training issue:loss=nan when use 2B model #82

Open
ucaswindlike opened this issue Nov 27, 2024 · 2 comments
Open

training issue:loss=nan when use 2B model #82

ucaswindlike opened this issue Nov 27, 2024 · 2 comments

Comments

@ucaswindlike
Copy link

when using 2b model,loss=nan after first step. using 5B model did not meet this issue.

@bubbliiiing
Copy link
Collaborator

We haven't encountered this situation yet. Are you using BF16?

@ucaswindlike
Copy link
Author

yes,encounter this when using bf16, while fp32 is running correctly

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

2 participants