Instalar Driver Intel NPU en GNU/Linux

De Wiki Proyectos Beta
Revisión del 08:48 1 dic 2024 de Josego (discusión | contribs.) (feat: add snap in Instalar Driver Intel NPU en GNU/Linux)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
Ir a la navegación Ir a la búsqueda

Ubuntu

Ubuntu 24.04 LTS

Linux NPU Driver v1.10.0

sudo dpkg --purge --force-remove-reinstreq intel-driver-compiler-npu intel-fw-npu intel-level-zero-npu
cd ~
wget -c https://github.com/intel/linux-npu-driver/releases/download/v1.10.0/intel-driver-compiler-npu_1.10.0.20241107-11729849322_ubuntu24.04_amd64.deb
wget -c https://github.com/intel/linux-npu-driver/releases/download/v1.10.0/intel-fw-npu_1.10.0.20241107-11729849322_ubuntu24.04_amd64.deb
wget -c https://github.com/intel/linux-npu-driver/releases/download/v1.10.0/intel-level-zero-npu_1.10.0.20241107-11729849322_ubuntu24.04_amd64.deb
sudo apt update
sudo apt install libtbb12
sudo dpkg -i *.deb
sudo dpkg -l level-zero
wget -c https://github.com/oneapi-src/level-zero/releases/download/v1.17.44/level-zero_1.17.44+u22.04_amd64.deb
sudo dpkg -i level-zero*.deb
sudo reboot
# Si todo funciona, deberíamos ver el dispositivo /dev/accel/accel0
ls /dev/accel/accel0

Salida:

/dev/accel/accel0
# Para recibir el estado intel_vpu
sudo dmesg | grep vpu

Salida:

[    3.059541] intel_vpu 0000:00:0b.0: enabling device (0000 -> 0002)
[    3.080100] intel_vpu 0000:00:0b.0: [drm] Firmware: intel/vpu/vpu_37xx_v0.0.bin, version: 20241025*MTL_CLIENT_SILICON-release*1830*ci_tag_ud202444_vpu_rc_20241025_1830*ae072b315bc
[    3.243643] [drm] Initialized intel_vpu 1.0.0 for 0000:00:0b.0 on minor 0
[    7.124941] intel_vpu 0000:00:0b.0: [drm] Firmware: intel/vpu/vpu_37xx_v0.0.bin, version: 20240726*MTL_CLIENT_SILICON-release*0004*ci_tag_ud202428_vpu_rc_20240726_0004*e4a99ed6b3e
[    7.223361] [drm] Initialized intel_vpu 1.0.0 for 0000:00:0b.0 on minor 0

Link oficial sobre el driver: EN

Snap

sudo snap install --beta intel-npu-driver