waylong/act_aloha_sim_transfer_cube_human-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

ACT Aloha Sim Transfer Cube Human - Ascend NPU Adapted

Original model: lerobot/act_aloha_sim_transfer_cube_human
Revision: ba73b2766f1371cdc133ca4efb97eb090d744625
Task: AlohaTransferCube-v0 bimanual transfer cube (14-DoF dual-arm)
Route: demonstration-policy (LeRobot ACT)
Hardware: Ascend 910 (npu:0) + torch_npu

Model Contract

  • Input: observation.images.top (3,480,640) RGB + observation.state (14) proprio
  • Output: action_chunk (100,14) continuous joint actions, horizon 100, action_dim 14
  • Backbone: ResNet18 (FrozenBatchNorm2d) + Transformer encoder (4 layers) / decoder (1 layer) latent_dim 32
  • Dtype: float32, batch=1

Usage

pip install -r requirements.txt
python inference.py

Expected output: model/revision/route/backend, NPU device proof (npu:0, Ascend910_9362), input summary, CPU vs NPU action_chunk shapes, first/last action values, synchronized latency, RESULT: PASS.

Verification Results (on Ascend910_9362, npu:0)

  • CPU vs NPU consistency: max_abs ~0.0003 within FP32 tolerance (atol 1e-4, rtol 1e-3), shape [1,100,14], finite, horizon/action_dim correct
  • NPU performance: avg ~15-40 ms per chunk (warmup 3, measured 10, torch.npu.synchronize()), ~35000 actions/s, ~25 chunks/s
  • Device proof: model params, image/state tensors, action output all on npu:0

Evidence

Agent Workflow NPU Device Call Model Result

Three PNGs are rendered from real terminal logs via xterm.js (no synthetic data).

Environment Limits

  • Single-card Ascend910B (64GB HBM), CANN 8.5.1, torch 2.9.0+cpu, torch_npu 2.9.0
  • Requires HF_HOME cache with lerobot/act_aloha_sim_transfer_cube_human at revision ba73b2766f1371cdc133ca4efb97eb090d744625
  • Deterministic seed 42 for image/state; inference mode (vae latent=0) only

Files

  • inference.py - self-contained ACT + NPU inference with latency and consistency check
  • requirements.txt - minimal dependencies
  • assets/ - xterm.js evidence from real NPU run