According to Jetson zoo,
curl https://nvidia.box.com/shared/static/2sv2fv1wseihaw8ym0d4srz41dzljwxh.whl -o /tmp/onnxruntime_gpu-1.11.0-cp38-cp38m-linux_aarch64.whl
python3.8 -m pip install /tmp/onnxruntime_gpu-1.11.0-cp38-cp38m-linux_aarch64.whl
ERROR: onnxruntime_gpu-1.11.0-cp38-cp38m-linux_aarch64.whl is not a supported wheel on this platform.
How can I install the most recent pre-built onnxruntime_gpu for Jetson nano?
Hi,
Nano’s default Python version is 3.6.
Do you install Python 3.8 first?
Or could you give the Python 3.6 package a try?
Thanks.
Yes, I’ve upgraded to python3.8 by following https://jetsonhacks.com/2023/06/12/upgrade-python-on-jetson-nano-tutorial/
By the way, I also try python 3.6 and get the following failure result:
python3.6 -m pip install /tmp/onnxruntime_gpu-1.11.0-cp36-cp36m-linux_aarch64.whl
Processing /tmp/onnxruntime_gpu-1.11.0-cp36-cp36m-linux_aarch64.whl
Requirement already satisfied: numpy>=1.13.3 in /usr/local/lib/python3.6/dist-packages (from onnxruntime-gpu==1.11.0)
Collecting flatbuffers (from onnxruntime-gpu==1.11.0)
Downloading https://files.pythonhosted.org/packages/6f/12/d5c79ee252793ffe845d58a913197bfa02ae9a0b5c9bc3dc4b58d477b9e7/flatbuffers-23.5.26-py2.py3-none-any.whl
Collecting protobuf (from onnxruntime-gpu==1.11.0)
Downloading https://files.pythonhosted.org/packages/6c/be/4e32d02bf08b8f76bf6e59f2a531690c1e4264530404501f3489ca975d9a/protobuf-4.21.0-py2.py3-none-any.whl (164kB)
100% |████████████████████████████████| 174kB 1.3MB/s
protobuf requires Python ‘>=3.7’ but the running Python is 3.6.9
Hi,
We test the Python 3.6 package on JetPack 4.6.3 and it can work correctly.
Could you try it again?
$ wget https://nvidia.box.com/shared/static/pmsqsiaw4pg9qrbeckcbymho6c01jj4z.whl -O onnxruntime_gpu-1.11.0-cp36-cp36m-linux_aarch64.whl
$ pip3 install onnxruntime_gpu-1.11.0-cp36-cp36m-linux_aarch64.whl
Defaulting to user installation because normal site-packages is not writeable
Processing ./onnxruntime_gpu-1.11.0-cp36-cp36m-linux_aarch64.whl
Requirement already satisfied: numpy>=1.13.3 in ./.local/lib/python3.6/site-packages (from onnxruntime-gpu==1.11.0) (1.19.4)
Requirement already satisfied: protobuf in /usr/local/lib/python3.6/dist-packages (from onnxruntime-gpu==1.11.0) (3.19.6)
Requirement already satisfied: flatbuffers in /usr/local/lib/python3.6/dist-packages (from onnxruntime-gpu==1.11.0) (1.12)
Installing collected packages: onnxruntime-gpu
Successfully installed onnxruntime-gpu-1.11.0
Thanks.
system
Closed
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.