ExecuTorch-TensorRT brings PyTorch robot policies to Jetson devices

News PyTorch Blog · Source account, not independently verified by us.

Torch-TensorRT 2.15 and ExecuTorch 1.6 can compile PyTorch models for NVIDIA TensorRT and package them as ExecuTorch programs that run without the PyTorch runtime. For robotics teams, the workflow aims to support fast on-device inference without exporting models through ONNX.

If TensorRT cannot handle part of a model, ExecuTorch can send that part to its CUDA backend. Both run within one program, and intermediate results can stay on the GPU. PyTorch tested four robot policies on an 8 GB Jetson Orin Nano. In the reported measurements, ExecuTorch-TensorRT was within four percent of the fastest TensorRT option for all four. The 3.6-billion-parameter pi0.5 policy ran in 467 milliseconds per action chunk; PyTorch eager mode did not fit in memory.

According to the post, a deployed application needs ExecuTorch and a small TensorRT backend, not PyTorch. It puts the runtime installation at about 4.6 GB, compared with 11 GB for the full installation. The packages are built for CUDA 13.2 on Linux x86-64 and Arm64; Jetson use requires JetPack 7.2 or later.

These figures come from the authors’ tests of four models on the Orin Nano, not a general performance guarantee. The original post also details compilation, C++ and Python execution, and additional benchmark results: PyTorch: ExecuTorch-TensorRT.

🇬🇧 https://pytorch.org/blog/executorch-tensorrt-pytorch-robot-policies-at-nvidia-tensorrt-speed

Leave a Comment

The weekly brief: selected developments, projects and videos