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

Remove legacy ngraph builders #22709

Merged
merged 3 commits into from
Feb 20, 2024
Merged

Conversation

olpipi
Copy link
Contributor

@olpipi olpipi commented Feb 7, 2024

Details:

  • Remove legacy ngraph builders
  • Remove ngraph test utils

Tickets:

@olpipi olpipi requested review from a team as code owners February 7, 2024 14:42
@github-actions github-actions bot added category: IE Tests OpenVINO Test: plugins and common category: GPU OpenVINO GPU plugin category: CPU OpenVINO CPU plugin category: transformations OpenVINO Runtime library - Transformations labels Feb 7, 2024
}
return nodes;
}

std::vector<std::pair<ov::element::Type, std::vector<std::uint8_t>>> interpreterFunction(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be removed in the next PR

void resize_function(std::shared_ptr<ov::Model> function, const std::vector<ov::Shape>& targetInputStaticShapes) {
auto inputs = function->inputs();
std::map<ov::Output<ov::Node>, ov::PartialShape> shapes;
if (inputs.size() > targetInputStaticShapes.size()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

As this is test code use gtest assertion ASSERT_GT() << "error message"; ?

Copy link
Contributor Author

@olpipi olpipi Feb 9, 2024

Choose a reason for hiding this comment

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

This is a free function not related to direct test execution. So I would not use gtest macroces.
But there is no reason to use std::runtime_error. So I changed it to OPENVINO_ASSERT

@vurusovs vurusovs self-assigned this Feb 8, 2024
@olpipi
Copy link
Contributor Author

olpipi commented Feb 8, 2024

is blocked by

#22760

@olpipi olpipi force-pushed the remove_builders branch 2 times, most recently from db98975 to c9fb068 Compare February 19, 2024 10:47
@olpipi olpipi enabled auto-merge February 19, 2024 19:21
@olpipi olpipi added this pull request to the merge queue Feb 20, 2024
Merged via the queue into openvinotoolkit:master with commit 1c6e2f5 Feb 20, 2024
104 checks passed
@olpipi olpipi deleted the remove_builders branch February 20, 2024 01:21
@vurusovs vurusovs added this to the 2024.1 milestone Feb 20, 2024
github-merge-queue bot pushed a commit that referenced this pull request Feb 20, 2024
### Details:
- Restore src/tests/ov_helpers/ov_models/src/precomp.hpp, deleted in
#22709
 - Fix build with -DENABLE_FASTER_BUILD=ON key

### Tickets:
 - *ticket-id*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin category: GPU OpenVINO GPU plugin category: IE Tests OpenVINO Test: plugins and common category: transformations OpenVINO Runtime library - Transformations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants