Installing TensorRT-Cloud CLI
Prerequisites
Install Linux, Windows, or MacOS.
Install Python 3.8 or above.
For refit support through CLI, the
tensorrt
ortensorrt-lean
Python package must be installed with the version matching the TensorRT engine. Thetensorrt-lean
package is required for refitting version-compatible engines (those built with the--vc
trtexec flag), andtensorrt
is required for refitting non-version-compatible engines. Currently, we support TensorRT 10.0.1.python3 -m pip install tensorrt==10.0.1 python3 -m pip install tensorrt-lean==10.0.1
Note
refit
is not supported on MacOS as TensorRT does not support MacOS.
Steps
The TensorRT-Cloud CLI tool is distributed as a Python wheel, packaged in a tar file. To get access to the tar, refer to Getting TensorRT-Cloud Access.
Use
pip
to install.python3 -m pip install trt-cloud
Verify the TensorRT-Cloud CLI tool was installed successfully.
trt-cloud --version
Get an overview of the CLI usage.
trt-cloud --help