Skip to content

Commit 047ae94

Browse files
authored
[intel-npu] Increasing qdq_optimization's compiler support version (#29551)
### Details: - Increasing npu compiler support version for NPU_QDQ_OPTIMIZATION property to 7.20 ### Tickets: - *ticket-id*
1 parent 54a5cdc commit 047ae94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plugins/intel_npu/src/compiler_adapter/src/driver_compiler_adapter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,8 @@ std::string DriverCompilerAdapter::serializeConfig(const Config& config,
552552
content = std::regex_replace(content, std::regex(dqstr.str()), "");
553553
}
554554

555-
// QDQ_OPTIMIZATION is not supported in versions < 7.5 - need to remove it
556-
if ((compilerVersion.major < 7) || (compilerVersion.major == 7 && compilerVersion.minor < 5)) {
555+
// QDQ_OPTIMIZATION is not supported in versions < 7.20 - need to remove it
556+
if ((compilerVersion.major < 7) || (compilerVersion.major == 7 && compilerVersion.minor < 20)) {
557557
std::ostringstream qdqstr;
558558
qdqstr << ov::intel_npu::qdq_optimization.name() << KEY_VALUE_SEPARATOR << VALUE_DELIMITER << "\\S+"
559559
<< VALUE_DELIMITER;

src/plugins/intel_npu/src/plugin/src/plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ void Plugin::reset_compiler_dependent_properties() const {
628628
// NPU_QDQ_OPTIMIZATION
629629
// unpublish if compiler version requirement is not met
630630
if (_properties.find(ov::intel_npu::qdq_optimization.name()) != _properties.end()) {
631-
if (active_compiler_version >= ICOMPILER_MAKE_VERSION(7, 5)) {
631+
if (active_compiler_version >= ICOMPILER_MAKE_VERSION(7, 20)) {
632632
std::get<0>(_properties[ov::intel_npu::qdq_optimization.name()]) = true; /// mark supported
633633
} else {
634634
std::get<0>(_properties[ov::intel_npu::qdq_optimization.name()]) = false; // mark unsupported

0 commit comments

Comments
 (0)