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

Enable Pruning transformation by default inside Model Optimizer #5633

Merged

Conversation

GlebKazantaev
Copy link
Contributor

@GlebKazantaev GlebKazantaev commented May 14, 2021

Description

In this PR I turn on Pruning transformation by default inside Model Optimizer backend. This transformation can be executed by default because it narrow specialization. So it will be applied only for models came from NNCF with turned on pruning optimization.

@GlebKazantaev GlebKazantaev force-pushed the gkazanta/mo/enable_pruning branch from 8478bb6 to 5adf535 Compare May 14, 2021 15:49
@GlebKazantaev GlebKazantaev force-pushed the gkazanta/mo/enable_pruning branch from 5adf535 to 32aa88f Compare May 14, 2021 15:56
@GlebKazantaev GlebKazantaev marked this pull request as ready for review May 17, 2021 20:06
@GlebKazantaev GlebKazantaev requested review from a team May 17, 2021 20:06
@GlebKazantaev
Copy link
Contributor Author

DL Benchmark functional and accuracy validation successfully passed.

@GlebKazantaev GlebKazantaev added category: MO Model Optimizer category: transformations OpenVINO Runtime library - Transformations labels May 17, 2021
@GlebKazantaev GlebKazantaev added this to the 2021.4 milestone May 17, 2021
ngraph::pass::Manager m(get_pass_config());
m.register_pass<Pruning>();
m.run_passes(f);

return false;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, add blank line at end of file

@GlebKazantaev GlebKazantaev merged commit 8be740a into openvinotoolkit:master May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: MO Model Optimizer category: transformations OpenVINO Runtime library - Transformations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants