Robots on Jetson run PyTorch models without PyTorch: up to 6.4x faster than the default mode
To run a robot's "brain" on an Nvidia Jetson board, teams usually install all of PyTorch, which means more than 1 GB of libraries. Torch-TensorRT 2.15 and ExecuTorch 1.6 compile the model ahead of time into a compact program that doesn't need PyTorch. On Jetson Orin Nano, it runs up to 6.4x faster than standard PyTorch and is no more than 4% slower than the best TensorRT variant. A 3.6B-parameter model fit into 8 GB, where PyTorch runs out of memory.
AI-processed from PyTorch Blog; edited by Hamidun News
Picture a robotic arm that has to decide, within fractions of a second, where to move its hand. The cloud won't work for this: the network round trip can easily eat 100 ms, and the connection isn't always reliable. So the neural network has to run onboard, on a small board like the Nvidia Jetson Orin Nano, where the CPU, GPU, cameras and all models share the same memory.
Until now, running a PyTorch model there at TensorRT speed (Nvidia's compiler that accelerates neural networks on its GPUs) meant shipping the entire PyTorch stack to the robot. Now the PyTorch team has released Torch-TensorRT 2.15 and ExecuTorch 1.
6. Together they turn the model into a compact program that doesn't need PyTorch. In measurements on the Orin Nano, it runs up to 6.
4x faster than the default PyTorch mode (so-called eager mode, where code executes as written) and is no more than 4% slower than the best of the measured TensorRT variants. A 3.6B-parameter model fits into the board's 8 GB of memory.
Why this was inconvenient
A robot's "policy" is the model that decides what to do next. It outputs a short plan of several steps, a so-called action chunk, for example 50 actions. If the next plan isn't ready when the previous one runs out, the robot stops and waits.
There were several ways to get from PyTorch to TensorRT, and each came with its own cost. Exporting to ONNX is fast and well-tested, but the model must pass through two third-party converters: if either one doesn't support some operation, the build fails. Manually rebuilding layer by layer gives full control, but each new model becomes a separate project, and you have to verify the results against PyTorch yourself.
TensorRT Model Connect builds engines directly from Hugging Face checkpoints without ONNX, but only for models on its supported list. Finally, Torch-TensorRT inside PyTorch converts operations directly, but the robot still needs all of PyTorch: more than 1 GB of libraries and hundreds of megabytes of memory that inference doesn't need.
How the new path works
ExecuTorch is PyTorch's solution for running models on edge devices: the model is compiled ahead of time into a program, and a small runtime executes it from C++ or Python without libtorch. TensorRT is now built into this pipeline. First, the model is captured with PyTorch's own tools. TensorRT takes every part it can convert. The rest, including preprocessing, goes to ExecuTorch's CUDA backend and runs on the same GPU, in the same program and on the same CUDA stream, and the build doesn't fail. The compiler reports which operations didn't make it into TensorRT and why. Tensors can stay on the GPU as they move between the two backends, without being returned to the CPU.
If a model has a custom operation that neither TensorRT nor the CUDA backend supports, you don't need to write a C++ plugin: it's enough to implement it as a Triton kernel and register it. On the robot, neither Triton nor PyTorch is required.
The build setup takes one command: pip install "torch_tensorrt[executorch]". PyTorch is needed only at the compilation stage. In ExecuTorch 1.6, the Python runtime no longer requires torch: inputs and outputs are NumPy arrays. This matters on a small board: importing PyTorch alone on the Orin Nano takes about 2.2 s and 550 MB. The runtime-only install weighs about 4.6 GB instead of the full 11 GB.
What the measurements showed
The authors took four policies from LeRobot, Hugging Face's robotics library. Each was run five ways on a Jetson Orin Nano with 8 GB of memory (about $250). Weights and inputs were identical, with no quantization. Speed was measured as the median of three runs of 100 plans after 20 warm-up runs. ExecuTorch-TensorRT landed within 4% of ONNX-TensorRT on every policy and was up to 6.4x faster than PyTorch eager. In memory use it is roughly equal to the ONNX variant, and on the two small policies it is more economical. TensorRT inside PyTorch uses 0.7–1.4 GB more, and pi0.5 doesn't fit in that mode at all.
The pi0.5 model itself, with 3.6B parameters, outputs a 50-action plan in about half a second, while standard PyTorch on 8 GB runs out of memory. GR00T 1.7, with 3B parameters, takes about 200 ms per plan. On the higher-end Jetson AGX Thor, resources are more than sufficient, and the compiled paths show comparable speed, while the memory efficiency makes room for more tasks.
The approach isn't limited to robots. The same scheme was tested on a 26B-parameter language model with 4-bit weights on an A100. TensorRT handled part of the work, the CUDA backend handled the rest, and the output tokens matched the result of the CUDA backend alone exactly.
Limitations and practical takeaway
A TensorRT engine is optimized for one GPU type, so it's best built on the same board it will run on. Building requires the whole model in memory, and on the Orin Nano's 8 GB the full 3.6B-parameter policy cannot be built at once. That's why pi0.5 and GR00T were split into a chain of smaller programs, each built in a separate process with only its own weights. The denoising step, which the model uses to generate actions, was packaged as a single program: it runs 10 times for pi0.5 and 4 times for GR00T.
There are installation caveats too. The wheels are built for CUDA 13.2 on Linux for x86-64 and Arm64; on Jetson, that means JetPack 7.2 or newer. Torch-TensorRT 2.15 requires TensorRT 11.4, while JetPack 7.2 ships TensorRT 10, so the stock version won't work. On the first install on Arm64, about 2.6 GB of libraries will be pulled in. The authors attribute the few-millisecond differences to noise between runs.
For robotics developers, the takeaway is practical: if a PyTorch policy is constrained by memory or speed on a Jetson, this path is worth trying. It keeps you in PyTorch right up to compilation, and leaves almost nothing extra on the robot.
- Nov 25, 2026SpaceX Rents Out Data Centers to Anthropic for $3.1 Billion a Month, Earning More Than from Grok
- Nov 25, 2026Avicena raises $100M to link AI chips with microLED light instead of lasers
- Nov 25, 2026Sakana AI Fine-Tuned a 30B Model for Web Search: 73.5% on BrowseComp vs. 36.1% for Nemotron Super
- Nov 24, 2026Swapping NVIDIA for AMD: Ollama Fell Back to CPU, Then Throughput Rose from 468 to 2,004 Sections per Hour
Key Questions Answered
Why this was inconvenient?
A robot's "policy" is the model that decides what to do next. It outputs a short plan of several steps, a so-called action chunk, for example 50 actions. If the next plan isn't ready when the previous one runs out, the robot stops and waits. There were several ways to get from PyTorch to TensorRT, and each came with its own cost. Exporting to ONNX is fast and well-tested, but the model must pass through two third-party converters: if either one doesn't support some operation, the build fails.
How the new path works?
ExecuTorch is PyTorch's solution for running models on edge devices: the model is compiled ahead of time into a program, and a small runtime executes it from C++ or Python without libtorch. TensorRT is now built into this pipeline. First, the model is captured with PyTorch's own tools. TensorRT takes every part it can convert. The rest, including preprocessing, goes to ExecuTorch's CUDA backend and runs on the same GPU, in the same program and on the same CUDA stream, and the build doesn't fail.
What the measurements showed?
The authors took four policies from LeRobot, Hugging Face's robotics library. Each was run five ways on a Jetson Orin Nano with 8 GB of memory (about $250). Weights and inputs were identical, with no quantization. Speed was measured as the median of three runs of 100 plans after 20 warm-up runs. ExecuTorch-TensorRT landed within 4% of ONNX-TensorRT on every policy and was up to 6.4x faster than PyTorch eager.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Waitlist: free vibecoding intensive + AI digest
Leave your email to reserve a spot in the free 2-day intensive and get the AI stories that matter.