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

Update assertion in MHA forward to support FP16 training #37539

Closed
wants to merge 1 commit into from

Conversation

cndn
Copy link
Contributor

@cndn cndn commented Apr 29, 2020

Summary: Bug fix

Test Plan:
This passed fbtranslate local integration test when I toggle fp16 to true on GPU.

akinh is adding another unit test at library level. myleott is there an existing unit test in fairseq for preventing this kind of fp16 issues from happening?

Differential Revision: D21311505

Summary: Bug fix

Test Plan:
This passed fbtranslate local integration test when I toggle fp16 to true on GPU.

akinh is adding another unit test at library level. myleott is there an existing unit test in fairseq for preventing this kind of fp16 issues from happening?

Differential Revision: D21311505

fbshipit-source-id: a8f0f9cccf59077e600052aa733d6da794485da0
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D21311505

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5bb9357.

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.

4 participants