SmolVLA Libero - Ascend NPU Adaptation
Model Description
SmolVLA (Simple Vision-Language-Action) is a vision-language-action model for robotic manipulation tasks. This adaptation converts the SmolVLA Libero model to run on Huawei Ascend NPU.
Model Task
Reinforcement Learning - Robotic Manipulation
Observation & Action Contract
- Observations:
observation.state: 6-dimensional state vector
observation.images.camera1: 3x256x256 RGB image
observation.images.camera2: 3x256x256 RGB image
observation.images.camera3: 3x256x256 RGB image
- Actions: 7-dimensional continuous action vector
Real NPU Results
- Device: Ascend910_9362
- Backend: PyTorch + transformers
- Dtype: float32
- Inference Time: 6.50ms (NPU) vs 84.93ms (CPU)
- Speedup: 13.08x
- Actions per second: 153.91 (NPU)
CPU-NPU Consistency
- Max absolute difference: 0.000433
- Tolerance: 0.002653 (atol=1e-4, rtol=1e-3)
- Status: PASS
- CPU Performance: 11.77 actions/s
- NPU Performance: 153.91 actions/s
- Speedup: 13.08x
Environment Requirements
- Huawei Ascend NPU (Atlas 800 A2/A3)
- CANN 8.5.1+
- PyTorch 2.0+ with torch_npu
- transformers 4.30+
Usage
Evidence
- Agent workflow: See agent_workflow.png
- NPU device call: See npu_device_call.png
- Model result: See model_result.png
Limitations
- Model weights are not included in this repository
- Requires proper Ascend NPU environment setup
- Performance may vary based on input size and batch size