NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →
Best practices · NVIDIA Jetson

Running NVIDIA Jetson robots with PhysicalFleet

Install the agent on JetPack like any Linux machine. It reads each Jetson's power mode, clocks, memory bandwidth, rail power, over-current events and last reset reason, and records JetPack, CUDA and TensorRT versions as device facts, so a throttled, mismatched or underpowered module stands out.

Install the agent on JetPack

A Jetson is a Linux machine to PhysicalFleet. Run the one-line install command from Fleet › Add machine on the module's host OS (L4T, the Ubuntu-based OS JetPack installs). The agent is one static arm64 binary of about 10 MB, runs as a systemd service with the Guardian on a timer, and shows the machine online within about 10 seconds. Nothing else needs to be installed.

Name and place modules at install time with options after the command the dashboard gives you. Tags for the module and carrier board revision pay off later, in releases and filters:

--name amr-12 --group warehouse-a/aisle-4 --tags orin-nx,carrier-rev-b
  • Install on the host, not in a container. The Jetson readings come from the host's own kernel files, and from the host the agent also sees every container, the ROS graph and the models.
  • The agent uses about 30 to 60 MB of memory, with a ceiling sized from the module's RAM. It runs at low CPU and I/O priority, and the kernel's out-of-memory killer picks it before your robot processes.
  • Machines only connect out, over encrypted connections. No inbound port, public IP or VPN is needed, so Jetsons behind NAT, on Wi-Fi or on cellular work the same way.

Check it. The machine page's NVIDIA box shows the module, the JetPack and L4T versions, the power mode, why the module last reset, the GPU and its DLAs, and the NVIDIA library versions. On the robot, sudo pfagent discover prints the machine map PhysicalFleet sees.

What the agent reads on a Jetson

The agent reads the same kernel files NVIDIA's own tools read. It runs no tool and needs no extra package. A value a module or L4T release doesn't expose is simply not shown.

ReadingWhat it tells you
GPU load, clock and clock capA low clock under load means a power-mode cap or throttling. A low clock at idle is normal
GPU temperatureFrom the GPU thermal zone, so GPU temperature rules work on a Jetson. Under 70 °C is fine, 70 to 85 °C a warning, above 85 °C critical
GPU memoryMemory mapped by GPU processes. It is shared with the CPU, so the total is the module's RAM
Power modeThe nvpmodel mode in effect (15W, MAXN and so on), marked when it isn't the module's default
Clocks pinnedWhether jetson_clocks pinned CPU and GPU clocks at their maximum (more heat and power)
Memory bandwidthClock and load of the memory controller (EMC), the usual hidden bottleneck. Above 70 % is a warning, above 90 % critical
Power draw per railFrom the module's power monitors. VDD_IN is the whole module
Over-current eventsThe module throttled itself for under-voltage (oc1) or too much current (oc2, oc3). The hardware slows the clocks without writing a log line
Largest free memory blockFragmentation: cameras and the GPU fail to allocate when it gets small, while memory still looks free. Under 1 MB is a warning
Last resetPower on, a reboot or the reset button, a software reset, or an unexpected one: a watchdog, a thermal shutdown, a voltage or clock fault

Readings that come from debugfs (memory controller load, per-process GPU memory) appear only where debugfs is available on the host.

Where you see it. Observability › Hardware has an NVIDIA Jetson table and a GPU table, with Whole fleet and By machine views. Debugging › Investigate › Parameters has an NVIDIA Jetson section where every reading is a page with the fleet's spread, the machines in each range and a trend. The metrics are sampled every 10 seconds and sent once a minute at the default bandwidth level, or every second while someone watches the machine live.

JetPack and NVIDIA library versions as device facts

A Jetson fleet drifts quietly: one module gets an apt upgrade, another was flashed from an older image. PhysicalFleet records each machine's software as facts and compares them across the fleet.

  • JetPack and L4T. JetPack comes from the installed nvidia-jetpack package when there is one, otherwise it is worked out from the L4T release (an image flashed without the SDK has only L4T).
  • NVIDIA libraries. CUDA, TensorRT, cuDNN, VPI, DeepStream, the Multimedia API, the Argus camera stack, the Container Toolkit, NVML and the GPU driver, each with its version.
  • Python environments, in containers too, with key packages such as torch, onnxruntime-gpu, tensorrt, the CUDA and cuDNN wheels, cupy and pycuda, and conflicts such as a pip package shadowing a conda one.
  • The change timeline records package changes with the apt command and the user, including changes made while the agent was off. A diagnosis checks the hour before a problem: started 10 min after a change.

