AI Tools from Intel
Find answers to your toolkit installation, configuration, and get-started questions.

Meteor Lake (Ubuntu 24.04) -> Intel NPU Acceleration Library

cyang_279
Beginner
2,028 Views

Description: Ubuntu 24.04.1 LTS

uname -r  6.8.0-45-generic

model name: Intel(R) Core(TM) Ultra 7 155H


cat /etc/apt/sources.list.d/intel-openvino-2024.list

deb https://apt.repos.intel.com/openvino/2024 ubuntu24 main

lspci | grep -i "npu"
0000:00:0b.0 Processing accelerators: Intel Corporation Meteor Lake NPU (rev 04)

modinfo intel_vpu 

filename: /lib/modules/6.8.0-45-generic/kernel/drivers/accel/ivpu/intel_vpu.ko.zst
version: 1.0.
license: GPL and additional rights
description: Driver for Intel NPU (Neural Processing Unit)
author: Intel Corporation

 

cloned intel-npu-acceleration-library from github it gets error out when running cmake.
file(GLOB OpenVINObin ${openvino_SOURCE_DIR}/runtime/lib/intel64/*)
file(COPY ${OpenVINObin} DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})

Any idea, what's causing it or do i need to set any ENVIRONMENT VARIABLES?

 

 

-- Setting GCC/Clang specific flags for the entire build
-- OpenVINO library URL: https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.2/linux/l_openvino_toolkit_ubuntu22_2024.2.0.15519.5c0f38f83f6_x86_64.tgz
CMake Warning (dev) at /usr/share/cmake-3.28/Modules/FetchContent.cmake:1331 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
CMakeLists.txt:86 (FetchContent_Declare)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:103 (file):
file COPY given no DESTINATION

 

if (WIN32)
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
file(GLOB OpenVINObin ${openvino_SOURCE_DIR}/runtime/bin/intel64/Release/*)
file(COPY ${OpenVINObin} DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/Release)

file(GLOB TBBlib ${openvino_SOURCE_DIR}/runtime/3rdparty/tbb/bin/*)
file(COPY ${TBBlib} DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/Release)
else()
file(GLOB OpenVINObin ${openvino_SOURCE_DIR}/runtime/lib/intel64/*)
file(COPY ${OpenVINObin} DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
endif()

0 Kudos
0 Replies
Reply