Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5167 Discussions

Vtune Profiler failing to profile NPU programs

Martin_HZK
Novice
3,670 Views

I am trying to perform the NPU Exploration analysis. The NPU test program is the benchmark_app in OpenVINO[Sample] . I then use Vtune Profiler to do the NPU Exploration analysis. I set the Application parameters:

-m {model_path} -d NPU -hint latency

And the wrapper script is like this. I activate the required conda environment and the source the variables.

rem Prefix: Set up environment
call C:\Users\xiaor\miniconda3\condabin\conda.bat activate vino
call "C:\Program Files (x86)\Intel\openvino_2024\setupvars.bat"


echo "Environment initialized."

rem Run VTune collector
%*

rem Postfix: Process results
dir %VTUNE_RESULT_DIR%


However, it turns out that the analysis failed to run and the NPU is not running any tasks. But this same program is tested to run successfully on NPU in cmd. 

 

Additionally, I tested NPU with Performance Snapshot, it turns out that the inference is running successfully with the desired output, indicating that my wrapper script and application parameters are working successfully. So I reckon it is the problem with the NPU Exploration section. Any possible adjustments recommended?

And after running the NPU Exploration, the available profiling results are Hotspots by CPU Utilization and Threading Efficiency. Why is that?

OS: Windows *11 23H2

OpenVINO:2024.5.0 (Installed from archive)

Vtune: Installed with oneAPI 2025.0

Labels (1)
0 Kudos
23 Replies
Martin_HZK
Novice
249 Views

Yes, as I have mentioned above, the unmatched driver version is the root cause

0 Kudos
yuzhang3_intel
Moderator
243 Views

I mean even though the driver doesn't match, benchmark_app works fine without VTune. If VTune can work, the driver needs to be rolled back to older version, right?

0 Kudos
Martin_HZK
Novice
238 Views

Yes, your understanding is correct 

0 Kudos
Reply