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

[§] Generic eltwise ported to nGraph #2824

Closed
wants to merge 65 commits into from
Closed

[§] Generic eltwise ported to nGraph #2824

wants to merge 65 commits into from

Conversation

geexie
Copy link
Contributor

@geexie geexie commented Oct 26, 2020

I would like to propose yet another step for eltwise operator generalization: possibility to fuse forks in eltwise chains with snippets.

Design is described here

Functionality

  • starts from multi-output layout-oblivious operation to handle GELU-like patterns
  • ISA support: AVX2
  • Precisions support: FP32
  • "Inplace" support
  • Layouts support
    • ncsp(x,nc,ncw,nchw,ncdhw, …etc)
    • nspc(nwc,nhwc,ndhwc, ... etc)
    • nCspXc(nCwXc, nChwXc, nCdhwXc, …etc) for X = {8, 16}
  • Only equal layouts on input and outputs

Requirements

  • FP32 models
    • DLB scope – no regressions (functional, performance)
    • OMZ scope – no regressions (functional, accuracy)
    • VDP scope – no regressions (functional, accuracy, performance)
  • Operations coverage – no regressions
  • First inference time – no regressions
  • Binary size – no regressions

@geexie geexie added category: CPU OpenVINO CPU plugin optimization labels Oct 26, 2020
@geexie geexie requested review from a team October 26, 2020 12:14
@geexie geexie self-assigned this Oct 26, 2020
@openvino-pushbot openvino-pushbot added category: inference OpenVINO Runtime library - Inference category: IE Tests OpenVINO Test: plugins and common category: Core OpenVINO Core (aka ngraph) labels Oct 26, 2020
@rblaczkowski
Copy link
Contributor

Please update to the newest master to fetch the newest CI state - currently the branch is a few months before current master

@geexie geexie requested a review from a team October 27, 2020 09:54
@geexie geexie added this to the 2021.3 milestone Dec 2, 2020
@geexie geexie changed the title [Draft] Generic eltwise ported to ngraph Generic eltwise ported to nGraph. Part #1 Dec 2, 2020
@geexie
Copy link
Contributor Author

geexie commented Dec 2, 2020

@slyalin, @GlebKazantaev, @dmitry-gorokhov, please share your suggestions about this PR, interfaces and everything. Please advice me on formal PR flow, what builds should I run etc

@geexie geexie changed the title Generic eltwise ported to nGraph. Part #1 Generic eltwise ported to nGraph Jan 12, 2021
@geexie geexie removed request for a team January 13, 2021 17:52
@geexie
Copy link
Contributor Author

geexie commented Jan 13, 2021

@dmitry-gorokhov, @slyalin, @GlebKazantaev, @ilyachur, could you please review this PR.

inference-engine/src/mkldnn_plugin/nodes/subgraph.cpp Outdated Show resolved Hide resolved
inference-engine/src/mkldnn_plugin/nodes/subgraph.cpp Outdated Show resolved Hide resolved
inference-engine/src/mkldnn_plugin/nodes/subgraph.cpp Outdated Show resolved Hide resolved
inference-engine/src/mkldnn_plugin/mkldnn_plugin.cpp Outdated Show resolved Hide resolved
inference-engine/src/mkldnn_plugin/nodes/subgraph.cpp Outdated Show resolved Hide resolved
IvanNovoselov and others added 28 commits October 6, 2021 16:54
@geexie geexie closed this Oct 11, 2021
@geexie geexie deleted the generic_eltwise_ported_to_ngraph branch October 11, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants