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

Extend AMP selection choices #4116

Closed
danieltudosiu opened this issue Apr 12, 2022 · 1 comment · Fixed by #4132
Closed

Extend AMP selection choices #4116

danieltudosiu opened this issue Apr 12, 2022 · 1 comment · Fixed by #4132

Comments

@danieltudosiu
Copy link
Contributor

Is your feature request related to a problem? Please describe.
AMP creates instability during training

Describe the solution you'd like
Extend the AMP dtype selection as HuggingFace suggests here.

@Nic-Ma
Copy link
Contributor

Nic-Ma commented Apr 13, 2022

Hi @danieltudosiu ,

Thanks very much for your feature request.
Seems it's necessary to support the new A100 AMP features in the engines with torch.cuda.amp.autocast():
https://pytorch.org/docs/stable/amp.html#torch.cuda.amp.autocast.
Let me think about it and get back soon.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants