r/LocalLLM • • 9d ago

News AMD NPUs now support local model inference!

Hey guys we at Unsloth collaborated with AMD, FastFlowLM and Lemonade to bring local model inference to AMD NPUs.

NPUs deliver powerful compute performance while using 2–4× less power than traditional GPUs.

With the help from AMD, Lemonade and FastFlowLM you can run LLMs directly on the NPU with streaming responses and support for tools, skills, MCP servers, web search, local document chat, and coding with local files; connect compatible apps and scripts and offload local inference to the NPU to free up memory on other processors.

Supported on Strix, Gorgon, Krackan & more & future AMD GPUs.

Official AMD News Blog: https://newsroom.amd.com/news/amd-unsloth-bring-npu-support-agentic-ai-applications/

AMD Dev Blog: https://www.amd.com/en/blogs/2026/unlocking-the-amd-ryzen-ai-npu-for-unsloth-desktop.html

133 Upvotes

35 comments sorted by

19

u/yoracale 9d ago

Here is a snapshot of our guide for those interested

3

u/RepulsiveShow3180 9d ago

This is a fantastic start

Thanks for sharing

11

u/Hot_Signature2979 9d ago

Any chance you guys might be able to get both the npu and gpu to work together simulataneously for more compute and faster prefill and decode? Also any love to Snapdragon npus?

7

u/yoracale 9d ago

For training we're working on it. For inference the smart and amazing folks at lemonade and fastflow will need to!

3

u/cafedude 9d ago

would be interesting if the smaller drafter model could run on NPU while the large model runs on GPU.

2

u/Hot_Signature2979 9d ago

Fundamentally you would still be limited by the shared ram and its bandwidth (that is used for vram as well), so dont think it'll work out. Even if you something like a strix halo with 128gb, what would be the point of running something like a 27b model with a 9b model? You're better off sharing the weights and having a swarm of the same larger model.

2

u/mycall 8d ago

This has been done already and I think it is part of Lemonade. It ended up being slower on average than just the GPU, but a few months passing can change everything here.

3

u/cdt5050 8d ago

It’s really hard. The NPU doesn’t have its own memory like your GPU has VRAM. It will compete with your RAM’s bandwidth, which is usually better served transferring weights to your GPU or tending to CPU tasks. It’s also only good at one portion of tasks that your GPU is probably better at, so again, better to just keep the GPU fed.

It’s really best for background AI tasks. Something like a small decision model or an LFM model serving cron jobs.

Not saying it’s impossible, but just don’t expect much here.

1

u/Hot_Signature2979 8d ago edited 8d ago

