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

[Benchmark App] Reject -nireq > -niter when using sync API #27460

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

valir
Copy link
Contributor

@valir valir commented Nov 7, 2024

Details:

While investigating the problem raised by the E-117106 ticket, turned out that, in fact, a problem lies within the Benchmark App. When choosing the sync API, it is not possible to run more inference requests than specified iterations. Later on, if -pc flag was given, the app still tries to display the profiling data for the never launched inferences. This PR detects this situation and rejects the application execution after writing an explanatory message to the console output. Changes are applied for both C++ and Python versions of the benchmark app.

Tickets:

@valir valir requested review from a team as code owners November 7, 2024 13:07
@valir valir requested review from ilya-lavrenov and removed request for a team November 7, 2024 13:07
@github-actions github-actions bot added category: samples OpenVINO Runtime Samples category: tools OpenVINO C++ / Python tools labels Nov 7, 2024
@Wovchena
Copy link
Contributor

Wovchena commented Nov 8, 2024

build_jenkins

@Wovchena Wovchena added this pull request to the merge queue Nov 8, 2024
Merged via the queue into openvinotoolkit:master with commit 9ff42cd Nov 8, 2024
166 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: samples OpenVINO Runtime Samples category: tools OpenVINO C++ / Python tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants