tensorrt-installation-colab
tensorrt-installation-colab copied to clipboard
problem in importing tensorrt
Hi! Thanks for sharing your codes. I'm also using this solution to install tensorrt 7 on Colab but the problem is that I cannot import the TensorRT I searched for it and I got that there must be other packages too I also used almost all methods that have been mentioned in Nvidia but none of them was successful :( I wish I can find a solution to correct this installation or if there is another way available will be very appreciated :)
This is what I saw in Nvidia:
You should see something similar to the following: ii graphsurgeon-tf 7.2.3-1+cuda11.1 amd64 GraphSurgeon for TensorRT package ii libnvinfer-bin 7.2.3-1+cuda11.1 amd64 TensorRT binaries ii libnvinfer-dev 7.2.3-1+cuda11.1 amd64 TensorRT development libraries and headers ii libnvinfer-doc 7.2.3-1+cuda11.1 all TensorRT documentation ii libnvinfer-plugin-dev 7.2.3-1+cuda11.1 amd64 TensorRT plugin libraries ii libnvinfer-plugin7 7.2.3-1+cuda11.1 amd64 TensorRT plugin libraries ii libnvinfer-samples 7.2.3-1+cuda11.1 all TensorRT samples ii libnvinfer7 7.2.3-1+cuda11.1 amd64 TensorRT runtime libraries ii libnvonnxparsers-dev 7.2.3-1+cuda11.1 amd64 TensorRT ONNX libraries ii libnvonnxparsers7 7.2.3-1+cuda11.1 amd64 TensorRT ONNX libraries ii libnvparsers-dev 7.2.3-1+cuda11.1 amd64 TensorRT parsers libraries ii libnvparsers7 7.2.3-1+cuda11.1 amd64 TensorRT parsers libraries ii python-libnvinfer 7.2.3-1+cuda11.1 amd64 Python bindings for TensorRT ii python-libnvinfer-dev 7.2.3-1+cuda11.1 amd64 Python development package for TensorRT ii python3-libnvinfer 7.2.3-1+cuda11.1 amd64 Python 3 bindings for TensorRT ii python3-libnvinfer-dev 7.2.3-1+cuda11.1 amd64 Python 3 development package for TensorRT ii tensorrt 7.2.3.x-1+cuda11.1 amd64 Meta package of TensorRT ii uff-converter-tf 7.2.3-1+cuda11.1 amd64 UFF converter for TensorRT package ii onnx-graphsurgeon 7.2.3-1+cuda11.1 amd64 ONNX GraphSurgeon for TensorRT package
And This is what I see after my installation:
ii libnvinfer-bin 7.0.0-1+cuda10.0 amd64 TensorRT binaries hi libnvinfer-dev 7.0.0-1+cuda10.0 amd64 TensorRT development libraries and headers ii libnvinfer-doc 7.0.0-1+cuda10.0 all TensorRT documentation hi libnvinfer-plugin-dev 7.0.0-1+cuda10.0 amd64 TensorRT plugin libraries hi libnvinfer-plugin7 7.0.0-1+cuda10.0 amd64 TensorRT plugin libraries ii libnvinfer-samples 7.0.0-1+cuda10.0 all TensorRT samples hi libnvinfer7 7.0.0-1+cuda10.0 amd64 TensorRT runtime libraries hi libnvonnxparsers-dev 7.0.0-1+cuda10.0 amd64 TensorRT ONNX libraries hi libnvonnxparsers7 7.0.0-1+cuda10.0 amd64 TensorRT ONNX libraries hi libnvparsers-dev 7.0.0-1+cuda10.0 amd64 TensorRT parsers libraries hi libnvparsers7 7.0.0-1+cuda10.0 amd64 TensorRT parsers libraries hi python-libnvinfer 7.0.0-1+cuda10.0 amd64 Python bindings for TensorRT hi python3-libnvinfer 7.0.0-1+cuda10.0 amd64 Python 3 bindings for TensorRT ii tensorrt 7.0.0.11-1+cuda10.0 amd64 Meta package of TensorRT
Hi @prratadiya Great work but
import tensorrt is not working
Please help
Hi @prratadiya Great work but
import tensorrt is not working
Please help
Hello @codebugged. Did you get it working? Getting same error in google colab...
@prratadiya - Import tensorrt is not working. I tried it in colab using .deb file and via tensor.contrib too. If you get it working, kindly let us know. Thank you in advance.
Has anyone gotten Import tensorrt to work yet? Thanks!
Hello, same problem cannot import tensorRT...
Was there a solution to import tensorRT?