Skip to main content
Torqheart
← Foundations

Computer science

Latency and throughput

Latency is how long one answer takes; throughput is how many answers per second. Action chunking trades one for the other.

See it first

Algorithm teardown

Inside action chunking for a VLA arm

Open full screen
FreeThe model, Chunk size🔒 In the workshopAsk early, Blend seamsAn algorithm has no housing to open. What we take apart is its loop: the blocks it is made of and the numbers flowing between them, next to the motion they produce in 3D (drag to turn it). A teaching model; every number's source is in sources.md.

The teardown opens on its “Chunk size” mode, which shows this principle. Drag to turn it.

One step at a time

Step by step

Latency and throughput

Step 1 of 5

The camera takes a frame

This frame is the freshest data there is.

In words

A VLA model may take hundreds of milliseconds to think once, but motors want a new command every few milliseconds. Thinking one move at a time makes the robot jerk.

The fix is to plan several moves at once (a chunk) and play them while the next chunk is computed. More commands per second, but the last moves of a chunk were planned from an old image: if the world changes, the robot reacts later.

The formula

commands per second = chunk size / time per inference

Where you meet this in a robot

In the action-chunking teardown, change the chunk size and watch both smoothness and reaction time move.