openvino
openvino copied to clipboard
[Build]: No NPU is found
OpenVINO Version
2024.3.0
Operating System
Ubuntu 22.04 (LTS)
Hardware Architecture
x86 (64 bits)
Target Platform
lscpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 22
On-line CPU(s) list: 0-21
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) Ultra 7 155H
CPU family: 6
Model: 170
Thread(s) per core: 2
Core(s) per socket: 16
Socket(s): 1
Stepping: 4
CPU max MHz: 4800.0000
CPU min MHz: 400.0000
BogoMIPS: 5990.40
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf
tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single int
el_ppin ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni
dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid bus_lock_detect movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-21
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS Not affected
Srbds: Not affected
Tsx async abort: Not affected
lscpu -e:
CPU NODE SOCKET CORE ONLINE MAXMHZ MINMHZ MHZ
0 0 0 0 yes 4800.0000 400.0000 1925.149
1 0 0 0 yes 4800.0000 400.0000 3000.000
2 0 0 1 yes 4800.0000 400.0000 1766.993
3 0 0 1 yes 4800.0000 400.0000 3000.000
4 0 0 2 yes 4500.0000 400.0000 1989.015
5 0 0 2 yes 4500.0000 400.0000 3000.000
6 0 0 3 yes 4500.0000 400.0000 3000.000
7 0 0 3 yes 4500.0000 400.0000 3000.000
8 0 0 4 yes 4500.0000 400.0000 3000.000
9 0 0 4 yes 4500.0000 400.0000 3000.000
10 0 0 5 yes 4500.0000 400.0000 3000.000
11 0 0 5 yes 4500.0000 400.0000 3000.000
12 0 0 6 yes 3800.0000 400.0000 3000.000
13 0 0 7 yes 3800.0000 400.0000 3000.000
14 0 0 8 yes 3800.0000 400.0000 3000.000
15 0 0 9 yes 3800.0000 400.0000 3000.000
16 0 0 10 yes 3800.0000 400.0000 1000.209
17 0 0 11 yes 3800.0000 400.0000 3000.000
18 0 0 12 yes 3800.0000 400.0000 3000.000
19 0 0 13 yes 3800.0000 400.0000 3000.000
20 0 0 14 yes 2500.0000 400.0000 3000.000
21 0 0 15 yes 2500.0000 400.0000 3000.000
Build issue description
After installing openvino, hello_query_device
in sample_cpp does not get NPU output with root user.
However, the intel-npu-acceleration-library
can work in torch.
The ls -lah /dev/accel/accel0
output:
> ls -lah /dev/accel/accel0
crw-rw---- 1 root render 261, 0 Aug 27 21:39 /dev/accel/accel0
The dmesg | grep vpu
output:
> sudo dmesg | grep vpu
[ 10.221740] intel_vpu 0000:00:0b.0: enabling device (0000 -> 0002)
[ 10.477091] intel_vpu 0000:00:0b.0: [drm] VPU ready message received successfully
[ 10.477253] [drm] Initialized intel_vpu 1.0.0 20230117 for 0000:00:0b.0 on minor 0
Build script or step-by-step to reproduce
No response
Relevant log output
No response
Issue submission checklist
- [X] I'm reporting an issue. It's not a question.
- [X] I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.