Windows-Containers icon indicating copy to clipboard operation
Windows-Containers copied to clipboard

NPU Acceleration

Open sikhness opened this issue 1 year ago • 8 comments

Currently, only a subset of devices can be passed through, with GPUs being one of them (albeit limited with only DirectX based frameworks). With the rise and push of NPU/IPUs built into processors, it would be beneficial to provide NPU acceleration in Windows Containers to be able to containerize our AI/ML workloads.

sikhness avatar May 31 '24 01:05 sikhness

Hey @sikhness, similar question to your other issue. Can you help me understand what sort of workloads are you trying to run with NPU acceleration? Understanding this use case will help us better prioritize this request as we explore AI/ML workloads.

fady-azmy-msft avatar Jun 04 '24 14:06 fady-azmy-msft

Hey @fady-azmy-msft! Similar to my other question, I did list out a few AI related workloads that would benefit from GPU Acceleration from vendor specific graphics APIs.

Some of those same AI workloads can also benefit from offloading that work to the NPU now and here is an example of Ryzen AI which provides instructions on how to install, prep and run your AI models on the NPU on Windows. It would be very beneficial to be able to containerize these applications for isolation & portability benefits and still leverage the hardware.

sikhness avatar Jun 05 '24 00:06 sikhness

Got it. Tagging @NAWhitehead to look into this. He's driving the Windows containers GPU scenarios, and this is related.

fady-azmy-msft avatar Jun 19 '24 17:06 fady-azmy-msft

I think you should get the class GUID for "Neural processors", try passing it as a --device class/the_guid, copy the drivers from the FileRepository into the container, and then see if the NPU works. Odds are low but crazier things have been true.

doctorpangloss avatar Jul 11 '24 15:07 doctorpangloss

This issue has been open for 90 days with no updates. no assignees, please provide an update or close this issue.

This issue has been open for 90 days with no updates. no assignees, please provide an update or close this issue.

This issue has been open for 90 days with no updates. no assignees, please provide an update or close this issue.

This issue has been open for 90 days with no updates. no assignees, please provide an update or close this issue.