From 045977f671e07fb144d05d916ee95fca61232660 Mon Sep 17 00:00:00 2001 From: Zhang Yi Date: Mon, 6 Jan 2025 13:36:58 +0800 Subject: [PATCH] [CPU]fix test --- src/plugins/intel_cpu/src/plugin.cpp | 1 + .../custom/behavior/ov_executable_network/properties.cpp | 1 + .../tests/functional/custom/behavior/ov_plugin/properties.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/plugins/intel_cpu/src/plugin.cpp b/src/plugins/intel_cpu/src/plugin.cpp index 1535c18812cdac..701676b8275ac4 100644 --- a/src/plugins/intel_cpu/src/plugin.cpp +++ b/src/plugins/intel_cpu/src/plugin.cpp @@ -441,6 +441,7 @@ ov::Any Plugin::get_ro_property(const std::string& name, const ov::AnyMap& optio RW_property(ov::hint::kv_cache_precision.name()), RW_property(ov::hint::key_cache_group_size.name()), RW_property(ov::hint::value_cache_group_size.name()), + RW_property(ov::hint::key_cache_quant_bychannel.name()), }; OPENVINO_SUPPRESS_DEPRECATED_START diff --git a/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_executable_network/properties.cpp b/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_executable_network/properties.cpp index 29e5fbbe982542..3859f54a099333 100644 --- a/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_executable_network/properties.cpp +++ b/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_executable_network/properties.cpp @@ -43,6 +43,7 @@ TEST_F(OVClassConfigTestCPU, smoke_CpuExecNetworkSupportedPropertiesAreAvailable RO_property(ov::hint::kv_cache_precision.name()), RO_property(ov::hint::key_cache_group_size.name()), RO_property(ov::hint::value_cache_group_size.name()), + RO_property(ov::hint::key_cache_quant_bychannel.name()) }; ov::Core ie; diff --git a/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_plugin/properties.cpp b/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_plugin/properties.cpp index 696f73f27e1142..a27b6122e18bff 100644 --- a/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_plugin/properties.cpp +++ b/src/plugins/intel_cpu/tests/functional/custom/behavior/ov_plugin/properties.cpp @@ -58,6 +58,7 @@ TEST_F(OVClassConfigTestCPU, smoke_PluginAllSupportedPropertiesAreAvailable) { RW_property(ov::hint::kv_cache_precision.name()), RW_property(ov::hint::key_cache_group_size.name()), RW_property(ov::hint::value_cache_group_size.name()), + RW_property(ov::hint::key_cache_quant_bychannel.name()), }; ov::Core ie;