Package Details: openvino-intel-npu-plugin 2025.1.0-1

Git Clone URL: https://aur.archlinux.org/openvino.git (read-only, click to copy)
Package Base: openvino
Description: Intel NPU plugin for OpenVINO
Upstream URL: https://docs.openvino.ai/
Licenses: Apache-2.0, LicenseRef-custom
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 14
Popularity: 0.83
First Submitted: 2020-12-23 22:29 (UTC)
Last Updated: 2025-04-11 00:44 (UTC)

Required by (1)

Sources (27)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

dbermond commented on 2025-01-31 18:42 (UTC)

@Nixola You should look deeper in the upward direction of the build log. There should be a descriptive error message somewhere near a string similar to 'waiting for unfinished jobs'.

Nixola commented on 2025-01-31 12:38 (UTC) (edited on 2025-01-31 12:41 (UTC) by Nixola)

Hi, I'm trying to install this but the build fails every time at the same spot, without any meaningful error messages. I'm attaching the last few lines of the terminal output.

[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_base.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_opt.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_ref.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_selector.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/tile/tile_kernel_ref.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/tile/tile_kernel_selector.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/unique/unique_kernel_ref.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/unique/unique_kernel_selector.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/primitive_db.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/tensor_type.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/weight_bias_kernel_base.cpp.o
[ 77%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/weight_bias_params.cpp.o
[ 77%] Linking CXX static library /home/nix/.cache/paru/clone/openvino/src/openvino/bin/intel64/Release/libopenvino_intel_gpu_kernels.a
[ 77%] Built target openvino_intel_gpu_kernels
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'openvino-2024.6.0-3': 
error: packages failed to build: openvino-2024.6.0-3

dbermond commented on 2025-01-03 20:20 (UTC)

@leandrosansilva the build jobs/parallelism is a user setting and should be configured in your 'makepkg.conf'.

leandrosansilva commented on 2025-01-03 17:24 (UTC)

It took my old NUC hours to build openvino, and then I noticed it was using a single core. You can considerably speed up the build by building stuff in parallel (use nproc from cureutils).

Here a simple git diff output with the change:

diff --git a/PKGBUILD b/PKGBUILD
index 4bb171b..a049364 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -175,7 +175,7 @@ build() {
         -DOpenCL_HPP_INCLUDE_DIR:PATH="${srcdir}/openvino/thirdparty/ocl/clhpp_headers/include" \
         -DOpenCL_INCLUDE_DIR:PATH="${srcdir}/openvino/thirdparty/ocl/cl_headers" \
         -Wno-dev
-    cmake --build build
+    cmake --build build -j$(nproc)
 }

 package() {

dbermond commented on 2024-12-10 20:40 (UTC)

@PatoPan this should not happen, as we are building protobuf from git submodules instead of using system protobuf (the lines in your log saying "Found Protobuf: /usr/lib/libprotobuf.so" and similar ones about system protobuf should not appear). Make sure that you have an up-to-date clone of this git repository.

PatoPan commented on 2024-12-10 18:14 (UTC) (edited on 2024-12-10 18:16 (UTC) by PatoPan)

I get the following error

-- CMAKE_CXX_FLAGS: -Wsuggest-override -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions          -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/prime/.cache/paru/clone/openvino/src=/usr/src/debug/openvino -flto=auto -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override
-- Found Protobuf: /usr/lib/libprotobuf.so (found version "5.28.3")
-- TBB (2022.0.0) is found at /usr/lib/cmake/TBB
-- Static tbbbind_2_5 package usage is disabled, since oneTBB (ver. 2022.0.0) provides dynamic TBBBind 2.5+
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR) (found version
  "5.28.3")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindProtobuf.cmake:772 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /usr/lib/cmake/ONNX/ONNXConfig.cmake:11 (find_package)
  src/frontends/onnx/onnx_common/CMakeLists.txt:41 (find_package)

dbermond commented on 2024-09-23 15:58 (UTC)

@puddings233 Reproduced. The npu plugin requires avx and it seems there is no way to configure it to use generic x86_64 instructions. I had to disable it. Package updated and building fine now. Thanks for reporting.

puddings233 commented on 2024-09-23 07:35 (UTC) (edited on 2024-09-23 11:16 (UTC) by puddings233)

Build failed in clean chroot using pkgctl build
Full log at: https://fars.ee/nEK3

dbermond commented on 2024-09-22 19:28 (UTC)

@carlosnewmusic I cannot reproduce your issue. I have just checked, and the package is building fine with makepkg, and also in a clean chroot. The high amount of messages saying "Updating files" (or something like that, your log it's not in english) alongside with a percentage makes me think that you are not using makepkg, as makepkg does not produce it. Are you on Arch Linux? What is the command that you are using to build?