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

deepspeed 分布式训练 loss nan or inf #161

Open
JohnTang93 opened this issue Jan 19, 2024 · 1 comment
Open

deepspeed 分布式训练 loss nan or inf #161

JohnTang93 opened this issue Jan 19, 2024 · 1 comment

Comments

@JohnTang93
Copy link

单机多卡训练正常,多机多卡报错

Skipping backward and optimizer step for nan or inf in forwarding metrics/loss!

@1049451037
Copy link
Member

1049451037 commented Jan 19, 2024

尝试把--fp16换成--bf16

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