Installing TensorRT-Cloud CLI
Prerequisites
Install Linux or Windows. macOS is not supported.
Install Python 3.8 or above.
For refit support through CLI, the
tensorrtortensorrt-leanPython package must be installed with the version matching the TensorRT engine. Thetensorrt-leanpackage is required for refitting version-compatible engines (those built with the--vctrtexec flag), andtensorrtis 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
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.
Retrieve the tar file containing the wheel and extract it.
tar -xvf <NAME OF tar>.tar
Use
pipto install.python3 -m pip install trt_cloud-0.1.0-py3-none-any.whl
Verify the TensorRT-Cloud CLI tool was installed successfully.
trt-cloud --version
Get an overview of the CLI usage.
trt-cloud --help