openvino
97887214 - [NPU] Update blob compatibility flexibility (#29387)

Commit
73 days ago
[NPU] Update blob compatibility flexibility (#29387) ### Details: - currently, imported blobs with different OV version + hash are being discarded. This PR will make the version check more permissive and will accept blobs within the same OV release (major, minor, patch) - OV version is now represented as three `uint16_t` fields instead of a string - metadata major version is bumped - added a private NPU property, `DISABLE_VERSION_CHECK`, to bypass version checks. In dev builds, `OV_NPU_DISABLE_VERSION_CHECK` env var is still available for dev builds **IF** the property is not set. New metadata format: ![blob-layout_2025_1](https://github.com/user-attachments/assets/6bd7844a-45ae-468b-a9a3-c43fa4da65d1) ### Tickets: - *C-163952* --------- Signed-off-by: alexandruenache1111 <alexandru.enache@intel.com>
Parents
  • src/plugins/intel_npu
    • src
      • al
        • include/intel_npu
          • config
            • File
              runtime.hpp
          • File
            npu_private_properties.hpp
        • src/config
          • File
            runtime.cpp
      • compiler_adapter/src
        • File
          driver_compiler_adapter.cpp
      • plugin
        • include
          • File
            metadata.hpp
        • src
          • File
            compiled_model.cpp
          • File
            metadata.cpp
          • File
            plugin.cpp
    • tests/unit/npu
      • File
        metadata_version.cpp
Loading