-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[CPU] [API CONFORMANCE] Support unsupported property OPTIMAL_BATCH_SIZE in CPU #28948
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
base: master
Are you sure you want to change the base?
[CPU] [API CONFORMANCE] Support unsupported property OPTIMAL_BATCH_SIZE in CPU #28948
Conversation
bdd509f to
719e86e
Compare
719e86e to
5a2e4ff
Compare
return nullptr for property ov::hint:model return 1 for OPTIMAL_BATCH_SIZE Signed-off-by: HU Yuan2 <[email protected]>
Signed-off-by: HU Yuan2 <[email protected]>
|
This PR will be closed in a week because of 2 weeks of no activity. |
|
This PR will be closed in a week because of 2 weeks of no activity. |
|
This PR was closed because it has been stalled for 2 week with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but seems to be a meaningless effort.
| auto it = std::find(metrics.begin(), metrics.end(), ov::optimal_batch_size.name()); | ||
| if (metrics.end() == it) | ||
| // not apply auto batch for CPU plugin | ||
| if (metrics.end() == it || parsed._deviceName == "CPU") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should not be customization for single device.
If auto batch should not be applied here maybe plugin should not return it as supported property and old condition will be enough.
Here should be generic logic not per device.
Details:
Tickets: