ROCm/FastFlowLM

Run LLMs on AMD Ryzen™ AI NPUs in minutes; purpose-built and deeply optimized for the AMD NPUs.

What it solves

FastFlowLM (FLM) allows users to run large language models (LLMs) and vision-language models (VLMs) directly on AMD Ryzen™ AI NPUs. This removes the dependency on a GPU or CPU for inference, resulting in significantly lower power consumption and higher efficiency.

How it works

FLM provides a lightweight (17 MB) NPU-first runtime and a single-command CLI. It uses optimized binary kernels to execute models on XDNA2 NPUs (found in Ryzen™ AI Series chips). It supports a variety of model types, including Vision, Audio, Embedding, and Mixture-of-Experts (MoE), and can be deployed as a CLI tool or a local REST/OpenAI-compatible API server.

Who it’s for

Developers and users with AMD Ryzen™ AI NPUs who want to run local AI models privately and efficiently without needing a GPU.

Highlights

  • NPU-Native Execution: Runs fully on AMD Ryzen™ AI NPUs with no GPU or CPU load.
  • High Efficiency: Over 10x more power-efficient than traditional methods.
  • Broad Model Support: Supports LLMs, VLMs, and MoE models, including Vision and Audio capabilities.
  • Long Context: Supports context windows up to 256k tokens.
  • Developer Friendly: Features a simple CLI and an OpenAI-compatible API server.

Related

  • Project
  • Project
  • Project
  • Project
  • Project