Trying to run TensorRT project on AWS, getting error


I am trying to verify my TensorRT is working i get the error:

>>> import tensorrt
>>> print(tensorrt.version)
>>> assert tensorrt.Builder(tensorrt.Logger())

[TensorRT] ERROR: CUDA initialization failure with error 222. Please check your CUDA installation:
Traceback (most recent call last):
File “”, line 1, in
TypeError: pybind11::init(): factory function returned nullptr

This error is supposed to be "cudaErrorUnsupportedPtxVersion " which im not sure how to solve.


TensorRT Version:
GPU Type:
Nvidia Driver Version: 450.80.02
CUDA Version: 11.0
CUDNN Version:
Operating System + Version: Ubuntu 18.04.5 LTS
Python Version (if applicable): 3.6
TensorFlow Version (if applicable): 1.15.3
PyTorch Version (if applicable): 1.5.0
Baremetal or Container (if container which image + tag):

Hi @daniel.bancsi,
Can you please try running your model using trtexec with verbose, and share the logs with us?