Torch-TensorRT 2.15 and ExecuTorch 1.6 support libtorch-free deployment
Understand this story
Torch-TensorRT 2.15 and ExecuTorch 1.6 support compiling PyTorch models via TensorRT and saving them as ExecuTorch programs, so the runtime no longer needs to load torch or libtorch. This combination separates compilation from deployment: the model completes TensorRT compilation at the build stage, and the artifact is saved as an ExecuTorch program, so the deployment environment only needs the ExecuTorch runtime. The above capabilities come from the official PyTorch blog's description of the features in the two versions; the actual deployment results have not yet been independently verified in the report.
AI overview based on source reports · Updated 33 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- PyTorch BlogFeaturedExecuTorch-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.
Activity for this story
Not enough continuous observations to show a trend yet.