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

Switch to Pytorch's automatic mixed precision #52

Open
s-jse opened this issue Nov 12, 2020 · 0 comments
Open

Switch to Pytorch's automatic mixed precision #52

s-jse opened this issue Nov 12, 2020 · 0 comments
Labels
P2 We need to fix it (backlog)

Comments

@s-jse
Copy link
Member

s-jse commented Nov 12, 2020

Pytorch 1.7 added support for mixed precision training and evaluation (https://pytorch.org/docs/stable/amp.html?highlight=amp#module-torch.cuda.amp).

This will be especially useful for speeding up inference for both semantic parsing and paraphrase generation. Also, training with mixed precision -if experiments show that it does not degrade accuracy- can help speed up our pipeline.

@nrser nrser added the P2 We need to fix it (backlog) label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We need to fix it (backlog)
Projects
None yet
Development

No branches or pull requests

2 participants