What you'll see. In Debugging › Investigate › Parameters, JetPack version and NVIDIA library versions mark each machine as the same as most of the fleet or different. Investigate's Different setup insight flags a machine whose setup differs from most of its peers running the same thing, such as a different model checkpoint, compute device or agent version.

Check a module by hand when the dashboard says it differs:

dpkg-query -W nvidia-jetpack      # the JetPack meta-package version, when installed
cat /etc/nv_tegra_release         # the L4T release
dpkg-query -W 'libnvinfer*'       # TensorRT packages

Why it matters: a TensorRT engine only loads on the TensorRT version that built it, and a CUDA wheel that doesn't match the machine's CUDA fails at import. Keep a fleet on one JetPack, and treat a JetPack change as its own release.

Power modes and clocks: choose them on purpose

The nvpmodel power mode caps CPU and GPU clocks and can turn cores off. jetson_clocks pins clocks at their maximum, which lowers latency jitter and raises heat and power draw. Both change how fast your model runs. Two robots with the same software but different modes will show different inference times, and that looks like a software problem until you check the mode.

Set the mode on purpose when you provision a module, and record it:

sudo nvpmodel -q                  # the power mode in effect
sudo nvpmodel -m 0                # pick a mode by id (ids and names differ per module: see /etc/nvpmodel.conf)
sudo jetson_clocks --show         # current clock settings
sudo jetson_clocks                # optional: pin clocks at their maximum
  • Pick one mode per product and module, and bake it into your OS image or provisioning script.
  • Decide on purpose whether to pin clocks. Pinned clocks help a tight control loop, but cost power and heat on a battery robot.
  • If you change modes in the field, do it in a release with a script step, try it on one machine first (some mode changes need a reboot), and let the dashboard confirm the result.

What you'll see. The Power mode parameter lists which machines run which mode, and the NVIDIA box says not the default when a module isn't on its default. Clocks pinned shows yes or no per machine. The GPU clock cap drops when a power mode or a thermal limit lowers it.

Power, heat and resets: what to watch

Jetsons in robots run hot and on batteries. Many field slowdowns on a Jetson come from power or heat, and the module often says nothing in its logs.

  • Over-current throttling. When the supply sags or the module draws too much, the hardware slows its clocks with no log line. The over-current counters are the only trace. A machine with events in the window has a weak supply, a tired battery or a cable problem.
  • Rail power. VDD_IN is the whole module. Compare it across machines running the same software: one that draws much more is doing something different.
  • Heat. The built-in rule hot warns when any temperature sensor stays above 80 °C for 2 minutes. Investigate's Chain of causes insight links known cause and effect, such as GPU temperature, then throttling, then slower inference, then lower cycle yield.
  • Unexpected resets. After every reboot the agent reads why the module reset and writes it to the change timeline, for example Machine restarted (reset: thermal shutdown). Watchdog, thermal, voltage and clock resets count as unexpected: one in the window is a warning, three are critical.

Alert rules worth adding for a Jetson fleet (in Observability › Alerts › Rules):

WhenRaiseWhy
Over-current events above 0warningThe module is throttling for power; check the supply
GPU temperature above 85 °C for 2 mincriticalThermal throttling and, past it, a thermal shutdown
Power draw (VDD_IN) outside its normal rangewarningLearned per machine and hour of day; catches a runaway process or a load that stopped
Memory bandwidth above 90 % for 5 minwarningCamera and model pipelines starve each other
The unexpected-reset event happens in 24 hwarningWatchdog, thermal or voltage resets in the field

Per-machine thresholds on GPU, power and temperature metrics run on the robot every second, offline too. Use only when several machines match for site-wide causes such as a hot room, so you get one alert instead of one per robot.

Check it. On a bench module, run a sustained GPU load while you watch the machine live (data arrives every second while the page is open): GPU temperature, GPU clock and VDD_IN should move together. Add a test rule with a low threshold to see an alert fire, then remove it.

Memory and storage on a Jetson

