Add warning of benchmark_app about disabling auto batching (#13907)

* merge master

* reset original format

* remove AUTO

* Update tools/benchmark_tool/openvino/tools/benchmark/main.py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* delete condition

* delete condition in py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
This commit is contained in:
authored and GitHub committed 2022-12-15 10:51:57 +08:00
1 parent 2f95de3239
commit befbae28ca
2 files changed
+2

No files matched your search

+1
View File
@@ -600,6 +600,7 @@ int main(int argc, char* argv[]) {
// If set batch size, disable the auto batching
if (FLAGS_b > 0) {
slog::warn << "Batch size is set. Auto batching will be disabled" << slog::endl;
core.set_property(ov::hint::allow_auto_batching(false));
}