Status of AMD NPU Support

I’ve just came accross this post that might interest few of us here (but I did not have time to test it myself yet… maybe next week)

1 Like

Things are moving from Lemonade side: https://youtu.be/yZs-Yzl736E

Hey everyone!

Just wanted to share something exciting - we actually got AMD NPU working on Linux yesterday. Created the world’s first NPU driver for Linux laptops and published it on GitHub.

We’re getting:

  • 56 microsecond latency

  • 17,800+ operations per second

  • Production-ready stability

  • Full NPU hardware acceleration

Tested on TUXEDO InfinityBook Pro 14 with AMD Ryzen AI 9 HX 370, but the driver should work for other AMD NPU laptops too.

GitHub repo: https://github.com/In2infinity/tuxedo-amd-npu-driver

Would love to hear if anyone tries it and gets it working on Framework laptops. This has been a long-awaited breakthrough for the Linux community!

15 Likes

Help me put these numbers into context please. Is that fast? I honestly don’t know.

4 Likes

Does this work for the framework desktop? Since its a strix halo souped up laptop processor the 350 (the 128gb one!)?

1 Like

In the absence of a reply by the subject matter expert, I asked the robots…
According to “the AIs” I asked, using the NPU won’t necessarily be faster (better pp speed but lower tg speed?) just more efficient / using far less power than the iGPU. But happy to be “edjamacated” and have that corrected.

Windows doing low power inferencing tasks is the reason these npus even exist to begin with. Microsoft mandated the npu hardware as part of “copilot” branding, so they could run copilot and recall on mobile devices without completely killing battery life.

There was no chance Intel and AMD weren’t going to follow that mandate since Windows is probably still 95% of the market for their non embedded/server chips.

1 Like

@workintw , @fish_177 I’m not seeing this. Is there something I need to install provided by MS or AMD to see the NPU utilized under Windows 11 Pro? Thanx.

Much thanx for the info & how-to! Yup, that must be it. I have the OEM / Framework provided Adrenaline driver ending w/ .280 installed.

Pretty newly installed system. Things are working well. After 35~ish years of ‘futzing’ with DOS, OS/2, Win, NT then Win again [never really took to Linux beyond that of a user] and for a while pretty good at it and always found where the bodies were buried, I just want things to work these days. LOL.

I really should backup my system as a baseline before I proceed with this. :wink: But thinking I may throw caution to the wind and just upgrade the driver-only with the existing software in place and see if the magic blue smoke that makes things work gets released. :stuck_out_tongue:

EDIT: Well, it didn’t immediately start smoking. But even with driver ending in .314 not seeing the NPU utilized. So I think I’ll need to follow your instructions fully.

I’m putting this to the side for the time being. Perhaps it is working. I did see the tiniest of blips under NPU lasting a fraction of a second in the Task Manager once, lol. But I don’t know if my system is configured to perform that indexing task atm. Will look later.

But last night, I tried your directions. I cleaned-off all Framework OEM AMD related drivers. And tried to installed the AMD ones. And the AMD package install refuses to complete in either minimal or default mode. Numerous reboots between uninstalled and reinstall attempts. It aborts because it says a Windows Update is in process. Even tho I have Windows Updates paused for weeks. I was allowed to reinstall the Framework OEM package of drivers, then install “driver only” from the AMD installer directly.

But I’m now left without the Adrenaline software UI, even tho AMD Install Manager says I have it installed. And I don’t know why. Since the FW install completed.

Frigg’n AMD. I swore off them like a decade and a half ago over things like this…
There is a commandline installer. So I’ll probably try that later.

1 Like

You can now using it : [GUIDE] Use NPU (XDNA2) with Arch Linux and FastFlowLM!

1 Like

you can try this one. but vulkan on gpu is faster :wink:

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.