-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[WIP] partial disabling of caching for conv2d, conv_transpose, quantize and pool2d #36595
Conversation
- pool2d partially stripped of caching
Thanks for your contribution! |
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.
The rest of the changes look good for me
mkldnn::convolution_backward_data, | ||
mkldnn::convolution_backward_weights>( | ||
mkldnn_engine, ctx.GetPlace()), | ||
is_test_(false) { |
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.
Shouldn't there be a check for the is_test
attribute as it is done for forward is_test_(ctx.Attr<bool>("is_test"))
? Then we also check if is_test
is false, which if we set false here, it doesn't make sense
depracated |
PR types
Bug fixes
PR changes
OPs
Describe
Disables some more caching of oneDNN objects in order to fix #34554