This guide will help you get started with FastFlowLM on Linux, including setup for various distributions and NPU (Neural Processing Unit) support.
- Ubuntu 24.04 LTS
- Ubuntu 25.10
- Arch Linux
- Other (Generic Linux)
amdxdnadriver (included in kernel 7.0+, or viaamdxdna-dkms)- NPU firmware version 1.1.0.0 or later
- Python 3.8+
- XRT stack from AMD
The AMD XRT stack is a prerequisite for NPU support. Add AMD's PPA:
sudo add-apt-repository ppa:amd-team/xrt
sudo apt updateSee amd-team/xrt PPA for details.
sudo apt install libxrt-npu2 amdxdna-dkmssudo reboot- Download the latest
.debpackage from the Releases page:
sudo apt install ./fastflowlm*.deb- Run:
ulimit -l - If not
unlimited, add to/etc/security/limits.conf:* soft memlock unlimited * hard memlock unlimited - Reboot system
- Clone the repository:
git clone https://github.com/FastFlowLM/FastFlowLM.git cd FastFlowLM - Build:
cd src cmake --preset linux-default cmake --build --preset linux-default -j$(nproc) cmake --install --preset linux-default
To validate your NPU setup, run:
flm validateYou should see output similar to:
[Linux] Kernel: 7.0.0-rc1-00052-g27936bfca73d
[Linux] NPU: /dev/accel/accel0
[Linux] NPU FW Version: 1.1.2.64
[Linux] Memlock Limit: infinity