Instructions to use FastFlowLM/smolvla-NPU2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use FastFlowLM/smolvla-NPU2 with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Model card: NPU performance numbers and change notes
Browse files26 unmodified lines27282930313226 unmodified lines- **Intended use:** Base model to fine tune on your specific use case## Quick start (inference on a real batch)### Installation26 unmodified lines27282930313233343536373839404142434445464748495051525354555657585960616226 unmodified lines- **Intended use:** Base model to fine tune on your specific use case## Running on the AMD NPU (FastFlowLM)`flm_vla.tar.gz` in this repo holds the model files (`config.json`,`model.safetensors`) and a prebuilt Python package that runs SmolVLA on an AMDXDNA2 NPU (Ryzen AI). Extract it and follow the `README.md` inside(`FLM_VLA/FLM_SmolVLA/README.md`); the package installs with `./setup.sh` andchecks itself against the PyTorch reference with `smolvla-verify`.Model forward time on the NPU, `lerobot/smolvla_base`, median of repeated runs,based on FastFlowLM v1.0.14 including the XDNA2 performance update:| camera images | default threads | 2 CPU cores | previous release ||---|---|---|---|| 1 | 186 ms | 184 ms | 298 ms || 2 | 216 ms | 215 ms | 363 ms || 3 | 254 ms | 257 ms | 430 ms |Agreement with the PyTorch reference is cosine 0.999 or better on the firstaction of the chunk. Requirements: Linux x86-64 (glibc 2.38+), Python 3.12, aCPU with AVX-512 bf16 (Zen 4 or newer), the XDNA driver and XRT.**What changed in this update:** the vision tower runs on 8 NPU columns with32-core attention switched through control packets, the language model andaction expert use fused and cached command streams, and the NPU bitstreamsship inside the wheel. File names and install steps are unchanged. Keep thenumber of camera images fixed within one process (calling `forward()` with adifferent count after an earlier call can give a wrong action chunk; knownissue, being tracked).## Quick start (inference on a real batch)### Installation
README.md+30