-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[cudnn rnn fp32 math accumulation] #16825
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
Conversation
Updating persistent rnn check with input data type Updating rnn type promotion to enable set correct math type replace datatype check for filter descriptor from rnn.datatype to input.datatype
|
Ping @ngimel for visibility |
…lows TensorCore to be used with fp32 accumulation; 2. add comment for disabling type promotion in cudnn 7.1.3
|
@pytorchbot retest this please |
|
I guess we're gonna need a cudnn 3.5 build soon... |
|
@ngimel let me know if you want to review this before we put it in! |
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: setting the correct math type for cudnn rnn, which is enforced starting from cudnn 7.5+ 1. Updating persistent rnn check with input data type instead of rnn math type; 2. Updating rnn type promotion to set correct math type for accumulation; 3. Replace datatype check for filter descriptor from rnn.datatype to input.datatype; Pull Request resolved: pytorch/pytorch#16825 Differential Revision: D14071190 Pulled By: ezyang fbshipit-source-id: 1c9a1531ccf510cb0619e830be444c20c5e72f3f
Summary: setting the correct math type for cudnn rnn, which is enforced starting from cudnn 7.5+