Tenon: A Training API for Embodied Models
Separating data from computation, demonstrated on π0.5 dexterous hand pick-and-place
Data and computation, separated by an API
Training a robot policy involves two distinct workloads that are usually tangled in one codebase. Data processing turns robot logs into training samples: selecting frames, encoding observations and actions, resampling contact-heavy windows, normalizing signals. Model computation turns those samples into weights: forward pass, backward pass, optimizer step. When both share a training loop, changing the robot forces changes to the data pipeline, changing the model forces navigation around data code, and scaling to more GPUs forces both to move at once.
Tenon separates them with an API. The client handles data: it builds batches and drives the training loop from an ordinary machine with no GPU. The server handles computation: it holds model and optimizer state behind a model_id and runs every forward and backward pass on its GPUs. Swapping in a new robot means writing new observation and action transforms on the client. The server is unchanged.
A full training and evaluation run is five calls:
create_model → train_step → save_weights → create_action_session → act
create_modelselects a server-registered configuration and returns themodel_idthat every later request targets.train_stepsends one batch of observations and action supervision and returns the loss; it can also be split intoforward_backwardandoptim_step.save_weightswrites either the full resumable state with optimizer (save_state) or lightweight inference weights (save_weights_for_sampler).create_action_sessionloads inference weights into a session handle for policy rollout.actsends an observation to that session and returns an action sequence.
Request pipelining
Across machines, a naive training loop leaves the GPU idle while the client prepares and uploads the next batch. Tenon's request pipeline removes that stall: the client submits subsequent batches before the previous step finishes, overlapping data transfer with GPU computation. Calls that return a request_id support async polling via retrieve_future. Optimizer updates for one model still execute in order, preserving training semantics. The number of in-flight requests (request depth) is configurable.
π0.5 picks up objects with a dexterous hand
To show the full loop in practice, we trained π0.5 through Tenon on a dexterous hand pick-and-place task. π0.5 is a vision-language-action model (VLA) with a vision-language backbone that reads camera images and a text instruction, and an action expert that outputs motor commands.
Task. Pick up an object with a specified grasp gesture, then place it back on the table. The hand follows the MANO parametric model with 28 degrees of freedom (3D wrist translation, 3D wrist orientation, 22 finger joints). We train on four objects (bowl, cube, banana, large clamp), roughly 600 trajectories each, about 2,500 total. All trajectories come from our real-to-sim-to-real data pipeline.
A-LoRA. We freeze the vision-language backbone and apply rank-16 LoRA to the action expert's attention and MLP layers, training its input, output, and timestep layers in full. This gives 13.22M trainable parameters. An optional V-LoRA adapter (65,536 parameters on the projected SigLIP image tokens, trained jointly) yields a marginal improvement.
Augmented state input. The 28-DoF motor state describes hand position but not hand-object interaction. We append five binary fingertip contact flags, five signed fingertip-to-object distances, object lift height, object-table contact, and a task phase derived from frame history. These features let the policy distinguish "approaching the object" from "already placed it back," which look identical in a single frame.
Action sequences. Each inference step outputs 10 action frames of 32 dimensions (28 hand targets, 4 zero-padded). Wrist translation and finger joints are encoded relative to the current observation; wrist orientation stays absolute.
Contact-window resampling. Most frames in a grasp trajectory show the hand in transit. The 150 frames around first finger-object contact (100 before, 50 after) are weighted 3:2 against all other frames, so the model sees proportionally more of the critical closing phase.
We trained for 100,000 steps at batch size 64 on 4× H200 (~32 hours) and evaluated in MJX-Warp simulation: 96 rollouts per object, each up to 2,000 frames.
|
Object |
A-LoRA (100K steps) |
A-LoRA + V-LoRA (100K steps) |
|
bowl |
95/96 (99.0%) |
94/96 (97.9%) |
|
cube2 |
82/96 (85.4%) |
82/96 (85.4%) |
|
banana |
60/96 (62.5%) |
61/96 (63.5%) |
|
largeclamp |
93/96 (96.9%) |
96/96 (100%) |
A-LoRA alone reaches 62.5–99.0% success depending on object geometry. Adding V-LoRA raises the overall rate from 85.9% to 86.7%; the pretrained π0.5 vision backbone already reads these scenes well enough that a 65K-parameter adapter has little to correct.
Cross-machine training at co-located speed
The cost of an API boundary is latency. We measured it: client and server on separate machines, connected through a tunnel at ~74 Mbps. The server ran 2× H200 at global batch size 64 (32 per GPU), training on 100 trajectories (55,575 frames). We swept request depth and compared against a co-located baseline.
|
Deployment |
Request Depth |
Throughput (samples/s) |
Notes |
|
Co-located |
2 |
56.6 |
Baseline |
|
Cross-machine |
1 |
31.7 |
No pipelining, ~half speed |
|
Cross-machine |
2 |
44.5 |
Overlap begins, clear improvement |
|
Cross-machine |
3 |
55.4 |
Near co-located performance |
|
Cross-machine |
4 |
13.0 |
Anomalous POST stall |
|
Cross-machine |
8 |
55.2 |
Saturated |
At depth 3, cross-machine training reaches 55.4 samples/s, 97.9% of co-located throughput. The depth-4 run hit a long POST stall that drags its window average to 13.0; its steps 71–120 alone average ~55.2 samples/s.
Takeaway
Tenon separates data processing from model computation through a handful of API calls. In this demo, we trained the action expert of π0.5 with A-LoRA (13.22M parameters) on roughly 2,500 dexterous hand trajectories and reached 62–99% pick-and-place success across four objects. Cross-machine training with request pipelining at depth 3 recovers 97.9% of co-located throughput.
The workflow shown here is one configuration. The training API is model-agnostic: it applies to other robot morphologies, models, and tasks.
References
@misc{dexgem2026tenon,
title = {Tenon: A Training API for Embodied Models},
author = {Sun, JieQ and Lv, Runze and Chen, Siyuan and Zhang, Ronggan and Lu, Irvine},
year = {2026},
url = {https://dex-gem.ai/blog/introducing-tenon},
note = {DexGEM Lab blog post}
}