On a Jetson, the CPU and GPU share one memory. A model that leaks GPU memory takes it from your drivers, and a fragmented memory fails camera and GPU allocations while the total still looks fine.

  • The built-in rule memory almost exhausted fires above 95 % for 2 minutes. Out-of-memory kills arrive as events and open an issue.
  • Apps run with pf run get memory and GPU memory growth checks over 30 minutes, with a forecast of when they run out.
  • Watch Largest free memory block on modules that run cameras and models for days. A restart schedule is a fix; finding the allocator churn is a better one.

Storage health is watched on every disk: eMMC and NVMe wear, bytes written, NVMe temperature, and filesystems that went read-only or report errors. A failing disk raises an issue before the machine stops booting. SD cards on developer kits wear out fastest.

Many Jetson robots have a small eMMC root and a large NVMe. Put Docker's data and your model and workspace folders on the NVMe, and set release preconditions on that disk. When the root is short of space, the agent stages a download next to its destination when that is on another disk.

# /etc/docker/daemon.json: keep JetPack's existing "runtimes" entry and add data-root
{
  "data-root": "/mnt/nvme/docker"
}
"preconditions": {"min_free_mb": 4096, "min_free_path": "/mnt/nvme"}

Running models: what is traced, and what isn't

With no code, the agent finds the processes that run ML on each Jetson: their runtimes (PyTorch, ONNX Runtime, TensorRT, CUDA), what kind of model they run (VLA, RL, imitation learning, perception), the framework and model, model files with fingerprints, the port they serve on, and their GPU memory. A model that keeps running but stops publishing is flagged stuck.

FrameworkPer-inference tracing
PyTorch models in inference, LeRobot policies, openpi, OpenVLA and Hugging Face predict_actionYes, with no code change, under pf run or automatic tracing
ONNX Runtime, TF Lite, Stable-Baselines3 and Gymnasium episodesYes
Plain Python policy functionsYes; the dashboard asks once which function computes the action when it can't tell
TensorRT enginesDiscovered, but per-call tracing of TensorRT has not been verified on real Jetson hardware, so we don't claim it. Wrap your inference call (below)
JAXDiscovered only

For a TensorRT engine, or anything else you want timed, wrap your own Python inference call. pf.instrument_policy works on any object with an inference method, and pf.span times any block:

import physicalfleet as pf

class TrtPolicy:
    # your TensorRT runner: loads the engine, runs it, returns an action chunk
    def __init__(self, engine_path): ...
    def infer(self, obs): ...

policy = pf.instrument_policy(TrtPolicy("/mnt/nvme/models/picker/current/policy.engine"),
                              method="infer", framework="custom", model="picker-trt-fp16")

loop = pf.loop("control", hz=30)          # control-loop rate, jitter and late iterations
while running:
    loop.tick()
    with loop.phase("infer"):
        actions = policy.infer(obs)

with pf.span("detector.infer", engine="fp16"):   # a perception model, timed
    boxes = detector.run(frame)
pf.metric("vision.boxes", len(boxes), camera="front")

Run it with pf run --name picker -- python3 -m picker to also get crash reports, uncaught exceptions and process health. The library comes with the agent, has no dependencies, never blocks and never raises, and does nothing on a laptop without an agent.

What you'll see. Each traced policy gets a one-sentence verdict on the machine's Models tab, built from checks such as inference slow (p95 at 2 times its own normal or more), the robot stopping while the model computes, a camera dark or frozen, and actions saturated, plus the machine's own problems such as heat or memory pressure. Spans show in Models › Traces with p50, p95 and errors. C++ apps such as DeepStream pipelines can send JSON over UDP to the local agent; the format is in the docs in the dashboard.

GPU containers on Jetson

Most Jetson robots run their stack in containers with NVIDIA's runtime. Use runtime: nvidia, the host network for ROS 2 and for model tracing, and model weights mounted from the NVMe:

