xvla-base-p150 on Tenstorrent p150
Derived from lerobot/xvla-base, the LeRobot release of the X-VLA base checkpoint (paper arXiv:2510.10274, upstream code 2toinf/X-VLA), with unmodified weights at commit
cdb7964e. See the original model card for training details.
X-VLA base, a 0.88B-parameter cross-embodiment vision-language-action model: a Florence-2 encoder (DaViT image encoder and BART text encoder, 0.57B) feeds a 24-block soft-prompted flow-matching transformer (0.31B). Three camera views, a natural-language instruction, a proprio state of up to 20 floats and an embodiment domain id go in; a chunk of 30 future actions of 20 values each (lerobot's ee6d end-effector layout) comes out, after 1 (the default) to 50 denoising steps. The server includes lerobot's image preprocessing (ImageNet normalisation, resizing with padding to 224x224) and tokenises the instruction with the BART tokenizer to 32 tokens. The vision encoder's convolutions run on the host CPU; its attention and MLP blocks, the text encoder and the action transformer run on the device.
Runs on Tenstorrent p150 (mesh P150).
Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).
At a glance
| Hardware | p150 |
| License | apache-2.0 |
Intended use
Research inference with the X-VLA base checkpoint: generating action chunks from camera views, an instruction and a proprio state, for example to inspect the pretrained policy or to compare implementations, one request at a time. The checkpoint is meant to be fine-tuned before it drives a robot; this package serves only the base weights.
Prerequisites
- The Tenstorrent CLI,
tt:uv tool install tenstorrent(or use tt-model alone, see the Quickstart) - Docker
- Tenstorrent hardware: p150
Quickstart
tt serve changh95/xvla-base-p150
tt serve downloads the Docker image and the lerobot/xvla-base at cdb7964e4fe842935d671bfab5a5ebe00a96648c weights (into your HF cache; they are not in the image), then starts the model's own HTTP server on port 20000 (or the next free port, if that one is busy). The first start compiles kernels for your device, which takes several minutes; the server is ready when it logs Application startup complete.
Without tt-cli: tt-model serve changh95/xvla-base-p150.
Send the sample image of this repo as all three views to /predict, on the port tt serve reported. A request
takes about 5 s (see Expected performance):
curl -sLO https://huggingface.co/changh95/xvla-base-p150/resolve/main/media/pusht_synthetic.png
IMG=$(base64 -w0 pusht_synthetic.png)
printf '{"images":["%s","%s","%s"],"instruction":"push the T","state":[0,0,0,0,0,0,0,0],"seed":42}' "$IMG" "$IMG" "$IMG" > req.json
curl -s localhost:20000/predict -H 'Content-Type: application/json' -d @req.json
The smoke test of this repo (Python 3, standard library only) sends the same request at the given number of
denoising steps and checks the response, its repeatability with the same seed, a single-view request and
/reset:
curl -sLO https://huggingface.co/changh95/xvla-base-p150/resolve/main/code/tt/server/smoke_test.py
python smoke_test.py --url http://localhost:20000 --image pusht_synthetic.png --steps 1
Capabilities
This package exposes the model's own HTTP server on port 20000, not an OpenAI-compatible chat API β its request and response shapes are the model's own. See the author's notes for the payload it expects.
POST /predict takes one observation and returns one action chunk. GET /health and GET /info report the
server, device and weights; POST /reset resets the policy; GET /v1/models is a stub, not a chat API.
request field (POST /predict) |
meaning |
|---|---|
images |
1 or 3 base64 PNG or JPEG camera views of any size (at least 8x8): slots image and image2 are third-person cameras, image3 the wrist camera. One view is copied into all three slots |
image |
alias for a single view |
instruction (or task) |
the task in natural language; required |
state (optional) |
proprio state, 1 to 20 floats, zero-padded to 20; default 8 zeros |
domain_id (optional) |
X-VLA embodiment domain, 0 to 29; default 0 |
num_denoising_steps (optional) |
flow-matching steps, 1 to 50; default 1 |
seed (optional) |
integer seed of the flow-matching noise; the same request with the same seed returns the same chunk |
Response for the quickstart request (values rounded; arrays and note shortened):
{"actions": [[-0.04126, -0.1099, 0.2559, 0.1465, -0.1963, 0.1445, 0.0238, -0.01636, -0.4141, 0.4062,
-0.02722, 0.1562, -0.1406, -0.03149, -0.1406, -0.2617, 0.2793, -0.1426, 0.02185, 0.5703],
[-0.0415, -0.1182, 0.252, 0.1514, ...], ...],
"chunk_size": 30, "n_action_steps": 30, "action_dim": 20, "action_space": "ee6d", "normalized": false,
"note": "raw model-space actions from the base checkpoint (...); layout ee6d = xyz(3), rotation6d(6), gripper(1), zero padding",
"num_denoising_steps": 1, "seed": 42, "domain_id": 0, "instruction": "push the T", "language_tokens": 32,
"state_dim": 8, "views_used": ["image", "image2", "image3"], "single_view_replicated": false,
"input_size": [224, 224], "image_sizes": [{"width": 256, "height": 256}, ...],
"timing_ms": {"preprocess": 9.4, "inference": 4935.66, "total": 4945.05}}
actionshas one row per future control step (30) and 20 columns in lerobot'see6dlayout: two end-effector slots of 10 columns, each[x, y, z, 6-D rotation (6 values), gripper]. The gripper columns 9 and 19 have been passed through a sigmoid. Thenotefield calls columns 10 to 19 zero padding; the model returns non-zero values there.normalized: false: the base checkpoint ships no dataset statistics, so the actions are raw model-space values, not scaled to any robot.- Each view is scaled to 0 to 1, ImageNet-normalised and resized with padding to 224x224 (
input_size;image_sizesgives the sizes received). The instruction is tokenised with thefacebook/bart-largetokenizer (shipped incode/tt/assets/) and cut or padded to 32 tokens. timing_msis measured in the server:preprocess(image decode, resize, tokenisation),inference(the policy call) andtotal.- Errors: 400 for a number of images other than 1 or 3, an image that cannot be decoded, an empty instruction, or a state or domain out of range; 422 for a field of the wrong type or outside its schema range (for example 0 or 51 denoising steps); 503 while the server is starting.
Example output
The chunk of the response above (1 denoising step) and of the same request at 10 denoising steps, both returned by this package: x, y, z and the gripper of the first end-effector slot over the 30 steps. The values are raw model-space outputs of the base checkpoint in bfloat16 precision.
Expected performance
Agreement with the upstream LeRobot X-VLA policy (lerobot 0.5.0) run with the same weights in float32 on the CPU, on public robot frames:
| eval | this package | upstream X-VLA, fp32 CPU | frames |
|---|---|---|---|
| LIBERO-10: action-chunk PCC, 1 / 10 denoising steps (lowest frame) | 0.999982 / 0.999983 (0.999971 / 0.999974) | β | 30 |
| LIBERO-10: PCC of the input-dependent part of the chunk, pooled over the frames, 1 / 10 steps (lowest frame) | 0.985 / 0.984 (0.965 / 0.967) | β | 30 |
| LIBERO-10: action MSE, 1 / 10 steps (largest absolute difference) | 2.0e-6 / 1.9e-6 (5.9e-3 / 5.6e-3) | β | 30 |
| LIBERO-10, upstream with the checkpoint's own 50-token instruction padding: action-chunk PCC, 1 / 10 steps (lowest frame) | 0.999939 / 0.999942 (0.999880 / 0.999911) | β | 30 |
| Push-T: action-chunk PCC, 1 / 10 steps (input-dependent part) | 0.999984 / 0.999984 (0.979 / 0.978) | β | 20 |
| Push-T: open-loop mean absolute error of x, y against the next 30 ground-truth actions, 10 steps | 242.763 | 242.762 | 20 |
Random synthetic inputs, reference with its own float32 noise (code/eval/eval_relative_pcc.py): action-chunk PCC, 10 steps (lowest seed) |
0.999981 (0.999976) | β | 5 seeds |
Frames: 30 of 6 episodes (6 of the 10 tasks) of lerobot/libero_10_image (third-person camera in the first two view slots, wrist camera in the third, 8-D state, task string) and 20 of the first 10 episodes of lerobot/pusht_image (its one camera in all three slots). Both sides get the batch the server builds (instruction padded to 32 tokens; 50 in the row that says so), the same seed and the same noise, drawn in bfloat16 as the served policy draws it; PCC and MSE are over the first end-effector slot (columns 0 to 9; over all 20 columns the LIBERO-10 PCC is 0.999980 / 0.999981), and the input-dependent part is each chunk minus the reference's mean chunk. Push-T actions are target positions in pixels; an all-zero prediction scores 242.66 on the same frames. The lerobot/xvla-base card publishes no task-success figure; the X-VLA paper's LIBERO and Simpler success rates are for fine-tuned checkpoints.
| speed (batch 1, warm; the quickstart request) | 1 denoising step | 10 denoising steps |
|---|---|---|
| Device time per denoising step (24-block action transformer), back-to-back trace replays, median (p99) | 7.68 ms (7.68) | 7.68 ms per step |
| Device time of the text encoder (BART), back-to-back trace replays, median (p99) | 3.63 ms (3.63) | 3.63 ms |
Python policy.predict_action_chunk(batch), median (p99), 20 calls |
4,826 ms (5,037) | 5,056 ms (5,187) |
Served POST /predict, server timing_ms.total, median (p99), 50 requests |
4,927 ms (5,095) | 5,163 ms (7,196) |
Served POST /predict, client round trip on loopback, median (p99), 50 requests |
4,929 ms (5,098) | 5,165 ms (7,200) |
Measured with this package's image on one p150 in an 8-vCPU AMD EPYC-Rome host (load average 6 to 7 during the
runs), with code/scripts/bench_p150.py (20 rounds of 50 trace replays; 20 calls per setting) and
code/scripts/bench_http.py (50 requests per setting, one at a time on one keep-alive connection); the vision
encoder, whose convolutions run on the host CPU in bfloat16, takes 4.80 s of the 4.84 s call (means of 10 calls).
Limitations
- Not for controlling a robot or any other physical system: these are the base weights, the actions are raw model-space values without dataset statistics, not scaled to any robot, and no closed-loop, simulator or on-robot run was made with this package.
- Not for real-time control loops: an action chunk takes about 4.9 s (1 denoising step) to 5.2 s (10 steps) on the host measured above.
- Not a measure of X-VLA's task performance: no task-success figure exists for the base checkpoint, and the rows under Expected performance compare this package with the upstream implementation.
- Inference with these weights only: fine-tuned X-VLA checkpoints and training were not tested.
- One p150 only (one chip); other boards and multi-chip meshes were not tested.
- Batch 1, requests served one at a time. Fixed shapes: three views at 224x224 (one view is copied into all three slots), 32 instruction tokens (longer instructions are cut), states padded to 20 floats.
- The instruction is padded to 32 tokens; the checkpoint's own lerobot preprocessor pads it to 50, and the chunk depends on the padding length. Against the upstream float32 policy with 50 tokens, chunks differ by an MSE of 6.6e-6 (1 step) and 6.3e-6 (10 steps), PCC 0.99994, on the 30 LIBERO-10 frames.
- The default is 1 denoising step; the upstream policy's default is 10. Set
num_denoising_steps(1 to 50) per request. - The latency depends on the host CPU: most of it is the vision encoder, whose convolutions run on the host CPU in bfloat16 (see Expected performance); the device part takes 7.7 ms per denoising step plus 3.6 ms for the text encoder.
- The policy runs in bfloat16: activations and weights are bfloat16, except the weights of the first MLP layer of every device block, which are 8-bit block floating point (bfp8); the flow-matching noise is drawn in bfloat16. With the same noise, chunks differ from the float32 reference by an MSE of 2e-6 (largest difference 7.8e-3 over all 20 columns). An upstream float32 run with the same seed draws different noise; against it the 1-step chunk differs by an MSE of 2.4e-5 (PCC 0.99978) and the 10-step chunk by 2.2e-6 (PCC 0.99998).
- The base checkpoint returns nearly the same chunk for every input, in the float32 reference as in this package: over the 30 LIBERO-10 frames, the deviation of each chunk from the mean chunk has a standard deviation of 0.008, against 0.22 for the values themselves (columns 0 to 9).
Licensing
- Weights: lerobot/xvla-base at commit
cdb7964e4fe842935d671bfab5a5ebe00a96648c, Apache-2.0. Downloaded bytt serveat that commit, not redistributed here. - Port and serving code (
code/): Apache-2.0 (SPDX-License-Identifierheaders). It runs the X-VLA policy of lerobot 0.5.0 (Apache-2.0), installed in the image, with parts of it replaced by device modules.code/models/common/lightweightmodule.pyis a copy from tt-metal (Apache-2.0).code/tt/assets/bart-large-tokenizer/holds the tokenizer files of facebook/bart-large at commitcb48c136(Apache-2.0); no model weights. media/pusht_synthetic.png(a synthetic drawing of a Push-T scene) andmedia/demo_actions.png(this package's output for it, plotted): part of this package, Apache-2.0.- Evaluation frames, not redistributed here: lerobot/libero_10_image (Apache-2.0) and lerobot/pusht_image (MIT).
Feedback
Questions or problems with this package: open a discussion at https://huggingface.co/changh95/xvla-base-p150/discussions β that is what reaches its author. A problem with the tt tooling itself: tt report issue (collects your environment and opens a prefilled issue against tenstorrent/tt-cli). Product feedback: support@tenstorrent.com.
Provenance
The exact sources the image was built from β code/ in this repo is byte-identical to the model code inside the image:
| component | built from |
|---|---|
| tt-metal | 2a6ddd8e572bb09b236a2adbd3afab1153e0a17e |
code/ digest |
a39f73b4732cf722 (sha256, first 16 hex digits) |
| built | 2026-11-12T21:23:19+00:00 by tt-model 0.1.0 |
Model tree for changh95/xvla-base-p150
Base model
lerobot/xvla-base