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

Easy to raise 'NaN' #65

Open
ghtwht opened this issue Mar 7, 2023 · 2 comments
Open

Easy to raise 'NaN' #65

ghtwht opened this issue Mar 7, 2023 · 2 comments

Comments

@ghtwht
Copy link

ghtwht commented Mar 7, 2023

Its easy to raise 'nan' error when training the translation model with 'transformer_base', have you ever encounter with this problem and how did you deal with it?

@zhaocq-nlp
Copy link
Collaborator

Counld you try with --dtype float32 to disable mix-precision training?

@ghtwht
Copy link
Author

ghtwht commented Mar 9, 2023

dtype is default to be float32

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