tensorrt安装

The following packages have unmet dependencies:

tensorrt : Depends: libnvinfer8 (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed

dpkg -i nv-tensorrt-repo-ubuntu1604-cuda10.2-trt8.0.1.6-ga-20210626_1-1_amd64.deb
cd /var/nv-tensorrt-repo-ubuntu1604-cuda10.2-trt8.0.1.6-ga-20210626

ls *.deb>i.sh

安装每一个deb
dpkg -i libcudnn8_8.2.1.32-1+cuda10.2_amd64.deb
dpkg -i libcudnn8-dev_8.2.1.32-1+cuda10.2_amd64.deb
dpkg -i libnvinfer8_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvinfer-dev_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvinfer-plugin8_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvinfer-plugin-dev_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvonnxparsers8_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvonnxparsers-dev_8.0.1-1+cuda10.2_amd64.deb
dpkg -i onnx-graphsurgeon_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvparsers8_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvparsers-dev_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvinfer-bin_8.0.1-1+cuda10.2_amd64.deb
dpkg -i python3-libnvinfer_8.0.1-1+cuda10.2_amd64.deb
dpkg -i python3-libnvinfer-dev_8.0.1-1+cuda10.2_amd64.deb
dpkg -i libnvinfer-samples_8.0.1-1+cuda10.2_all.deb
dpkg -i libnvinfer-doc_8.0.1-1+cuda10.2_all.deb
dpkg -i tensorrt_8.0.1.6-1+cuda10.2_amd64.deb

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值