invrobot / README.md
lealealy's picture
Add files using upload-large-folder tool
4d99517 verified
|
Raw History Blame Contribute Delete
4.72 kB
metadata
library_name: jax
tags:
  - robotics
  - jax
  - orbax

TinyWAM InvRobot v3

TinyWAM action-policy checkpoint for the InvRobot three-camera, 14-DoF setup. The repository contains only inference assets and a minimal inference runtime; no dataset or training implementation is included.

This v3 release uses the final step 30,000 checkpoint from liheshuai-invrobot-action-stage2-b1024-30k-v1. Training was split into two stages: Stage 1 predicted four future video latents without executing or optimizing the action path; Stage 2 restored that checkpoint, froze the video and proprioception parameters, and optimized only the action tower. The released checkpoint reconstructs all three parameter subtrees and is directly loadable as a complete policy.

Assets

  • invrobot_staged_v3_step30000/: complete bf16 parameters at Stage 2 step 30,000, including the frozen Stage 1 video/proprio weights and trained Stage 2 action weights.
  • wan_vae/: Wan VAE used to encode the current RGB observation.
  • dataset_stats.json: normalization constants bound to this checkpoint.
  • prompt_embeddings/put_water_flosser_in_box_close_lid.npz: checkpoint-aligned UMT5 context for the packaged example, with self-describing provenance metadata.
  • weights_manifest.json: byte sizes and SHA-256 for every required inference asset.
  • TinyWAM-InvRobot-v3-runtime.tar.gz: inference-only JAX runtime and a real smoke sample.

The model consumes a uint8[384,320,3] RGB canvas, current float32[14] state, and a precomputed float32[128,4096] UMT5 context. It returns float32[32,14] absolute joint targets. The 22 GB UMT5 encoder is deliberately not bundled; callers supply its embedding, and both the runtime smoke sample and the standalone prompt_embeddings/ asset already contain one.

The runtime also exposes compose_canvas(head_rgb, left_wrist_rgb, right_wrist_rgb). It resizes the head camera to 320x256 and each wrist camera to 160x128, then places the head above the left/right wrist pair. Inputs are RGB uint8; OpenCV BGR input must be converted by the caller.

Prompt embedding provenance

The bundled prompt embedding was produced with the tokenizer/ and text_encoder/ subfolders of Wan-AI/Wan2.1-T2V-1.3B-Diffusers, pinned to revision 0fad780a534b6463e45facd96134c9f345acfa5b. The encoder is text_encoder/, loaded as transformers.UMT5EncoderModel (google/umt5-xxl architecture); the matching tokenizer/ uses max length 128 with padding, truncation, and special tokens enabled.

It encodes this raw instruction:

Put the water flosser into the box and close the lid.

through this complete prompt:

A video recorded from a robot's point of view executing the following instruction: Put the water flosser into the box and close the lid.

The NPZ contains context (float32[128,4096]), context_mask (bool[128], all true), and JSON metadata. See prompt_embeddings/README.md for a loading snippet. No UMT5 model files are duplicated in this repository.

Download and verify

hf download lealealy/invrobot TinyWAM-InvRobot-v3-runtime.tar.gz --local-dir .
tar -xzf TinyWAM-InvRobot-v3-runtime.tar.gz
cd TinyWAM-InvRobot-v3-runtime-20260824
python -m pip install -U "huggingface_hub[hf_xet]"
python scripts/download_weights.py --repo-id lealealy/invrobot
python scripts/verify_weights.py

See the runtime README.md for environment pins and the inference command.

Validation

  • Download integrity: 79 checkpoint objects and 9,413,951,200 bytes matched the source GCS snapshot; checksum-only reconciliation reported no differences.
  • Full checkpoint restore: passed for 6,020,749,518 bf16 parameters across mot.video, mot.action, and proprio_encoder.
  • Runtime syntax and import smoke: passed.
  • Orbax checkpoint and VAE restore: passed.
  • Real CUDA inference: passed on an RTX 5090 with JAX/JAXLIB 0.11.0.
  • Smoke output: shape [32,14], all values finite.
  • Online open-loop validation at step 30,000: MAE 0.019499, RMSE 0.041505, skill 0.725312, zero-frame RMSE ratio 8.474604.
  • InvRobot sealed open-loop Gate 1: passed at step 30,000 (clean_l2=0.004116, skill=0.974367, zero_frame_ratio=82.4721).

This validation is open-loop only. It is not evidence of closed-loop robot performance or safety.