m
mengsihan/SimVLA-LIBERO
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

SimVLA-LIBERO (NPU/Ascend)

Model: YuankaiLuo/SimVLA-LIBERO

SimVLA (LIBERO Edition) is a Vision-Language-Action (VLA) policy based on the SmolVLM-500M-Instruct backbone with a lightweight flow-matching action transformer. It maps multi-camera RGB observations, robot proprioceptive state and a natural-language instruction to a continuous action chunk.

  • Route: manipulation-vla
  • Action mode: libero_joint (7-dim delta action: delta_xyz(3) + delta_axisangle(3) + gripper_cmd(1))
  • Action horizon: 10 steps per chunk
  • Input: 2 camera views (padded to 3 slots), 8-dim state [ee_pos(3), axis_angle(3), gripper_qpos(2)], language instruction
  • Backbone: HuggingFaceTB/SmolVLM-500M-Instruct (Idefics3, 960 hidden)
  • Action head: 24-layer transformer (hidden 1024, 16 heads, concat conditioning)

Running inference

python inference.py --checkpoint <local_checkpoint_dir> [--smolvlm-backbone <dir>] [--steps 10]

The checkpoint directory must contain config.json and model.safetensors (the full state dict, including the vlm.* backbone weights). If --smolvlm-backbone is omitted and no local SmolVLM-500M-Instruct directory is found, the small config/tokenizer files are downloaded from HuggingFace (HF_ENDPOINT is respected).

Real NPU result

Verified on a single Ascend 910 (torch_npu, npu:0), float32:

  • Action chunk shape [1, 10, 7], all values finite.
  • CPU-NPU consistency with identical flow-matching noise (shared x_t + VLM features):
    • Transformer single-step max-abs 1.58e-4, VLM feature max-abs 1.18e-3 -> PASS (tolerance 1.4e-3)
    • Full 10-step Euler shared-noise max-abs 2.4e-5 -> PASS
    • Default end-to-end (independent RNG) not compared due to NPU/CPU RNG divergence; shared-noise path proves numerical parity.
  • Synchronized latency (warmup 3, measured 10): avg 144.5 ms / chunk, throughput 69.2 actions/s, 6.9 action-chunks/s (single sample, 2 views, 384px, horizon 10).

Environment limits: verification uses a synthetic but deterministic LIBERO-style observation (no external dataset or live robot). No closed-loop rollout was run; single-step action-chunk inference is the acceptance object.

Evidence

  • assets/agent_workflow.png — reconnaissance, load, NPU inference, consistency, benchmark, validation
  • assets/npu_device_call.png — npu-smi, NPU availability, device/dtype of model and tensors
  • assets/model_result.png — default python inference.py output (model, route, ActionPlan, latency, PASS)

License

Apache 2.0