2301_76761127/simvla-libero-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

SimVLA-LIBERO Ascend NPU inference

This repository provides an Ascend NPU-only validation entry point for the published SimVLA-LIBERO checkpoint. It builds the SmolVLM architecture from its configuration, loads the complete canonical SimVLA checkpoint, and executes the vision encoder, text model, and action transformer on npu:0.

Run

Only the public SmolVLM architecture config is auxiliary; no SmolVLM learned weights are used. Fetch the pinned config from HuggingFaceTB/SmolVLM-500M-Instruct revision a7da5b986cb59b408707209984f360a5f4ad7e47:

git clone https://gitcode.com/hf_mirrors/YuankaiLuo/SimVLA-LIBERO.git model
git -C model checkout --detach 93dc4d90b0596c652ad2840ad743c62b9c4473fb
git -C model lfs pull
mkdir -p backbone-config
curl -fL https://huggingface.co/HuggingFaceTB/SmolVLM-500M-Instruct/resolve/a7da5b986cb59b408707209984f360a5f4ad7e47/config.json -o backbone-config/config.json
python3 -m pip install --target ./pydeps -r requirements.txt
source /usr/local/Ascend/ascend-toolkit/set_env.sh
PYTHONPATH="$PWD/pydeps:$PYTHONPATH" python3 inference.py \
  --model "$PWD/model" \
  --backbone-config "$PWD/backbone-config" \
  --output ./npu-result.json

The backbone-config directory only supplies the published SmolVLM architecture configuration; all learned parameters are loaded from the single SimVLA checkpoint. The JSON result records the full device chain, output shape/count, and observed NaN/Inf counts.

The hosted rerun used CANN 8.5.1 with platform PyTorch 2.9.0 and torch_npu 2.9.0.post1. Keep that platform torch pair instead of reinstalling it.

Verification evidence

The two workflow views are independent DS-V4-Flash plan-only conversations. The device views must show the same live Python PID at two time points, and the two result views show the complete result and a distinct key-field summary.

Agent workflow A Agent workflow B NPU device T1 NPU device T2 Model result Model result summary

本仓为 2301_76761127 队伍交付件(与备份账号合并提交)。