services:
  perception:
    image: registry.example.com/perception:3.1.0-jp6     # built on a base matching the host's JetPack
    runtime: nvidia
    network_mode: host
    ipc: host
    restart: unless-stopped
    volumes:
      - /mnt/nvme/models/detector:/models:ro
    environment:
      ROS_DOMAIN_ID: "10"
    healthcheck:
      test: ["CMD", "curl", "-fs", "http://127.0.0.1:8090/health"]
      interval: 5s
      retries: 3
      start_period: 60s
  • Build images on a base that matches the host's JetPack release, and put the JetPack line in the tag. The host's library versions, including the Container Toolkit, are device facts, so a mismatch shows.
  • Give health checks a long start_period: building or loading a TensorRT engine can take a while on first start.
  • Deploy the stack with compose.up, which rolls back to the exact previous images on any failure. See Docker and Compose best practices.

Updating a Jetson fleet

Everything a Jetson runs above the OS ships through one release engine with one rollback model: Compose stacks, containers, ROS workspaces, model weights, files, apt packages and services.

  • Engines per JetPack. Tag machines by JetPack line and limit model steps with when, so each machine gets an engine built for its TensorRT.
  • Packages. package.upgrade upgrades installed packages only, and on rollback reinstalls the previous versions while apt still offers them. Treat a JetPack change as its own release, since it moves CUDA, TensorRT and cuDNN together.
  • Phases and the health gate. Roll out Canary then careful. The gate compares updated machines against ones not updated yet on inference time, control and topic rates and cycle yield, and stops a release that makes robots slower.
  • Busy robots. pf busy defers updates and reboots while a robot works; preconditions add a battery level, an unmetered network and a maintenance window.
  • Security fixes. Jetson Linux is Ubuntu-based, so its Ubuntu packages are matched against OSV advisories in Security › Vulnerabilities, ranked by what is actually loaded, and shipped through the same health-gated rollouts.
{"id": "engine-jp6", "type": "model.deploy", "when": {"tags": ["jetpack-6"]},
 "url": "https://models.example.com/picker-2.3-trt10.tar.gz", "sha256": "<sha256 of the archive>",
 "dest": "/mnt/nvme/models/picker", "version": "2.3-trt10", "keep": 2}

PhysicalFleet does not reflash modules. A JetPack upgrade that needs a reflash is outside OTA; plan it with your own OS update process, and keep the agent's state on a partition that survives it (next section).

OS images for manufacturing

If you flash the same image onto every Jetson you build, put the agent in the image. Every machine made from it starts the agent on its first boot with network and joins your fleet as its own machine, with its own key created on the machine. Nobody runs an install command per robot, and copies of the image never share an identity.

  1. Create a key for the line in Fleet › Enrollment keys: the group every unit lands in (production/line-1), tags for the hardware revision and batch, a use limit, an expiry after the last unit's first boot, and approval if the image could leave your hands. Anyone who can read the image can read the key, so revoke it when the run ends; machines that already joined keep working.
  2. Build the agent into the image. The installer's image mode puts the agent into a root filesystem folder instead of the machine it runs on. It reads the image's CPU and init system from the image's own files, downloads the arm64 agent, checks its checksum and signature, and enables it for boot. It never starts the agent or enrolls anything on the build machine, and building an arm64 image on an x86 server works.
  3. Or prepare a golden disk. On a reference module set up by hand, run the installer with --image / --reset-identity as the last step, power off, and copy the disk before it boots with network again.
  4. Name each unit. A machine's name is its hostname at first boot, and clashes get -2, -3. Set a unique hostname from the serial number in your first-boot setup, or write each unit's own provisioning file at the flashing station (key, name, group, tags, and the terminal, camera and port-forwarding switches).
  5. Check each unit at the end of the line with sudo pf status.
# On the build machine, with the installer downloaded from the docs in the dashboard.
# Add your batch key as the docs show, or leave it out and give each unit its own provisioning file.
sudo sh install.sh --image /path/to/rootfs --group production/line-1 --tags orin-nx,rev-b

# At the end of the line, on a unit with network
sudo pf status        # shows "connected": true and the machine's id
  • No network at the factory is fine: the agent joins whenever the unit first gets network, even weeks later. A clock that reads 1970 after a cold boot is set once from the platform.
  • With an A/B OS update system, keep the agent's state folders on the partition your OS updates leave alone, or each unit forgets who it is after an update and joins again as a new machine. The folders are listed in the docs in the dashboard.
  • For air-gapped build servers, the installer can work from an agent archive you downloaded, checked against its published checksum.
  • If a copied disk boots anyway, PhysicalFleet notices and gives the copy its own identity; the fleet shows it as joined from a cloned disk.

