orin部署tensorrt、cuda、cudnn、pytorch、onnx

绝大部分参考https://blog.csdn.net/qq_41336087/article/details/129661850

非orin可以参考https://blog.csdn.net/JineD/article/details/131201121

报错显卡驱动安装535没法安装、原始是和l4t-cuda的部分文件冲突

Options marked [*] produce a lot of output - pipe it through ‘less’ or
‘more’ ! nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg -i
–force-overwrite libnvidia-compute-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255446 files and directories currently installed.)
Preparing to unpack
libnvidia-compute-535_535.171.04-0ubuntu0.20.04.1_arm64.deb …
Unpacking libnvidia-compute-535:arm64 (535.171.04-0ubuntu0.20.04.1)
… dpkg: warning: overriding problem because --force enabled: dpkg:
warning: trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libcuda.so’,
which is also in package nvidia-l4t-cuda 35.4.1-20230801124926 Setting
up libnvidia-compute-535:arm64 (535.171.04-0ubuntu0.20.04.1) …
Processing triggers for libc-bin (2.31-0ubuntu9.9) …
nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg -i
–force-overwrite nvidia-utils-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255467 files and directories currently installed.)
Preparing to unpack
nvidia-utils-535_535.171.04-0ubuntu0.20.04.1_arm64.deb … Unpacking
nvidia-utils-535 (535.171.04-0ubuntu0.20.04.1) over
(535.171.04-0ubuntu0.20.04.1) … Setting up nvidia-utils-535
(535.171.04-0ubuntu0.20.04.1) … Processing triggers for man-db
(2.9.1-1) … nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg
-i --force-overwrite libnvidia-extra-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255467 files and directories currently installed.)
Preparing to unpack
libnvidia-extra-535_535.171.04-0ubuntu0.20.04.1_arm64.deb …
Unpacking libnvidia-extra-535:arm64 (535.171.04-0ubuntu0.20.04.1) …
dpkg: warning: overriding problem because --force enabled: dpkg:
warning: trying to overwrite
‘/usr/lib/aarch64-linux-gnu/gbm/nvidia-drm_gbm.so’, which is also in
package nvidia-l4t-gbm 35.4.1-20230801124926 Setting up
libnvidia-extra-535:arm64 (535.171.04-0ubuntu0.20.04.1) … Processing
triggers for libc-bin (2.31-0ubuntu9.9) …
nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg -i
–force-overwrite libnvidia-gl-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255473 files and directories currently installed.)
Preparing to unpack
libnvidia-gl-535_535.171.04-0ubuntu0.20.04.1_arm64.deb … Unpacking
libnvidia-gl-535:arm64 (535.171.04-0ubuntu0.20.04.1) … dpkg:
warning: overriding problem because --force enabled: dpkg: warning:
trying to overwrite ‘/usr/share/glvnd/egl_vendor.d/10_nvidia.json’,
which is also in package nvidia-l4t-3d-core 35.4.1-20230801124926

在这里插入图片描述
直接覆写

sudo dpkg -i --force-overwrite /var/cache/apt/archives/nvidia-340_340.107-0ubuntu0~gpu18.04.1_amd64.deb
//注意最后 /var…amd64.deb 部分,是你报错误的文件路径名称

参考:https://www.cnblogs.com/xingboy/p/15770950.html

pytorch:

必须要用特殊版本
参考https://blog.csdn.net/qq_44235661/article/details/134105151
http://t.csdnimg.cn/Bq4o1

链接:https://pan.baidu.com/s/1bvYujHmJFkGCztC_ymcDFw
提取码:eqeq

onnx:

安装失败:cmake版本不对
参考https://blog.csdn.net/qq_40541102/article/details/130086491

ONNX_Runtime

下载地址:https://elinux.org/Jetson_Zoo#ONNX_Runtime

在这里插入图片描述

找对应版本1.12
在这里插入图片描述

参考
https://blog.csdn.net/pvmsmfchcs/article/details/134694477
onnxruntime-gpu https://zhuanlan.zhihu.com/p/661511110
https://www.cnblogs.com/shaoxx333/p/17044934.html#_label1

