Host Machine Version
native Ubuntu Linux 20.04 Host installed with DRIVE OS DOCKER Containers
Describe the bug
The tensorrt host and cross development repo file has been detected in DOS 6081 docker, but some of the debs has been deleted and blocks the tensorrt development, debug and optimization. Typically we need
To Reproduce
there is a big repo files for host and cross development tools. but the debs has been deleted.
zs@in-sdk-docker:/gw_demo$ dpkg -l | grep tensorrt
ii nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-d6l-cross-ga-20230615 1-1 amd64 nv-tensorrt repository configuration files
ii nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 1-1 amd64 nv-tensorrt repository configuration files
ii tensorrt 8.6.11.4-1+cuda11.4 amd64 Meta package for TensorRT
ii tensorrt-cross-aarch64 8.6.11.4-1+cuda11.4 all Meta package for TensorRT cross enablement
zs@in-sdk-docker:/gw_demo$ ll /var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615/
total 32
drwxr-xr-x 2 root root 4096 Aug 28 14:24 ./
drwxr-xr-x 1 root root 4096 Aug 28 14:21 ../
-rw-r--r-- 1 root root 1619 Jun 15 2023 7f9add6c.pub
-rw-r--r-- 1 root root 7749 Jun 15 2023 Packages.gz
-rw-r--r-- 1 root root 569 Jun 15 2023 Release
-rw-r--r-- 1 root root 801 Jun 15 2023 Release.gpg
Thus, we cannot install some of tensorrt tools.
zs@in-sdk-docker:/gw_demo$ apt-cache search onnx-graph
onnx-graphsurgeon - ONNX GraphSurgeon for TensorRT package
zs@in-sdk-docker:/gw_demo$ sudo apt install onnx-graphsurgeon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcc-9-multilib lib32asan5 lib32gcc-9-dev lib32ubsan1 libx32asan5 libx32gcc-9-dev libx32ubsan1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
onnx-graphsurgeon
0 upgraded, 1 newly installed, 0 to remove and 91 not upgraded.
Need to get 0 B/28.6 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Get:1 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 onnx-graphsurgeon 8.6.11.4-1+cuda11.4 [28.6 kB]
Err:1 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 onnx-graphsurgeon 8.6.11.4-1+cuda11.4
File not found - /var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615/./onnx-graphsurgeon_8.6.11.4-1+cuda11.4_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615/./onnx-graphsurgeon_8.6.11.4-1+cuda11.4_amd64.deb File not found - /var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615/./onnx-graphsurgeon_8.6.11.4-1+cuda11.4_amd64.deb (2: No such file or directory)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Expected behavior
we can use all of tensorrt tools provided by nvidia, to develop deep learning apps in the DriveAGX Devkits.
Some of the tools include but not limited to the following:
Dear @lizhensheng,
As I understand, you have shared the output from host and not in docker. Am I right? I could not find onnx surgeon deb in 6.0.6 docker as well.
The files can be found in the debs from sdk-manager.
The sdk-manager automatically downloads the debs.
For tensorrt debs, there are two debs named nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.5.10.4-x86-host-ga-20221229_1-1_amd64.deb and nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.5.10.4-d6l-cross-ga-20221229_1-1_amd64.deb
root@6.0.8.1-0006-build-linux-sdk:/home/nvidia# sudo dpkg -i nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615_1-1_amd64.deb
(Reading database ... 65718 files and directories currently installed.)
Preparing to unpack nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615_1-1_amd64.deb ...
Unpacking nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 (1-1) over (1-1) ...
Setting up nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 (1-1) ...
root@6.0.8.1-0006-build-linux-sdk:/home/nvidia# sudo apt install onnx-graphsurgeon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcc-9-multilib lib32asan5 lib32gcc-9-dev lib32ubsan1 libx32asan5 libx32gcc-9-dev libx32ubsan1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
onnx-graphsurgeon
0 upgraded, 1 newly installed, 0 to remove and 129 not upgraded.
Need to get 0 B/28.6 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Get:1 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 onnx-graphsurgeon 8.6.11.4-1+cuda11.4 [28.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package onnx-graphsurgeon.
(Reading database ... 65718 files and directories currently installed.)
Preparing to unpack .../onnx-graphsurgeon_8.6.11.4-1+cuda11.4_amd64.deb ...
Unpacking onnx-graphsurgeon (8.6.11.4-1+cuda11.4) ...
Setting up onnx-graphsurgeon (8.6.11.4-1+cuda11.4) ...
root@6.0.8.1-0006-build-linux-sdk:/home/nvidia# sudo apt install graphsurgeon-tf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcc-9-multilib lib32asan5 lib32gcc-9-dev lib32ubsan1 libx32asan5 libx32gcc-9-dev libx32ubsan1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
graphsurgeon-tf
0 upgraded, 1 newly installed, 0 to remove and 129 not upgraded.
Need to get 0 B/14.8 kB of archives.
After this operation, 80.9 kB of additional disk space will be used.
Get:1 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 graphsurgeon-tf 8.6.11.4-1+cuda11.4 [14.8 kB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package graphsurgeon-tf.
(Reading database ... 65750 files and directories currently installed.)
Preparing to unpack .../graphsurgeon-tf_8.6.11.4-1+cuda11.4_amd64.deb ...
Unpacking graphsurgeon-tf (8.6.11.4-1+cuda11.4) ...
Setting up graphsurgeon-tf (8.6.11.4-1+cuda11.4) ...
root@6.0.8.1-0006-build-linux-sdk:/home/nvidia# sudo apt install uff-converter-tf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcc-9-multilib lib32asan5 lib32gcc-9-dev lib32ubsan1 libx32asan5 libx32gcc-9-dev libx32ubsan1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
uff-converter-tf
0 upgraded, 1 newly installed, 0 to remove and 129 not upgraded.
Need to get 0 B/27.3 kB of archives.
After this operation, 220 kB of additional disk space will be used.
Get:1 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.11.4-x86-host-ga-20230615 uff-converter-tf 8.6.11.4-1+cuda11.4 [27.3 kB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package uff-converter-tf.
(Reading database ... 65767 files and directories currently installed.)
Preparing to unpack .../uff-converter-tf_8.6.11.4-1+cuda11.4_amd64.deb ...
Unpacking uff-converter-tf (8.6.11.4-1+cuda11.4) ...
Setting up uff-converter-tf (8.6.11.4-1+cuda11.4) ...