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

pretrain.py of llama-7b model, Exception: : Current loss scale already at minimum #57

Open
liukaiyueyuo opened this issue Apr 26, 2023 · 2 comments

Comments

@liukaiyueyuo
Copy link

when I run pretrain.py of llama-7b model, it has exception below:

ExceptionException: : Current loss scale already at minimum - cannot decrease scale anymore. Exiting run.Current loss scale already at minimum - cannot decrease scale anymore. Exiting run.

what's problem? How to solve?

@liukaiyueyuo
Copy link
Author

My GPU server:
GPU:single A100(80G)
memory: 128G

@Abolfazl-kr
Copy link

i think it's good to try bf16.
it will work with A100 and the problem of loss scale

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