ExecuTorch-TensorRT: PyTorch Robot Policies at NVIDIA TensorRT Speed
ExecuTorch-TensorRT: PyTorch Robot Policies at NVIDIA TensorRT Speed
Torch-TensorRT 2.15 and ExecuTorch 1.6 let you compile a PyTorch model with TensorRT and save it as an ExecuTorch program that runs from C++ or Python without libtorch, with unsupported parts falling back to ExecuTorch's CUDA backend on the same CUDA stream. On a Jetson Orin Nano 8GB, ExecuTorch-TensorRT came within 4% of ONNX-TensorRT on four LeRobot policies and let a 3.6-billion-parameter pi0.5 policy fit where PyTorch eager mode ran out of memory. The post also covers splitting large policies into chained programs, sharing engines across processes, and using CUDA green contexts to run several policies on one GPU.
It gives concrete Orin Nano and Thor benchmarks plus a working export-and-deploy path for running PyTorch robot policies without PyTorch on the device.
Source: PyTorch Blog · pytorch.org