action-tutorials-py 0.9.4
ament-clang-format 0.9.8
ament-copyright 0.9.8
ament-cppcheck 0.9.8
ament-cpplint 0.9.8
ament-flake8 0.9.8
ament-index-python 1.1.0
ament-lint 0.9.8
ament-lint-cmake 0.9.8
ament-package 0.9.5
ament-pep257 0.9.8
ament-uncrustify 0.9.8
ament-xmllint 0.9.8
apt-clone 0.2.1
apturl 0.5.2
argcomplete 3.2.1
atomicwrites 1.1.5
attrs 19.3.0
autobahn 17.10.1
Automat 0.8.0
bcrypt 3.1.7
beautifulsoup4 4.8.2
blinker 1.4
Brlapi 0.7.0
catkin-pkg-modules 1.0.0
cbor 1.0.0
certifi 2019.11.28
cfgv 3.4.0
chardet 3.0.4
charset-normalizer 3.3.2
clang-format 14.0.6
Click 7.0
cmake 3.27.5
colcon-argcomplete 0.3.3
colcon-bash 0.5.0
colcon-cd 0.1.1
colcon-cmake 0.2.28
colcon-common-extensions 0.3.0
colcon-core 0.15.0
colcon-defaults 0.2.8
colcon-devtools 0.2.4
colcon-installed-package-information 0.1.0
colcon-library-path 0.2.1
colcon-metadata 0.2.5
colcon-mixin 0.2.3
colcon-notification 0.2.15
colcon-output 0.2.13
colcon-override-check 0.0.1
colcon-package-information 0.3.3
colcon-package-selection 0.2.10
colcon-parallel-executor 0.3.0
colcon-pkg-config 0.1.0
colcon-powershell 0.4.0
colcon-python-setup-py 0.2.8
colcon-recursive-crawl 0.2.3
colcon-ros 0.4.1
colcon-test-result 0.3.8
colcon-zsh 0.5.0
colorama 0.4.3
coloredlogs 15.0.1
constantly 15.1.0
contourpy 1.1.1
cov-core 1.15.0
coverage 4.5.2
cryptography 2.8
cupshelpers 1.0
cycler 0.10.0
Cython 3.0.10
dbus-python 1.2.16
decorator 4.4.2
defer 1.0.6
demo-nodes-py 0.9.4
distlib 0.3.8
distro 1.4.0
distro-info 0.23+ubuntu1.1
docutils 0.16
domain-coordinator 0.9.2
duplicity 0.8.12.0
empy 3.3.2
entrypoints 0.3
examples-rclpy-executors 0.9.4
examples-rclpy-minimal-action-client 0.9.4
examples-rclpy-minimal-action-server 0.9.4
examples-rclpy-minimal-client 0.9.4
examples-rclpy-minimal-publisher 0.9.4
examples-rclpy-minimal-service 0.9.4
examples-rclpy-minimal-subscriber 0.9.4
exceptiongroup 1.2.0
fasteners 0.14.1
filelock 3.13.1
flake8 3.7.9
flake8-blind-except 0.2.1
flake8-builtins 2.2.0
flake8-class-newline 1.6.0
flake8-comprehensions 3.14.0
flake8-deprecated 2.2.1
flake8-docstrings 1.7.0
flake8-import-order 0.18.2
flake8-quotes 3.3.2
flatbuffers 24.3.25
fonttools 4.45.1
future 0.18.2
gdown 5.0.0
gitdb 4.0.11
GitPython 3.1.40
graphsurgeon 0.4.6
html5lib 1.0.1
httplib2 0.14.0
humanfriendly 10.0
hyperlink 19.0.0
identify 2.5.33
idna 2.8
ifcfg 0.18
importlib-metadata 1.5.0
importlib-resources 6.1.1
incremental 16.10.1
iniconfig 2.0.0
jetson-stats 4.2.3
Jetson.GPIO 2.0.20
joblib 1.3.2
keyring 18.0.1
kiwisolver 1.0.1
language-selector 0.1
lap 0.4.0
lapx 0.5.9
lark-parser 0.8.1
launch 0.10.10
launch-ros 0.11.7
launch-testing 0.10.10
launch-testing-ros 0.11.7
launch-xml 0.10.10
launch-yaml 0.10.10
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
lockfile 0.12.2
louis 3.12.0
lxml 4.5.0
lz4 3.0.2+dfsg
macaroonbakery 1.3.1
Mako 1.1.0
markdown-it-py 3.0.0
MarkupSafe 1.1.0
matplotlib 3.7.4
mccabe 0.6.1
mdurl 0.1.2
mock 3.0.5
monotonic 1.5
more-itertools 4.2.0
mpi4py 3.0.3
mpmath 1.3.0
netifaces 0.10.4
nodeenv 1.8.0
nose2 0.9.1
notify2 0.3
numpy 1.24.4
oauthlib 3.1.0
olefile 0.46
onboard 1.4.1
onnx 1.16.1
onnxruntime-gpu 1.12.1
onnxsim 0.4.36
opencv-python 4.6.0.66
osrf-pycommon 0.1.11
packaging 20.3
PAM 0.4.2
pandas 2.0.3
paramiko 2.6.0
pbr 6.0.0
pexpect 4.6.0
Pillow 10.1.0
pip 20.0.2
pipx 1.4.3
platformdirs 4.1.0
pluggy 0.13.0
pre-commit 3.5.0
protobuf 5.27.0
psutil 5.9.6
py 1.8.1
py-cpuinfo 9.0.0
py-ubjson 0.14.0
pyasn1 0.4.2
pyasn1-modules 0.2.1
pycairo 1.16.2
pycodestyle 2.5.0
pycrypto 2.6.1
pycups 1.9.73
pydocstyle 2.1.1
pydot 1.4.1
pyflakes 2.1.1
pygments 2.18.0
PyGObject 3.36.0
PyHamcrest 1.9.0
PyICU 2.4.2
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.3.0
pyOpenSSL 19.0.0
pyparsing 2.4.6
pypng 0.0.20
PyQRCode 1.2.1
PyQt5 5.14.1
pyRFC3339 1.1
PySocks 1.7.1
pytest 7.4.4
pytest-cov 2.8.1
pytest-repeat 0.9.3
pytest-rerunfailures 13.0
python-apt 2.0.1+ubuntu0.20.4.1
python-dateutil 2.8.2
python-dbusmock 0.19
python-debian 0.1.36+ubuntu1.1
python-snappy 0.5.3
PyTrie 0.2
pytz 2023.3.post1
pyxdg 0.26
PyYAML 5.3.1
pyzed 4.0
quality-of-service-demo-py 0.9.4
rdp 0.8
requests 2.31.0
requests-unixsocket 0.2.0
rich 13.7.1
roman 2.0.0
ros2action 0.9.13
ros2bag 0.3.11
ros2cli 0.9.13
ros2component 0.9.13
ros2doctor 0.9.13
ros2interface 0.9.13
ros2launch 0.11.7
ros2lifecycle 0.9.13
ros2multicast 0.9.13
ros2node 0.9.13
ros2param 0.9.13
ros2pkg 0.9.13
ros2run 0.9.13
ros2service 0.9.13
ros2topic 0.9.13
rosdep 0.22.2
rosdep-modules 0.22.2
rosdepc 1.1.0
rosdistro-modules 0.9.0
rosidl-runtime-py 0.9.1
rospkg-modules 1.5.0
rpyutils 0.2.0
rqt-action 1.0.2
rqt-console 1.1.2
rqt-graph 1.1.3
rqt-gui 1.1.2
rqt-gui-py 1.1.2
rqt-msg 1.1.1
rqt-plot 1.1.1
rqt-publisher 1.3.0
rqt-py-console 1.0.2
rqt-reconfigure 1.0.8
rqt-service-caller 1.0.5
rqt-shell 1.0.2
rqt-srv 1.0.3
rqt-top 1.0.2
rqt-topic 1.3.0
scikit-learn 1.3.2
scipy 1.10.1
seaborn 0.13.0
SecretStorage 2.3.1
service-identity 18.1.0
setuptools 69.0.3
simplejson 3.16.0
sip 4.19.21
six 1.14.0
smbus2 0.4.3
smmap 5.0.1
snowballstemmer 2.0.0
soupsieve 1.9.5
sros2 0.9.5
sympy 1.12
systemd-python 234
teleop-twist-keyboard 2.3.2
tensorrt 8.4.1.5
testresources 2.0.1
thop 0.1.1.post2209072238
threadpoolctl 3.2.0
tomli 2.0.1
topic-monitor 0.9.4
torch 1.12.0a0+2c916ef.nv22.3
torchvision 0.13.0
tqdm 4.66.1
Twisted 18.9.0
txaio 2.10.0
typing-extensions 4.8.0
tzdata 2023.3
u-msgpack-python 2.1
ubuntu-advantage-tools 8001
ubuntu-drivers-common 0.0.0
uff 0.6.9
ultralytics 8.0.217
urllib3 1.25.8
urwid 2.0.1
userpath 1.9.1
vcstool 0.3.0
virtualenv 20.25.0
wadllib 1.3.3
wcwidth 0.1.8
webencodings 0.5.1
wheel 0.34.2
wsaccel 0.6.2
xkit 0.0.0
zipp 3.17.0
zope.interface 4.7.1

在这里插入图片描述

  • 16
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值