manipulation-vla (image/state/language → continuous action_chunk)Vision-Language-Action for MetaWorld multi-task manipulation (MT50). The policy consumes 3 camera images (256×256), proprioceptive state (4-dim, normalized) and language instruction, and predicts a 50-step action chunk (4-DoF continuous control for MetaWorld) via flow matching with 10 diffusion steps.
observation.state: float32 tensor torch.Size([1, 4]) example [0.033..., 0.012..., 0.023..., 0.023...] on cpu/npu:0, normalized via MEAN_STD (mean [0.014, 0.640, 0.162, 0.613], std [0.112, 0.103, 0.087, 0.299])observation.images.camera1/2/3: float32 torch.Size([1, 3, 256, 256]) in [0,1] → preprocessed to 512×512 with padding → normalized [-1,1] for SigLIPtask: ["push the button"] → tokenized to 48 tokens via HuggingFaceTB/SmolVLM2-500M-Video-Instruct tokenizer (attention mask)fixed_noise: torch.Size([1, 50, 32]) sampled with seed=0 for deterministic CPU/NPU comparisonaction_chunk: float32 torch.Size([1, 50, 4]) on cpu/npu:0, finite, 4-DoF[-0.503..., -1.780..., -0.763..., -0.164...] last [-0.147..., -0.314..., -0.818..., 0.313...][-0.5031085, -1.7800269, -0.7634159, -0.1643544] last [-0.1474617, -0.3145535, -0.8188937, 0.3133597]/opt/atomgit/adapt-npu-agent/working/models/smolvla_metaworld/model.safetensors (865 MB), same raw observations, same preprocessor (tokenizer, normalizer, resize), same seed=0 noise, dtype=torch.float32, num_steps=10.torch.npu.synchronize() surrounds every timed forward.max_abs=0.000017, mae=0.000002, max_ref=1.7800261e-4+1e-3*ref = 0.001880 → PASS, BF16 5e-3+5e-2*ref = 0.094001 → PASS, finite=True, shape_match=True.npu:0, observation.state npu:0, images npu:0, tokens npu:0, noise npu:0, action npu:0.npu:0 Ascend910_9362:
536.46 ms (includes compilation)avg 262.38 ms, min 250.00 ms, max 272.33 ms, p50 264.05 ms, p90 270.96 ms, p95 272.33 ms3.81 chunks/s, 190.57 actions/s (scalar, 4-dim), actions_per_s (chunks*dim)=762.26 inclusiveHF_ENDPOINT=https://hf-mirror.com, no manual proxy override, num2words required for SmolVLM processor.pip install -r requirements.txt
python inference.pyDefault python inference.py loads from local working/models/smolvla_metaworld or HF cache and prints device, dtype, action summaries, consistency and benchmark, ending with PASS.
