Skip to content

Conversation

@akodanka
Copy link

Changes:

  • Add ov::FdGetterType and ov::hint::fd_getter property
  • Extend load_mmap_object() with fd-based overload (Linux only)
  • Integrate fd_getter through NPUW deserialization flow
  • Windows implementation throws unsupported exception

Details:

  • item1
  • ...

Tickets:

  • ticket-id

@github-actions github-actions bot added category: inference OpenVINO Runtime library - Inference category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin labels Oct 27, 2025
@sys-openvino-ci sys-openvino-ci added the ExternalIntelPR External contributor from Intel label Oct 27, 2025
@akodanka akodanka marked this pull request as ready for review October 27, 2025 17:36
@akodanka akodanka requested review from a team as code owners October 27, 2025 17:36
@smirnov-alexey
Copy link
Contributor

NPUW part looks good

@smirnov-alexey
Copy link
Contributor

build_jenkins

* This is useful for scenarios where file access needs to be controlled externally.
* @ingroup ov_runtime_cpp_prop_api
*/
using FdGetterType = std::function<int(const std::string&)>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not add as public property as this some internal NPU handling

}
}

void set_from_fd(int fd) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code should be reuse the path version also opens and created file descriptor.

Changes:
- Add ov::FdGetterType and ov::hint::fd_getter property
- Extend load_mmap_object() with fd-based overload (Linux only)
- Integrate fd_getter through NPUW deserialization flow
- Windows implementation throws unsupported exception

Signed-off-by: Anoob Anto Kodankandath <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings category: inference OpenVINO Runtime library - Inference category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin ExternalIntelPR External contributor from Intel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants