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

Set FC input data format to ANY #44023

Merged
merged 2 commits into from
Jul 6, 2022
Merged

Conversation

wozna
Copy link
Contributor

@wozna wozna commented Jul 1, 2022

PR types

Bug fixes

PR changes

OPs

Describe

This PR sets the input data format to any, so the OneDNN library can choose the most optimized format. This corrects the problem of performance drop for larger batches.

@lidanqing-intel
Copy link
Contributor

This is the fix PR that could finally solve the large batch size poor performance issue? That will be great! Thanks!

@wozna
Copy link
Contributor Author

wozna commented Jul 6, 2022

This is the fix PR that could finally solve the large batch size poor performance issue? That will be great! Thanks!

Yes, this PR resolves performance drop for bigger batches for int8 models, that was mentioned here #42972 (comment). I checked all needed tests and everything works correctly.

Copy link
Contributor

@lidanqing-intel lidanqing-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
I have tested this works for me. Thank you for your fixes !

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.

2 participants