-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
failed to install onnxruntime-gpu on Jetson Nano with the latest image (Jetpack 4.4.1) #6124
Comments
found and answer how to install here: |
aarch64 gpu? We don't have such a package yet. |
Please note that we have ORT 1.6.0 GPU python (3.6, 3.7, 3.8) packages for Jetpack 4.4/4.4.1 now! |
Hello, I am getting the following error: ModuleNotFoundError: No module named 'Jetson' I try to run the following command: I then get the following 2 errors:
What could be the issue? Thank you for the help! |
there's no package named Jetson. i.e. Download pip wheel from location mentioned above$ wget https://nvidia.box.com/s/bfs688apyvor4eo8sf3y1oqtnarwafww -O onnxruntime_gpu-1.8.0-cp36-cp36m-linux_aarch64.whl Install pip wheel$ pip3 install onnxruntime_gpu-1.8.0-cp36-cp36m-linux_aarch64.whl |
To clarify, run the following two commands? Download pip wheel from location mentioned above$ wget https://nvidia.box.com/s/bfs688apyvor4eo8sf3y1oqtnarwafww -O onnxruntime_gpu-1.8.0-cp36-cp36m-linux_aarch64.whl Install pip wheel$ pip3 install onnxruntime_gpu-1.8.0-cp36-cp36m-linux_aarch64.whl |
Still getting an error with the
|
Try following the link jywu-msft posted: https://elinux.org/Jetson_Zoo#ONNX_Runtime and download the pip-wheel appropriate to the python version (python3 --version) you are using and run the pip3 install onnxruntim... command. Worked for me on a Jetson Nano. |
@weosk's method worked for me, but I'm getting an error trying to import the library: import onnxruntime as ort gives ModuleNotFoundError: No module named 'onnxruntime' Is there a different way to import? |
@dav-ell Hi, I can install onnxruntime-gpu 1.10.0 on my nano with Jetpack version 4.5-b129
Use this command to install .whl
Instead of |
Thanks @patrick620! That did the trick. Fyi to those interested, |
im trying to install onnxruntime on my jetson nano but im running into an issue where im installing like above, but protobuf wont install causing the entire install to fail. the error im getting is : and correct me if im wrong, but jetpack needs python3.6 ? so how do i get around this error? thanks! |
you can install a different version of python on the jetson. |
Can you elaborate on what you mean by TensorrtExecutionProvider is not supported using above method? |
I just ran into this as well, the wheel referenced in the docs seems to be broken |
I am running on Jetpack 5.1 on Jetson Xavier NX I tried the Jetpack 5.0 version pip install in here but it does'nt work. is there a supported version for Jetpack 5.1? |
I also can't run onnxruntime-gpu for Jetpack 5.1.1 on Jetson orin nano developer kit. Onnxruntime-gpu 1.12.1 for Jetpack 5.0 does not see the gpu and only works for cpu, |
+1 for Jetson AGX orin on Jetpack 5.1.1 with 1.12.1 dont work , do you have new version? |
same here, Jetpack 5.1, do you have solution? |
FYI, |
Hi everyone, I have a Jetpack 5.1 and python 3.8 on a Jetson AGX Orin, but everything I try keeps failing.
I'm pretty sure I tried everything, downloaded the right version of files for my Jetson install, but keep failing. Thank you very much in advance for your help |
Looks like you downloaded the wrong version of the wheel. Make sure you
download one with a "cp38" on it. The 36/38 refers to Python 3.6/3.8.
…On Mon, Oct 16, 2023, 2:24 PM Laurent Weingart ***@***.***> wrote:
Hi everyone,
I have a Jetpack 5.1 and python 3.8 on a Jetson AGX Orin, but everything I
try keeps failing.
Following some previous comments, here are my attempts:
$ pip3 install onnxruntime_gpu-1.15.1-cp36-cp36m-linux_aarch64.whl
Defaulting to user installation because normal site-packages is not writeable
ERROR: onnxruntime_gpu-1.15.1-cp36-cp36m-linux_aarch64.whl is not a supported wheel on this platform.
WARNING: There was an error checking the latest version of pip.
$ python3 -m pip install onnxruntime_gpu-1.15.1-cp36-cp36m-linux_aarch64.whl
Defaulting to user installation because normal site-packages is not writeable
ERROR: onnxruntime_gpu-1.15.1-cp36-cp36m-linux_aarch64.whl is not a supported wheel on this platform.
WARNING: There was an error checking the latest version of pip.
$ pip3 install onnxruntime_gpu-1.16.0-cp36-cp36m-linux_aarch64.whl
Defaulting to user installation because normal site-packages is not writeable
ERROR: onnxruntime_gpu-1.16.0-cp36-cp36m-linux_aarch64.whl is not a supported wheel on this platform.
WARNING: There was an error checking the latest version of pip.
$ python3 -m pip install onnxruntime_gpu-1.16.0-cp36-cp36m-linux_aarch64.whl
Defaulting to user installation because normal site-packages is not writeable
ERROR: onnxruntime_gpu-1.16.0-cp36-cp36m-linux_aarch64.whl is not a supported wheel on this platform.
WARNING: There was an error checking the latest version of pip.
I'm pretty sure I tried everything, downloaded the right version of files
for my Jetson install, but keep failing.
Any idea what could help ?
Thank you very much in advance for your help
Cheers
—
Reply to this email directly, view it on GitHub
<#6124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJHJXLLDE5WT6WLWSNK7R3X7V3UPAVCNFSM4UZY4CC2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGUYDKMRVHAYQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello dav-ell, Actually you just made me understand the error I made, which is actually different from what could be thought at first. Now I actually downloaded the file from my own computer and the result is indeed onnxruntime_gpu-1.16.0-cp38-cp38-linux_aarch64.whl Thank you very much for your help! Cheers |
Hi again, I have a question, hopefully you can help me.
Is there an additional configuration to perform in order to ensure that onnx will use the GPU ? Thank you very much for your help in advance EDIT: It also mentions that it has been tested with CUDA versions from 11.6 up to 11.8, and cuDNN from 8.2.4 up to 8.7.0 I have CUDA 11.4 and cuDNN 8.6 that came with Jetpack 5.1 I fail to see a working onnxruntime-gpu version for CUDA 11.4, cuDNN 8.6 and Jetpack 5.1 Any help or advice would be greatly appreciated :-) EDIT 2: I see that the latest CUDA version that can be installed on Jetson is currently the 12.2 but I fail to see the list of compatibilities for onnxruntime-gpu 1.6 Thank you in advance :-) Cheers |
Hi again, I reinstalled CUDA 11.8 and it doesn't seem to get any better:
Would any of you have an idea as to what I need to do for my onnx runtime environment to use the GPU? Cheers |
did you previously install onnxruntime? |
Hello jywu, Thank you for spotting this, I installed the 1.15.1 and 1.16 versions from the downloaded wheel many times and I didn't give the necessary attention to that line. My issue is indeed fixed now and I finally see the GPU as device :-) Cheers |
Describe the bug
failed to install onnxruntime-gpu PyPi package on Jetson Nano device with the latest image (Jetpack 4.4.1)
Urgency
ASAP
System information
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
the package should be installed as onnxruntime==1.4.0 does successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. If the issue is about a particular model, please share the model details as well to facilitate debugging.
The text was updated successfully, but these errors were encountered: