凤
weixin_44093752/x-vla-libero-ascend-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

X-VLA-Libero Ascend NPU smoke adaptation

This delivery tracks the live 2toINF/X-VLA-Libero checkpoint and the official 2toINF/X-VLA implementation:

  • model: https://huggingface.co/2toINF/X-VLA-Libero
  • revision: 129e71460678b7236cee6fc9707f09d9fa0c3590
  • source: https://github.com/2toinf/X-VLA
  • source revision: 6bc2513f5f1cbec715cc668b414392a6cae5c671
  • weight: model.safetensors, 3,519,068,172 bytes
  • SHA-256: 260cc58869125b826e93bcaa60bca3ea37bcc7aaf893d368a991ca14fde9f0c8
  • action mode: ee6d, 30 actions, 20 action/proprio dimensions

inference.py loads the official XVLA architecture from vendor/xvla, creates a deterministic single-view [1, 1, 3, 224, 224] input, and runs one denoising step on npu:0. The verified Ascend910 run loaded 932,002,392 parameters and returned finite float32 actions of shape [1, 30, 20].

The vendor source contains compatibility adjustments required by the container's Transformers 5.7 runtime: initialization of the missing forced_bos_token_id, explicit attention capability flags during construction, empty tied-weight maps for the newer Transformers API, and tolerant XVLA tied-weight hooks. These do not change the model tensor shapes or the XVLA forward algorithm. The official loader reported one missing tied embedding key; the smoke gate records this rather than claiming a precision pass.

Run after downloading the checkpoint to a local directory:

python inference.py --model-path /tmp/model-agent/xvla-libero --device npu --output-dir validation

The acceptance gate is real Ascend NPU execution plus finite outputs, as requested for this competition pass. It does not claim a complete CPU/NPU accuracy gate.

Model Agent CPU/NPU workflow

Ascend NPU device call

NPU smoke result