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][ARM] Enable NHWC in Reduce #23108

Merged
merged 18 commits into from
Jun 11, 2024

Conversation

alvoron
Copy link
Contributor

@alvoron alvoron commented Feb 27, 2024

NHWC was disabled because of accuracy issue: ARM-software/ComputeLibrary#1044

CVS-114403

@alvoron alvoron added the platform: arm OpenVINO on ARM / ARM64 label Feb 27, 2024
@alvoron alvoron requested review from a team as code owners February 27, 2024 10:52
@github-actions github-actions bot added the category: CPU OpenVINO CPU plugin label Feb 27, 2024
@alvoron
Copy link
Contributor Author

alvoron commented Feb 29, 2024

There is a theory that SLT tests are passed because of tensor comparison issue.
Waifing #23110 to be merged.

@iefode
Copy link
Contributor

iefode commented Feb 29, 2024

#PR23110 is in Merge Queue

Copy link
Contributor

This PR will be closed in a week because of 2 weeks of no activity.

@github-actions github-actions bot added the Stale label Mar 22, 2024
@alvoron alvoron added no_stale Do not mark as stale and removed Stale labels Mar 22, 2024
@alvoron alvoron requested review from a team as code owners April 29, 2024 12:24
@alvoron alvoron requested review from akopytko and removed request for a team April 29, 2024 12:24
@github-actions github-actions bot added the category: IE Tests OpenVINO Test: plugins and common label May 17, 2024
@github-actions github-actions bot removed the category: IE Tests OpenVINO Test: plugins and common label May 17, 2024
@alvoron alvoron added this to the 2024.3 milestone May 23, 2024
@maxnick
Copy link
Contributor

maxnick commented May 29, 2024

@EgorDuplensky , could you please review?

@alvoron alvoron force-pushed the alvoron_reduce_nhwc branch from 3b6818f to d5614d7 Compare May 29, 2024 16:56
>
ReduceConvertCPUTestParamsSet;

class ReduceNoKeepDimsTransformationCPUTest: public testing::WithParamInterface<ReduceConvertCPUTestParamsSet>,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the idea was to write a unit test instead.
Since there is a corresponding single layer test which covers the inference functionality already.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaced subgraph test with unit test

Comment on lines +12 to +15
* Description:
* ConvertReduceNoKeepDimsBase detects Reduce operations with keepDims = false.
* Such Reduce operation is replaced with Reduce operation with keepDims = true and Squeeze
* which removes undesired dimensions.
Copy link
Contributor

@EgorDuplensky EgorDuplensky Jun 7, 2024

Choose a reason for hiding this comment

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

@itikhono Could you please share your opinion regarding the appropriate place for this transformation? We do have an inverted one (where we fuse squeeze into reduce instead) in the common transformations scope. Isn't it better to place this one into the location of the common transformations as well?
I am not proposing to do this in scope of the current PR, but we could do it right after.

@EgorDuplensky EgorDuplensky removed their assignment Jun 10, 2024
@EgorDuplensky
Copy link
Contributor

@maxnick Could you please take a look

@maxnick maxnick added this pull request to the merge queue Jun 11, 2024
Merged via the queue into openvinotoolkit:master with commit 4e6ee7f Jun 11, 2024
112 checks passed
@maxnick maxnick deleted the alvoron_reduce_nhwc branch June 11, 2024 17:19
allnes pushed a commit to allnes/openvino that referenced this pull request Jun 27, 2024
NHWC was disabled because of accuracy issue:
ARM-software/ComputeLibrary#1044

CVS-114403

---------

Co-authored-by: eshoguli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin no_stale Do not mark as stale platform: arm OpenVINO on ARM / ARM64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants