TensorRT does not currently build wheels for Tegra systems in conda environment.
"(gtp) vegaai@ubuntu:~/GTP/models/stt_model/whisper_trt$ pip install tensorrt
Collecting tensorrt
Using cached tensorrt-10.11.0.33.tar.gz (40 kB)
Preparing metadata (setup.py) … done
Collecting tensorrt_cu12==10.11.0.33 (from tensorrt)
Using cached tensorrt_cu12-10.11.0.33.tar.gz (18 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 35, in
File “/tmp/pip-install-37s6hrz5/tensorrt-cu12_c6ae4303797242c29e5b7a4494f8cd29/setup.py”, line 71, in
raise RuntimeError(“TensorRT does not currently build wheels for Tegra systems”)
RuntimeError: TensorRT does not currently build wheels for Tegra systems
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details."