[E] [TRT] CUDA initialization failure with error 34


When I run sample_mnist. it occurs ‘[E] [TRT] CUDA initialization failure with error 34’.
how to fix it? thanks.


TensorRT Version:
GPU Type: 2080ti
Nvidia Driver Version: 460.84
CUDA Version: 11.1
CUDNN Version: 8.0.5
Operating System + Version: ubuntu 18.04
Python Version (if applicable): python-3.8
TensorFlow Version (if applicable):
PyTorch Version (if applicable): 1.8.1
Baremetal or Container (if container which image + tag):

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi @xiaowk5516,

This looks like dependencies issue.
We recommend you to please make sure dependencies CUDA installed correctly.
If you need further assistance in CUDA setup, we recommend you to post your concern on CUDA forum to get better help.

Thank you.

Thank you.