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

[CPU] FullyConnected acceleration with 8bit weights decompression on SPR #19111

Conversation

dmitry-gorokhov
Copy link
Contributor

Details:

Tickets:

@dmitry-gorokhov dmitry-gorokhov added the category: CPU OpenVINO CPU plugin label Aug 10, 2023
@dmitry-gorokhov dmitry-gorokhov added this to the 2023.1 milestone Aug 10, 2023
@dmitry-gorokhov dmitry-gorokhov requested review from a team as code owners August 10, 2023 08:51
@dmitry-gorokhov dmitry-gorokhov force-pushed the feature/matmul_weights_decompression_spr branch from 2c86272 to 64bdaa8 Compare August 10, 2023 08:53
@moslex moslex added the Feature Freeze Label to highlight PR for Feature Freeze label Aug 10, 2023
// As workaround we assume that all AMX IP implementations use equal internal IC block size for weights layout
// and prepack runtime attributes accordingly for better performance
bool withAMX = selected_pd->getImplementationType() & impl_desc_type::amx;
int icBlock = withAMX ? 2 : 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please elaborate a little about the reason that icBlock is set to be 2 here and in onednn revision, when withAMX is true?

@dmitry-gorokhov dmitry-gorokhov merged commit 2bdb7bd into openvinotoolkit:master Aug 11, 2023
alvoron pushed a commit to alvoron/openvino that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin Feature Freeze Label to highlight PR for Feature Freeze
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants