Journal · Lab note
A 3-billion-parameter robot model, running on the robot
How we got a vision-language-action model running natively on a humanoid's onboard computer, what it cost, and why we then moved on to training our own.
- Kind
- Lab note
- Author
- Jody Schnarr
- Published
- Not yet
Draft. This is an outline, not the finished post, and it is not in the production build.
A vision-language-action model takes what a robot sees and a sentence describing the task, and produces the movements to carry it out. The good ones are large, and they are built and tested on data-centre GPUs. A humanoid that has to work on its own cannot carry a data centre. It has an embedded computer in its chest.
This note is about closing that gap once: running NVIDIA’s GR00T N1.6, a 3-billion-parameter model, entirely on a Jetson AGX Orin inside a 31-degree-of-freedom humanoid, with no cloud in the loop. The work was done at Mirsee Robotics on its MH3 robot. As far as we know it was the first time this model ran natively on that hardware.
We no longer use GR00T. More on that at the end.
The wall
The Orin should have been the obvious place to run the model. It has 65.9 GB of memory shared between processor and GPU, and it is the computer most humanoids of this size carry. But the model would not run on it.
The cause was narrow and not written down anywhere we could find. The model’s vision backbone insists on one particular attention library, and refuses to start with any other. That library compiles for the Orin’s GPU without complaint. Its ordinary routines then run correctly. The routines for variable-length sequences, which the vision encoder depends on, do not: they fail at run time on that GPU architecture.
So the model demanded a library, and the hardware could not execute the part of the library the model needed. Nothing warned of this at build time.
The way through
Attention is a piece of mathematics, and the answer does not depend on which library computes it. Since version 2.0, PyTorch has shipped its own implementation, scaled dot-product attention, which picks a method that works on whatever hardware it finds itself on.
We replaced the pinned library with the built-in one at the handful of places where the model insisted on it. The whole change came to about a dozen lines in two files. The hard part was finding where the insistence lived and why edits kept being silently undone, not the change itself.
Then we checked that we had not altered the model. On a data-centre GPU where both versions run, we compared them on 1,000 random inputs:
- the largest difference in any attention output was below one part in a million;
- the predicted movement trajectories correlated at 0.9999.
What it ran like
The model ran unquantised, at the precision it was trained in.
| On the robot (Jetson AGX Orin) | Workstation (RTX 5090) | |
|---|---|---|
| Time per inference | 416 ms | about 120 ms |
| Rate | 2.4 per second | about 8.3 per second |
| GPU memory | 6.23 GB | 6.18 GB |
6.23 GB is 9.8% of the Orin’s memory. More than 59 GB stayed free for everything else a robot needs to run at the same time.
Where the 416 ms went:
| Step | Time | Share |
|---|---|---|
| Camera capture | 50 ms | 12.0% |
| Image preparation | 2 ms | 0.5% |
| Vision encoding | 145 ms | 34.9% |
| Language processing | 85 ms | 20.4% |
| Action head | 125 ms | 30.0% |
| Post-processing | 9 ms | 2.2% |
What the substitution cost
It was not free. We estimated the built-in attention at 18% slower in the vision encoder and 12% slower in the language model than the pinned library would have been had it worked, about 30 ms in all. The action head was unaffected. Peak memory rose by 0.22 GB, or 3.5%, measured on hardware where both run.
That is the trade: a few tens of milliseconds, in exchange for running at all.
Did the robot behave?
Each inference predicts the next 16 steps of movement, so consecutive predictions overlap and should agree.
- Consecutive predictions correlated at 0.92.
- Fewer than 0.1% of commanded positions fell outside a joint’s limits.
- Over a 72-hour run: 99.2% uptime, 0.03% of inferences failed, no memory leak, no thermal throttling, and a steady 2.38 inferences a second, give or take 0.12.
What it is good for, and what it is not
At 2.4 inferences a second and 16 steps each, the model plans about 38 joint positions a second. That is enough to decide what to do: reach for this, move there, pick that up. It is not enough to react. Keeping a hand steady against a disturbance needs something nearer 100 updates a second.
So the sensible arrangement is two layers: the large model plans the task, and conventional controllers track the plan. A model this slow does not belong in the inner loop.
What we took from it
Two things.
The barrier was engineering, not physics. A model that “could not run at the edge” ran at the edge after a dozen changed lines. A great deal of what is said to need a data centre has not been looked at closely.
And the headroom is the point. A 3-billion-parameter model used a tenth of the machine. The other nine tenths are where speech, scene understanding and reflexes go: several tuned models sharing one computer and staying out of each other’s way. That is the whole of what we mean by intelligence per gigabyte.
Where we went next
We learned what we needed from GR00T and stopped using it. A general model built for someone else’s robots is a good way to find the limits; it is not the way past them. We now train our own vision-language-action model in-house, shaped for the hardware it runs on. We will write about it when there is something to measure.