robotics-diffusion-transformer/RDT2-VQ (RDT2-VQ Residual VQ VLA, Qwen2.5-VL-7B-Instruct backbone)model-00001..00004.safetensors 16.58 GB (BF16, 7B params) — 国内镜像 HF_ENDPOINT=https://hf-mirror.com 下载 robotics-diffusion-transformer/RDT2-VQ @ ec7e7f3aa4259224481c3cbd5816cc3f35354beccamera0_rgb (right) + camera1_rgb (left) 384x384 + 指令 "Pick up the apple." (Verb+Object. 句式)action_chunk [1,24,20] (每步 20维 = 右臂 10 + 左臂 10: pos xyz 3 + rot 6D 6 + gripper 1)manipulation-vla — 已通过 inspect_robotics_model.py 判定 (Qwen2_5_VLForConditionalGeneration + robotics + bimanual)HF_ENDPOINT=https://hf-mirror.comtorch.npu.is_available()=True, device_count=2, npu:0Qwen2_5_VLForConditionalGeneration (attn_implementation="eager" 适配 NPU, torch_dtype=bfloat16, trust_remote_code=True)model_cache/RDT2-VQ (4 shards, 16.58 GB) — snapshot_download via HF_ENDPOINT=https://hf-mirror.commodel_first_param_device=npu:0, input_ids.device=npu:0, pixel_values.device=npu:0, gen_ids.device=npu:0, action_pred.device=npu:0, torch.npu.synchronize() 包围计时 — 无 .cpu() fallbackconfig.json, processor (Qwen2.5-VL), 双目图像、指令、dtype bfloat16、do_sample=False greedy、max_new_tokens=218, eval modeaction_chunk [1,24,20] 有限值、shape、T=24 D=20、gripper rescale 0.088→0.1、max_abs/MAE (BF16 tolerance atol=5e-3 rtol=5e-2)torch.npu.synchronize()validate_policy_outputs.py --cpu /tmp/cpu_rdt2.json --npu /tmp/npu_rdt2.json --atol 5e-3 --rtol 5e-2 → PASSpython inference.py
# 输出: model/revision/route/backend/device/dtype, 输入摘要 (shape/device), 输出 action_chunk 摘要 (shape/finite/min/max/mean/first_action_5), 同步耗时, PASS/FAIL
# 需: torch, torch_npu, transformers, Pillow, safetensors, opencv-python, model_cache/RDT2-VQ (4 shards)RVQActionTokenizer (82M) 与 LinearNormalizer (28K) — 本仓已验证 dummy VAE/normalizer 下 NPU 端到端动作生成与一致性,真实 VAE 加载可选assets/agent_workflow.png — full run log (侦察、NPU检查、加载、推理、一致性、性能)assets/npu_device_call.png — npu-smi、torch.npu.is_available、device_name、model/input/output device、synchronize timingassets/model_result.png — 默认 python inference.py 的模型、route、真实 action_chunk 与耗时、PASS