Model: lerobot/act_aloha_sim_transfer_cube_human (revision ba73b2766f1371cdc133ca4efb97eb090d744625)
Task: Bimanual Aloha Transfer Cube (AlohaTransferCube-v0) - fine-grained bimanual manipulation via Action Chunking Transformer
Route: demonstration-policy (ACT) - observation (images + proprio) → continuous action chunk
Hardware: Ascend 910B NPU (npu:0, Ascend910_9362) - single card
Dtype: float32 (FP32, atol=1e-4 rtol=1e-3)
Architecture: ACT - ResNet18 backbone (FrozenBatchNorm) + Transformer encoder (4 layers) + decoder (1 layer), dim_model=512, n_heads=8, dim_feedforward=3200, chunk_size=100, latent_dim=32, VAE enabled.
Observation:
observation.images.top: (B, 3, 480, 640) RGB top camera, normalized with ImageNet mean [0.485,0.456,0.406] / std [0.229,0.224,0.225]observation.state: (B, 14) joint positions (dual-arm 7+7), normalized MEAN_STD with dataset statsAction:
select_action returns (B, 14) next action (temporal ensemble disabled, queue-based)Preprocessing: Shared normalization for CPU/NPU using safetensors buffers (normalize_inputs/unnormalize_outputs). Same raw observations, same stats, dtype float32, eval mode.
Default python inference.py on Ascend 910:
ACTPolicy.from_pretrained("model_weights") → 51.6M params, 206 MB safetensors, device npu:0 proof: model.vae_encoder.layers.0.self_attn.in_proj_weight on npu:0Same weights, same raw batch (seed 12345), same preprocessing, same eval mode:
Validation via validate_policy_outputs.py with first 100 flattened values:
{"count": 100, "finite": true, "max_abs": 6.04e-05, "passed": true, "tolerance": 0.00102}Benchmark benchmark_policy.py (10 latencies, 100 items/call): {"actions_per_s": 8025.8, "avg_ms": 12.45}
torch.npu.is_available()==Truedemonstration-policy contract. Env reward/success reported in eval_info.json (83% on 500 eps) not used as NPU proof.pip install -r requirements.txt
python inference.pyinference.py prints model/revision/route/backend/device/dtype, input summary, ActionPlan shape/horizon/action_dim, sampler/seed, finite check, synchronized latency, throughput (actions/s, chunks/s), CPU-NPU comparison and PASS/FAIL. All floating inputs and model params verified on npu:0.


