NVIDIA / NVIDIA/TensorRT

tensorrt.Builder() fail when it does not run with root privileges

Open
#3,115 6 comments 0 reactions 1 assignee View on GitHub

@zerollzeng is already working on this.

Since Jul 7, 2023.

triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Description

It seems like I can't access CUDA ressources with TensorRT unless I run the programm as root. I would like to be able to use TensorRT from a virtual environment, does anyone know a fix for this ?

tensorrt_sudo

Environment

TensorRT Version: 8.6.1.6

NVIDIA GPU: GeForce RTX 3060

NVIDIA Driver Version: 520.61.05

CUDA Version: 11.8

CUDNN Version: 8.9.0.131

Operating System: Ubuntu 22.04.2 LTS

Python Version: 3.10.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.