[sibgraph_dumper] Fix sporadic cache volume growth (#21352)
This commit is contained in:
parent
3cae6e7aea
commit
fa1cc89cf3
@ -64,6 +64,7 @@ void OpCache::update_cache(const std::shared_ptr<ov::Node>& node,
|
||||
return;
|
||||
// cloned_node->set_friendly_name(ov::test::functional::get_node_version(cloned_node));
|
||||
for (auto &&it : m_ops_cache) {
|
||||
in_info_is_matched = true;
|
||||
if (m_manager.match(it.first, cloned_node)) {
|
||||
// std::cout << "Match " << cloned_node->get_type_info().name << " " << cloned_node->get_friendly_name() <<
|
||||
// " with " << it.first->get_friendly_name() << std::endl;
|
||||
|
@ -78,7 +78,10 @@ def generate_model_list_file(input_str: str, re_exp_file_path: str, output_file_
|
||||
dirs = [model_dir_path]
|
||||
if dir_re_exp != "*":
|
||||
if is_latest_only:
|
||||
dirs = [find_latest_dir(model_dir_path, dir_re_exp)]
|
||||
try:
|
||||
dirs = [find_latest_dir(model_dir_path, dir_re_exp)]
|
||||
except:
|
||||
dirs = []
|
||||
else:
|
||||
dirs = Path(model_dir_path).glob(dir_re_exp)
|
||||
for dir in dirs:
|
||||
|
Loading…
Reference in New Issue
Block a user