TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

Where is wheel file of TensorRT python bindings for Jetpack 4.4 and TensorRT 7.x?

Open vuongnp opened this issue 1 year ago • 3 comments

Environment:

  • Jetson Xavier
  • Jetpack 4.4
  • Python 3.6

Can I use tensorrt Python in the environment above? If so, please help me install it.

I saw an example in link using tensorrt python 7.2 But when I tried on my environment, I faced the following errors:

  In [1]: import tensorrt

  In [2]: tensorrt.IInt8LegacyCalibrator

  AttributeError: module 'tensorrt' has no attribute 'IInt8LegacyCalibrator'

Tried another command:

  In [1]: import tensorrt
  
  In [2]: tensorrt.__version__
  
  AttributeError: module 'tensorrt' has no attribute '__version__'

Thank you.

vuongnp avatar Sep 23 '24 10:09 vuongnp

You can try to find / -name tensorrt.so, which is pytrt bind library.

lix19937 avatar Sep 26 '24 05:09 lix19937

Thanks. But I cannot find it. I think TensorRT 7.x doesn't support Python bindings.

vuongnp avatar Sep 27 '24 05:09 vuongnp

Can you try this way: https://forums.developer.nvidia.com/t/how-to-install-nvidia-tensorrt/250891

moraxu avatar Sep 27 '24 23:09 moraxu