Closed aymanchaudhry closed 9 hours ago
Hello Ayman.
You've specified the "-a" command line parameter which will:
-a, --enable-external-profiling If enabled external profiling will be switched on
By specifying this parameter execute network will attempt to connect to a Streamline server to send profiling data. The warnings are indicating that there's no server to connect to.
Colm.
Hi Colm,
Thanks for the explanation, but what about for UnitTests
?
I have built ArmNN using CMake with the following options:
BUILD_TF_LITE_PARSER=1
BUILD_ONNX_PARSER=1
ARMCOMPUTENEON=1
BUILD_TESTS=1
BUILD_SAMPLE_APP=1
PROFILING=1
BUILD_DELEGATE_JNI_INTERFACE=0
BUILD_ARMNN_EXAMPLES=1
BUILD_CLASSIC_DELEGATE=1
When I run UnitTests
, I get similar profiler warnings - I have attached the full log.
I used the same CMake options for building ArmNN v22.02** and I did not get any profiler warnings.
Looking at cmake/GlobalConfig.cmake
for both versions, PROFILING_BACKEND_STREAMLINE
is set to OFF by default for both.
** Did not use BUILD_DELEGATE_JNI_INTERFACE
and used the older option for BUILD_CLASSIC_DELEGATE
Hello Ayman.
There are unit tests that specifically test the external profiling interface. For example ProfilingEnableCpuRef in RuntimeTests.cpp. These will print some output but the tests will pass. This is expected output.
Colm.
Sorry for the late response, Thanks Colm!
We can close this issue.
Hi, On ArmNN v24.02, I am currently seeing the below profiler warnings when using ExecuteNetwork from the pre-built ArmNN binaries found in the release assets:
I was also able to see this when I built ArmNN v24.02 using CMake for both UnitTests and ExecuteNetwork when profiling.
[Steps to replicate]:
ExecuteNetwork -c CpuAcc -a -m
, with any model.[Expected warnings]:
Kind Regards, Ayman