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

make precision args float16/float32/amp mutually exclusive #747

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

ngimel
Copy link
Contributor

@ngimel ngimel commented Aug 8, 2022

I made a mistake of specifying --float16 with --amp and it didn't produce expected results, so to prevent these mistakes from happening in future, I move precision args to mutually exclusive group.

@ngimel ngimel merged commit 7181a8d into pytorch:main Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants