Hi, I’m using Khadas VIM4 with the ADLA NPU accelerator. I’m trying to obtain the execution time for each operation, but I’m facing an issue where the profile_info.txt file is not being created.
1. Environment Variables Set: I have exported the following variables as per the documentation:
export ADLA_ENABLE_DEBUG_AND_PROFILING=1
export ADLA_INVOKE_PER_LAYER=1
export ADLA_DEBUG_OUTPUT_PATH=/data/test
2. Current Situation:
-
Inference Model : yolov8 (n, s, m) individually
-
When I run the inference, the
.binoutput files (e.g.,node_554_output_...bin) are successfully generated in the/data/testpath. This confirms that the NPU is correctly dumping the intermediate layer results. -
However,
profile_info.txtis missing from both the specified output path and the execution directory. -
I have already tried ensuring a clean exit using
sys.exit(0)in my Python code, but the result remains the same. -
If I set
ADLA_INVOKE_PER_LAYER=0, no files (including the txt) are generated at all.
3. Questions:
-
Why is
profile_info.txtnot being generated even though the.binfiles are created? Is it possible that the profiling logic is skipped even if the dumping logic is active? -
What should I do to force the creation of this file? Is this a limitation of a specific version of the
libnn_yolov8s.solibrary or the ADLA driver?