OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[benchmark-app] Revert set the cache mode by benchmark app (#33222)
Pawel Raasz9eb6b90ae034
diff --git a/samples/cpp/benchmark_app/main.cpp b/samples/cpp/benchmark_app/main.cppindex 7f90d31707f..8e89a5270dc 100644--- a/samples/cpp/benchmark_app/main.cpp+++ b/samples/cpp/benchmark_app/main.cpp@@ -605,11 +605,6 @@ int main(int argc, char* argv[]) {if (is_virtual_device(device)) {device_nstreams.erase(device);}-- if (!FLAGS_cache_dir.empty()) {- // Choose between better model compilation time and cache file size.- device_config[ov::cache_mode.name()] = ov::CacheMode::OPTIMIZE_SPEED;- }}auto result = std::find_if(config.begin(), config.end(), [&](const std::pair<std::string, ov::AnyMap>& item) {return device_name.find(item.first) == 0;