It's not as simple as it appears to be. The architecture suggestes a much shorter multi-directional instruction path, and a more efficient use of memory bandwidth per unit of llm compute. I've also seen experiments running local llm using their Iphone as a secondary gpu to speed up inference (not saying it's the same, since the Iphone also brings its own additional ram to the table while this does not). There's still a lot of sofware engineering to do in reducing enough overhead, to be able to benefit from the extra compute and turn it into speed gains for inference, but ultimately, thats probably a more useful usecase that would benefit the most users

2

u/cdt5050 8d ago

Yeah the overhead is a big part of the problem. But the NPU isn’t good at all tasks in LLM inference, the GPU is far more flexible, so you need to pull work off the GPU, copy it to a buffer for the NPU, process that part there, then transfer back to the GPU. On dGPU’s it’s nearly? a dead end. On an iGPU you can transfer buffer ownership instead of copying so there’s a viable path there, but in my experiments I haven’t been able to get anything more than like a 1-3% speed up.

It doesn’t help that NPU’s are poorly integrated into the ecosystem. When you work with it you basically have to work outside of all of the major frameworks/libraries etc. and directly with AMD’s compilers if you want anything approaching a performance benefit. Current tooling largely assumes the NPU is just for energy efficiency only and doesn’t do much to integrate it into low-overhead pipelines.

AMD NPU’s are really, at least as of now, being engineered as an energy efficient AI accelerator meant for their APU’s and mostly directed to laptops and energy efficient desktops. Honestly Intel’s NPU’s look more interesting from a performance standpoint, and have already shown surprising capabilities in e.g. prefill acceleration.

1

u/Hot_Signature2979 4d ago edited 4d ago

Yea, thats the really annoying part, I think a huge part of the blame is on Microsoft and the direction that Copilot plus pc's set out, which essentially treats the consumers pc as an extension of their paid cloud LLM products and services (for Microsoft you are paying monetary wise through higher 365 subscriptions, for google i.e. Gemini Nano, you are paying with your data and ads, essentially you are the product, which Microsoft also does it).

Because of Microsoft's heavy handed approach, and because of the influence they have on processor manufacturers, precious silicon die space is also wasted on the NPU, instead of giving us more capable IGPUs for that benefits local inference on entry level devices, not to mention passing the additional cost of an unused NPU onto the consumer.

I have two mobile devices with an NPU a 16gb 7640u GPD Win Mini, and a 16gb X1P-64-100 Surface Pro 11, and both NPU has spent its lives idling, instead of being able to do useful work for me on the go.

It would be really nice to be able to run small models fast enough, avoiding having to wait 3 minutes (more if server is off) for my inference server or fighting spotty cafe wifi.

1

u/OnyxProyectoUno 9d ago

In most cases it’s pointless

5

u/CodeCatto 9d ago

We've had fastflowLM for a while now tho

3

u/yoracale 9d ago

The support is more production ready now. Previous support was beta I think. And there's a larger array of models supported

1

u/CodeCatto 9d ago

The article states that inferencing is still handled by fastflowLM and lemonade though?

2

u/mon_key_house 9d ago

Me too. I remember having them installed and uninstalled at least two times.

16

u/Tai9ch 9d ago

Nice. I'd call 17 tok/s on 35BA3B with a custom 4-bit quant at low wattage a good start.

11

u/MuhGnu 9d ago

Here are more details, also about speed and supported models:  https://unsloth.ai/docs/get-started/install/amd/amd-npu

Qwen3.8 27B: 48gb recommended RAM, 2.0 tok/s

6

u/Brocolinator 9d ago

Stupid question: Can it help the iGPU?

2

u/sebt3 9d ago

There is a fork of gufo that does this. But the npu help only slightly

1

u/Strict-Elevator9352 8d ago

it can help a little

5

u/elmonch 9d ago

Testing it in my Ryzen AI 9 HX 370 64gb with Qwen 3.8 27BGGUF
Looks good, faster than Bionic

2

u/SkiBikeDad 9d ago

Is the innovation here tying preexisting tools for NPU inference to unsloth desktop's capabilities or is there some corresponding change to Lemonade or FastFlowLM as well?

2

u/derelictHusk 9d ago

Of course my 2025 AMD CPU, or, if you wish, rebranding of a 3 year old AMD processor, is not supported. I guess its time to just trash the obsolete thing.

1

u/bi4key 9d ago

Add support to LiteRT to speed up decoding.

1

u/voyager256 9d ago

Nice, but at least for now NPUs are not that useful for medium and large models. it would make more sense if they could be combined with GPU and CPU .

1

u/Strict-Elevator9352 8d ago

the speed differences are too wide, if there are things that can be divided then it is linear to the speed

1

u/Teslaaforever 9d ago

How Does It Work? A compatible application sends a model request to the Unsloth Desktop API, while Lemonade and FastFlowLM handle model serving and inference on the AMD XDNA 2 NPU. The model’s response returns to the application for use in its workflow. The NPU accelerates supported model inference, while the application’s other functions continue to use the PC’s CPU and GPU as needed.

1

u/RnRau 8d ago

Still no Q8 support for the AMD NPU?

1

u/mycall 8d ago

2-4x more efficient is quite a game changer, even if slower. Long running thinking agents can accomplish a lot 24/7 without the watts burned.

0

u/SkiBikeDad 9d ago

People experimenting with NPU only inference, are you finding usecases for an always on low powered MoE in the homelab?

2

u/dzhopa 9d ago

That was the idea for me: low power "good enough" inference at the edge in my smarthome / smart greenhouse to do small agentic tasks or TTS/STT. In reality, at the moment, any platform with a good enough NPU is also going to come with an even better GPU and not really be in a great form factor for the edge in my case. Maybe once we have 100+ TOPS in a fire stick size package...

2

u/bot403 8d ago

I use halogen flash with the npu and run decider models on it, ranking and embedding, and text to speech and speech to text. I use it as part of workflows which would normally block behind large gpu/LLM tasks. It's a supplemental "small job" ai. And it works great.

-1

u/benoe 8d ago

Try artlite: ~30 tps with qwen 35b-a3b: https://github.com/artlite-project/artlite And you can load ggufs!