凤
weixin_44093752/xiaomi-robotics-0-libero-ascend-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

Xiaomi Robotics-0 LIBERO Ascend NPU smoke adaptation

This delivery tracks the official XiaomiRobotics/Xiaomi-Robotics-0-LIBERO checkpoint and its official MiBoT implementation:

  • model: https://huggingface.co/XiaomiRobotics/Xiaomi-Robotics-0-LIBERO
  • revision: fc04bbdcc53e498695cfad95d1199091396ef55b5
  • source: https://github.com/XiaomiRobotics/Xiaomi-Robotics-0
  • source revision: 7c316604d43357d10b06d11fae4c39290c447da5
  • architecture: MiBoTForActionGeneration, 4,716,274,176 parameters
  • dimensions: state [1,1,32], action chunk [1,30,32]
  • weights: two safetensors shards, exact sizes and source LFS hashes recorded in model-lock.json

The adaptation keeps the official Hugging Face custom model, processor and tokenizer files in this repository. The checkpoint is intentionally excluded from Git; pass a local directory containing the two official weight shards to inference.py. The validated Pod used the official model files from the fixed revision and Transformers 4.57.1.

The real Ascend smoke loaded the model on npu:0, prepared two synthetic 224x224 multi-view images, a zero LIBERO state and a full action mask, and returned finite torch.bfloat16 actions with shape [1,30,32]. This is the requested NPU run-through gate only. It does not claim LIBERO task success, calibration, or CPU/NPU precision equivalence.

Run against the checkpoint outside this repository:

PYTHONPATH=/path/to/transformers-4.57.1 python inference.py \
  --model-path /tmp/model-agent/xiaomi-robotics-0-libero \
  --device npu --output-dir validation

Model Agent CPU/NPU 推理工作流

Ascend NPU 设备调用

NPU smoke result