intel / linux-npu-driver

Intel® NPU (Neural Processing Unit) Driver
MIT License
155 stars 15 forks source link

CMake Error at third_party/cmake/vpux_elf.cmake:23 (add_subdirectory): add_subdirectory given source "vpux_elf/vpux_elf" which is not an existing directory. Call Stack (most recent call first): third_party/CMakeLists.txt:7 (include) #16

Closed bhardwaj-nakul closed 8 months ago

bhardwaj-nakul commented 8 months ago

Not able to install linux-npu-driver for MTL device on Ubuntu22.04 Followed these instructions :

sudo apt update
sudo apt install -y build-essential git git-lfs cmake libudev-dev libboost-all-dev
cd linux-npu-driver
cmake -B build -S .
cmake --build build --parallel $(nproc)

But getting this error :

image

Can somebody help identify the issue here ?

jwludzik commented 8 months ago

Hi, please, first download all git submodule by calling:

git submodule update --init --recursive

And then try to compile the driver

bhardwaj-nakul commented 8 months ago

Thank you! This resolved the issue.