[AUTO plugin] auto minor cleanup (#22583)

* remove redundant code and update the test case.

* Update.
This commit is contained in:
Wang, Yang 2024-02-01 19:20:58 +08:00 committed by GitHub
parent e87403a8e3
commit 10087cccd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -118,8 +118,6 @@ ov::Any AutoCompiledModel::get_property(const std::string& name) const {
return decltype(ov::optimal_number_of_infer_requests)::value_type{real};
}
requests = 0;
// check if the real is default value or actual device didn't support this property.
OPENVINO_ASSERT(m_scheduler->m_compile_context[CPU].m_is_already == true);
try {
// for benchmark through AUTO:CPU,GPU
// SetConfig directly set to CPU/GPU in this case

View File

@ -312,6 +312,7 @@ const std::vector<ConfigParams> testConfigs = {
ConfigParams{false, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 1, 0, false, true},
ConfigParams{true, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 48, 0, false, true},
ConfigParams{false, 3, 5, true, 2, 5, false, ov::test::utils::DEVICE_GPU, 2, 0, false, true},
ConfigParams{false, 3, 5, false, 2, 5, false, ov::test::utils::DEVICE_GPU, 2, 0, false, true},
ConfigParams{true, 3, 5, true, 2, 5, false, ov::test::utils::DEVICE_GPU, 2, 0, false, true},
ConfigParams{true, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 48, 48, false, true},
ConfigParams{true, 3, 5, false, 2, 5, true, ov::test::utils::DEVICE_GPU, 6, 6, false, true},