Model: anikitakis/vla_so101_pick_n_place_full_expert
Revision: adda798b270742f820834daea0fc37718745f025
Route: manipulation-vla (SmolVLA)
Backend: torch_npu on Ascend910_9362 (npu:0)
Device: npu:0 validated, dtype torch.float32 (cast from BF16 for Ascend bucketize compatibility)
紧凑型 Vision-Language-Action 模型,基于 HuggingFaceTB/SmolVLM2-500M-Video-Instruct (16 层 VLM + 0.75x expert),通过 flow matching (num_steps=10) 将多相机观测与语言指令映射为连续动作块,用于 SO101 机械臂 put the annotated object in the box 任务。训练数据 anikitakis/pick_n_place_dagger_3cam_dagger_only (21 episodes, 127k frames)。
observation.state: STATE shape (6,) (6-DoF joint)observation.images.camera1 (annotated) / camera2 (front) / camera3 (target_patch): VISUAL shape (3,480,640) -> 内部 resize_with_padding 至 512x512, IDENTITY 归一化observation.language.tokens / attention_mask: 长度 48, 来自 HuggingFaceTB/SmolVLM2-500M-Video-Instruct tokenizer, 布尔 maskaction: ACTION shape (6,) horizon chunk_size=50 -> 每次推理输出 shape [1,50,6] (50 步未来动作), max_state_dim=32 max_action_dim=32 填充后截断noise shape [1,50,32] seed 1234, min_period 0.004 max_period 4.0, cross_attnSmolVLAPolicy.from_pretrained("/tmp/vla_so101_full") 本地 revision, VLM 权重离线缓存 /data/adapt-npu-hf/hub/models--HuggingFaceTB--SmolVLM2-500M-Video-Instructtorch.npu.is_available()=True, device_count=2, device_name=Ascend910_9362, npu-smi 确认 NPU 6 正常model_param device npu:0 dtype torch.float32, input state npu:0, input images npu:0, sampler noise npu:0, output action_chunk npu:0 (全链路无 CPU fallback)torch.npu.synchronize() 包围, warmup 3, timed 10, avg 283.7 ms (run 280.8-295 ms), p50 281.8 ms p90 285.1 ms, 176.2 actions/s / 3.52 chunks/s (50 actions/ chunk)[1.1619, 0.1032, -0.0257, -0.1562, 0.9542, 1.5248] last_action [0.5980, -0.6516, 0.3385, -0.2488, 0.9226, -0.7543] shape [1,50,6] finite true bounds内action_chunk 连续值 (有策略语义)model.safetensors 906M), 相同观测 (state/3相机 float32, 相同语言 tokens 48), 相同 noise (seed 1234), 相同 preprocessing/flow steps, 同 dtype float32 (CPU 也 cast float)max_abs 2.44e-05, tolerance 1.62e-03 (FP32 atol 1e-4 rtol 1e-3), count 300, finite true -> PASS; 同时验证 atol 5e-3 rtol 5e-2 也通过。未使用文本非空/top-5/reward 替代。avg 283.7 ms, min 280.8 ms, max 294.9 ms, p50 281.8 ms, p90 285.1 ms, p95 294.9 msactions_per_s 176.2, chunks_per_s 3.52torch==2.9.0 torch_npu==2.9.0.post1 Ascend CANN 8.5.1 驱动, 单卡 Ascend910 64GB (实测 HBM 3109/65536 MB)torch.bucketize 在 NPU 不支持 (错误 DT_BFLOAT16 not supported), 已统一转 float32 (记录于推理日志), 不影响一致性阈值HuggingFaceTB/SmolVLM2-500M-Video-Instruct, 离线可用 HF_HUB_OFFLINE=1python inference.py默认打印 model/revision/route/backend/device/dtype/输入摘要/动作摘要/同步耗时与 PASS/FAIL。



日志 SHA256 嵌入对应 PNG, 详见各图底部 source_sha256。