new OpenVINO preset#1752
Conversation
… structure using cppbuild.sh
|
My plan is to use the OpenVINO preset to package openvino for use in along with OnnxRuntime OpenVINO execution provider, but I haven't got there yet. I figured I would submit the PR for the OpenVINO preset first, but maybe it makes more sense to submit them together? |
|
As long as it works standalone, let's start with this first |
You want to use a fork of ONNX Runtime from Intel that doesn't even support the latest version of its own OpenVINO product? That doesn't sound like a good idea. I'll wait and see what happens with that. For now, please feel free to maintain presets for that in your fork /cc @blueberry |
|
@saudet I have to admit that I don't quite understand what you meand by "a fork of ONNX Runtime from Intel". I see on that page that their current EP supports a last years version of OpenVINO (2025.4.1) and as I understood, this preset would support that version of OpenVINO, but I didn't get the impression that it needs a fork of onnxruntime. Can you please clarify what you referred to? (I'm not experienced enough in arcane C++ library building nuances to figure it out from that reference). |
|
They have a fork here and it's not clear to me why they have this: https://github.com/intel/onnxruntime It just looks like a sideproject from someone at Intel. It doesn't look seriously maintained in any case. Anyway, if you'd like to be able to publish snapshots to work on this, please let me know what your usersnames are at |
|
Thanks, now I see. On the surface it looks to me that this fork is synchronized with onnxruntime, and the only 6 commits that it lags from the upstream are from yesterday and today, so it seems to me that it just follows the main repo. It does not look to me as a hard fork, though, but an ordinary github fork so they have an internal playground for developing their OpenVINO EP. |
@barrypitman What about the e-mail address attached to this account? Is it that username @gmail.com? |
Thanks @m1ngyuan, the support for macosx-arm64 is good.
My goal was to build the ONNX Runtime OpenVINO execution provider which currently requires 2025.4.1. I have requested to see if they'll do a release to bring the EP up to date with OpenVINO 2026.1.0 |
|
Latest OV EP release is out now & available with ORT main - microsoft/onnxruntime#28297 For latest & new OVEP Plugin EP releases, please refer to https://pypi.org/project/onnxruntime-ep-openvino/ project ahead. |
Thank you ankitm3k! Just to understand, is the PyPi project being released from the main repo (https://github.com/microsoft/onnxruntime/) now? It will be necessary to update https://onnxruntime.ai/docs/execution-providers/OpenVINO-ExecutionProvider.html#requirements. |
Its a different private repo for us, ORT is now part of Windows ML project. There is a new OVEP Plugin Code which is currently private but We have shipped the first wheel recently for it ie https://pypi.org/project/onnxruntime-ep-openvino/ Just FYI the build recipe for OVEP Legacy Code is as below - Above will give you build binaries for the desired OV toolkit version for OVEP Legacy Code. We will update the documentation soon on the same front. |
|
It's definitely worth adopting the OpenVINO preset implementation of javacpp. Currently, we are based on javacpp-pytorch and javacpp-cuda. However, the most lacking are diverse deployment and inference tools. We look forward to their eventual success. Additionally, we hope to integrate llama.cpp and tensorRT-llm into our javacpp translation scope as soon as possible. Looking forward to it. @saudet @barrypitman llama.cpp - An open-source project for running large language models (e.g., LLaMA) in C++. |
New onnxruntime 1.26.0 now supports OpenVINO 2026.1 |
|
just fyi i did not say anything about the support in the current javacpp preset, but about the upstream. we still need to build the presets ;) |
Since it seems like the new ORT release (1.26.0) support OpenVINO 2026.1, I think that @m1ngyuan your changes will be perfect. Do you want to send a PR, either to my branch or to the main repo directly? Thanks |
@barrypitman |
Support macosx-arm64 (runtime, build script, docs and poms)
…to-2026.1.0 Update OpenVINO target to 2026.1.0 (runtime, build script and poms)
…mments OpenVINO: add macosx-arm64 platform, simplify sample, and include platform artifact
…nvino-preset-for-windows-and-linux
This preset packages already-built OpenVINO v2025.4.1 libraries for CPU, Intel GPU and NPU for Windows and Linux. I have tested the sample on Linux and it works:
OpenVINO JavaCPP JNI library loaded from: /root/.javacpp/cache/openvino-2025.4.1-1.5.14-SNAPSHOT-linux-x86_64.jar/org/bytedeco/openvino/linux-x86_64/libjniopenvino.so
Allocated ov_core_t wrapper successfully: org.bytedeco.openvino.ov_core_t[address=0x0,position=0,limit=0,capacity=0,deallocator=null]
OpenVINO preset load verification complete.
I think that having this preset pre-packaged and easily includable will be useful for the OnnxRuntime OpenVINO EP (separate pull request).