-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
CoreImpl small refactoring #16145
CoreImpl small refactoring #16145
Conversation
// coreConfig.set_and_update(config); | ||
// once GPU remove support of ov::cache_dir | ||
// CoreConfg::set_and_update will drop CACHE_DIR from config map | ||
// and updates core config with new ov::cache_dir |
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.
I supposed that ov::cache_dir will be removed from all plugin and only exist on ov::core level, it is reasonable.
If so, we also need PR to remove ov::cache_dir from meta plugin(AUTO/BATCH/HETERO)
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.
good point that meta plugins support cache_dir to transfer it to underlying HW plugins.
Need to think how to simplify this handling.
In general, our goal is to avoid handling of core properties by META plugins to simplify them.
b4d1a3c
to
23eb7c3
Compare
@@ -97,5 +97,5 @@ void ov::ICompiledModel::loaded_from_cache() { | |||
wrapper->get_executable_network()->loadedFromCache(); | |||
return; | |||
} | |||
OPENVINO_NOT_IMPLEMENTED; | |||
// OPENVINO_NOT_IMPLEMENTED; |
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.
@ilyachur please, fix this separately
// here we can store values like GPU.0, GPU.1 and we need to set properties to plugin | ||
// for each such .0, .1, .# device to make sure plugin can handle different settings for different | ||
// device IDs | ||
for (auto pluginDesc : pluginRegistry) { |
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.
for (auto pluginDesc : pluginRegistry) { | |
for (auto&& pluginDesc : pluginRegistry) { |
* Small CoreImpl refactoring * Removed cache_dirhandling from CPU plugin * clang-format * Fixed python tests * Fix * Fixed bugs in HETERO case * Fixed clang-format and warnings in auto plugin * Added import_export as capability for TEMPLATE plugin * Commented throw exception from loaded_from_cache * Fixed clang-formatof ro template plugin
Details:
Tickets: