Skip to content

Commit 51a9edd

Browse files
[NPU] Remove L0 backend check for MAX_TILES and STEPPING (#33950)
### Details: - removed check for Level Zero backend so that the CiP would enter those ifs ### Tickets: - *ticket-id* Signed-off-by: alexandruenache1111 <alexandru.enache@intel.com>
1 parent b4430b4 commit 51a9edd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,7 @@ std::shared_ptr<ov::ICompiledModel> Plugin::compile_model(const std::shared_ptr<
785785
// Update stepping w/ information from driver, unless provided by user or we are off-device
786786
// Ignore, if compilation was requested for platform, different from current
787787
if (!localConfig.has<STEPPING>() && device != nullptr &&
788-
device->getName() == ov::intel_npu::Platform::standardize(platform) &&
789-
_metrics->GetBackendName() == "level_zero") {
788+
device->getName() == ov::intel_npu::Platform::standardize(platform)) {
790789
try {
791790
localConfig.update({{ov::intel_npu::stepping.name(), std::to_string(device->getSubDevId())}});
792791
} catch (...) {
@@ -797,8 +796,7 @@ std::shared_ptr<ov::ICompiledModel> Plugin::compile_model(const std::shared_ptr<
797796
// Update max_tiles w/ information from driver, unless provided by user or we are off-device
798797
// Ignore, if compilation was requested for platform, different from current
799798
if (!localConfig.has<MAX_TILES>() && device != nullptr &&
800-
device->getName() == ov::intel_npu::Platform::standardize(platform) &&
801-
_metrics->GetBackendName() == "level_zero") {
799+
device->getName() == ov::intel_npu::Platform::standardize(platform)) {
802800
try {
803801
localConfig.update({{ov::intel_npu::max_tiles.name(), std::to_string(device->getMaxNumSlices())}});
804802
} catch (...) {

0 commit comments

Comments
 (0)