This repository contains an Ascend NPU-only validation entry point for the published X-VLA-Pt checkpoint. The script loads the checkpoint's Florence vision-language encoder and action transformer, builds deterministic multimodal and robot-action inputs directly on npu:0, and performs one real training forward.
The back-half run used CANN 8.5.1, PyTorch 2.9.0, and torch_npu
2.9.0.post1. Keep that platform stack unchanged and restore the exact public
model revision plus the isolated model-layer dependencies:
git clone https://gitcode.com/hf_mirrors/2toINF/X-VLA-Pt.git model
git -C model checkout --detach c1c4a64a7e03ac5b95c468bf1578f3d03651b53b
git -C model lfs pull
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 ./model \
--output ./npu-result.jsonThe JSON output records model, input and output devices together with output shapes, element count, and observed NaN/Inf counts. The run fails if Ascend NPU is unavailable or any returned tensor leaves the NPU device chain.
The checkpoint's optional FastAPI/OpenCV serving imports are isolated from this inference path; they are not used for model computation.
The two DS-V4-Flash workflow views are independent plan-only conversations: an overall Ascend NPU migration design and a separate dependency, operator, full-NPU validation, and troubleshooting plan. They do not execute tools or modify repository files.


The device views show the same Python PID at two distinct times. The result views show complete and concise views of the same successful real-NPU run.




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