intel / linux-npu-driver

Intel® NPU (Neural Processing Unit) Driver
MIT License
190 stars 18 forks source link

linux_npu_driver for generic linux, not restricted by Ubuntu only #17

Open olegmikul opened 10 months ago

olegmikul commented 10 months ago

I am not sure if it an issue or a "feature", so will start discussion here.

Can a driver be part of a generic linux core, not tight to Ubuntu only? Some other distros have some compelling features for meteor lake based laptops, so restricting a driver to Ubuntu only will severely restrict NPU based advantages of such laptops.

Thanks

jwludzik commented 10 months ago

The plan is to have a generic Linux driver as much as possible. Today our testing scope is narrowed to Ubuntu22.04. In future the number of targeted systems will be extended.

JohnAZoidberg commented 7 months ago

I'm using this repo just fine on Fedora 40 Beta.

But to do anything useful you need https://github.com/intel/intel-npu-acceleration-library which is really not supported on non-Ubuntu.

jo-m commented 3 months ago

What is the difference between this repo, and the ivpu driver which is already upstreamed?

And, why does the upstream kernel have the ivpu driver, but seemingly no firmware for it is in linux-firmware?

jwludzik commented 3 months ago

What is the difference between this repo, and the ivpu driver which is already upstreamed?

And, why does the upstream kernel have the ivpu driver, but seemingly no firmware for it is in linux-firmware?

Please, familiarize yourself with README.md and docs/overview.md in linux-npu-driver repository. It explains the software stack. The user-space part is within linux-npu-driver, npu_plugin, level-zero and OpenVINO repositories

The firmware is not in linux-firmware because today the firmware is strictly connected with NPU compiler