Image mode has been verified with a Debian 12 root filesystem and with golden-disk copies. Check the first units of every new image with sudo pf status before you ship a batch.

Checklist
  • Install the agent on each Jetson's host OS, with a group and tags for the module and carrier board.
  • Set the power mode on purpose at provisioning, and check the Power mode parameter for machines that differ.
  • Decide on purpose whether to pin clocks with jetson_clocks.
  • Keep the fleet on one JetPack and watch JetPack and NVIDIA library version drift.
  • Build TensorRT engines for the TensorRT version they will run on, and target them with tags.
  • Size the power supply for peak GPU load and alert on over-current events.
  • Alert on GPU temperature, unexpected resets, memory pressure and memory bandwidth.
  • Put Docker's data and model folders on the large disk and set free-disk preconditions there.
  • Wrap inference you want timed in pf.instrument_policy or pf.span, and run apps with pf run.
  • Use runtime: nvidia and images built on a base that matches the host's JetPack.
  • Build the agent into your OS image with one enrollment key per batch, and check each unit with pf status.
Common mistakes

Different power modes across the fleet

Two robots with the same software and different nvpmodel modes show different inference times, which looks like a software bug. Set the mode at provisioning and check the Power mode parameter.

An undersized power supply

The module throttles for over-current with no log line, and the robot just gets slower. Watch the over-current events and rail power, and alert on them.

Moving TensorRT engines between JetPack versions

An engine only loads on the TensorRT version that built it. Build per JetPack line, tag machines by line, and limit model steps with when.

Images and models on the small eMMC root

The root fills up mid-update and the eMMC wears faster. Put Docker's data root and model folders on the NVMe.

Trusting free memory alone

Memory on a Jetson is shared with the GPU and fragments over days, so allocations fail while memory looks free. Watch the largest free memory block.

Copying a golden disk after it booted with network

The reference module then joins as itself and every copy starts as that machine. Run the installer with --image / --reset-identity as the last step, power off, and copy before it boots again.

Expecting TensorRT traces with no code

TensorRT processes are discovered, but tracing of TensorRT calls isn't verified on Jetson hardware. Wrap the inference call with pf.instrument_policy or pf.span.

Written for PhysicalFleet as of December 3, 2026.

FAQ

NVIDIA Jetson: common questions

Something else? Talk to our team.

Does PhysicalFleet run on NVIDIA Jetson?

Yes. The agent runs on Jetson Linux (L4T) as installed by JetPack, as one arm64 binary with a systemd service. It reads Jetson power, clock, memory-bandwidth and reset data from the kernel's own files, with no extra package.

Does it run tegrastats or other NVIDIA tools?

No. It reads the same kernel files NVIDIA's tools read and runs no tool. Readings that come from debugfs, such as memory controller load and per-process GPU memory, appear where debugfs is available.

Can PhysicalFleet trace TensorRT inference on a Jetson?

TensorRT processes are discovered, with their runtime, model files and GPU memory, but per-call tracing of TensorRT has not been verified on real Jetson hardware, so we don't claim it. Wrap your inference call with pf.instrument_policy or pf.span to get latency, rates and verdicts.

How do I find Jetsons on a different JetPack or CUDA version?

Open Debugging › Investigate › Parameters, NVIDIA Jetson section. JetPack version and NVIDIA library versions mark each machine as the same as most of the fleet or different, and the Different setup insight flags machines that differ from their peers.

Why does my Jetson get slower without any error in the logs?

Usually power or heat. Check the over-current events (the module throttles for under-voltage or too much current without a log line), the GPU clock cap, the GPU temperature and the power mode. Each is a parameter and can be an alert rule.

Can I build the PhysicalFleet agent into a Jetson OS image?

Yes. The installer's image mode puts the agent into a root filesystem folder, or into a golden disk with --image / --reset-identity. Each flashed unit joins on its first boot with network as its own machine, with its own key.

Does it work with GPU containers on Jetson?

Yes. Containers using NVIDIA's runtime are observed like any container, with the devices passed in, and GPU use is read on the host. Deploy them with compose.up for health-checked releases that roll back to the exact previous images.

From the lab bench. To the entire fleet.

Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.

Free for up to 3 machines · Then pay as you go