-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build.py fails during onnxruntime backend installation #8126
Comments
Also tried adding this argument to the build command, but it is still failing:
|
I have the same error too
|
That
Still it is not a solution, as it merely moves the process on to other compilation problems... in fact the entire issue could be renamed to a more generic one specifying cmake version (mine is 4.0.0, how about you?), because the problem seems to be related to unsupported multiple versions of cmake - both the genuinely obsolete ones and the latest 4.0.0 that seems to trigger that deprecation error as a false ;positive. And the deprecation error occurs even without compiling the ONNX backend: in my case it happens for any backend, e.g. the Python one, so I'd suggest verifying it and renaming the issue. |
I attempted to build all the backends using my initial setup (CMake version 3.30.2 on my PC and version 3.28.3 specified by build.py). I successfully built all the backends except for the ONNX and Python ones. However, with CMake version 4.0.0, the process already fails during the third-party installation, whether i add the extra flags or not. |
I also encountered this issue, the root cause is that:
For me, I am not using OpenVINO, so I mitigated by following patch:
And build with OpenVINO disabled:
If you don't need OpenVINO neither, you can work around like this, otherwise a patch on the OpenVINO |
Description
I am trying to build a custom triton server image, but it fails during the onnxruntime backend installation. Leaving it out, the build runs successfully.
Triton Information
I am using the latest r25.02 release branches, but I also get the same result with r25.01.
To Reproduce
Run this command locally in the server repository:
python3 ./build.py --backend=onnxruntime --enable-gpu
Expected behavior
Run the build successfully.
The text was updated successfully, but these errors were encountered: