Skip to content

Commit 6ea1e4f

Browse files
committed
Arm backend: Less logs during Execute()
This change some logs from level Info to Debug to speedup the execute() flow. Signed-off-by: Zingo Andersen <[email protected]> Change-Id: I25b884c1315989a81f14eeb700167969311dc451
1 parent 83c95df commit 6ea1e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/arm/runtime/ArmBackendEthosU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class ArmBackend final : public ::executorch::runtime::BackendInterface {
115115
ArmBackendExecuteCallbacks ArmBackend_execute_callbacks;
116116
// Command stream - we know at this point it's aligned
117117
char* data = (char*)execution_handle->processed->data();
118-
ET_LOG(Info, "ArmBackend::execute %p", data);
118+
ET_LOG(Debug, "ArmBackend::execute %p", data);
119119

120120
// Read key sections from the vela_bin_stream
121121
if (vela_bin_read(data, &handles, execution_handle->processed->size()) ==
@@ -295,7 +295,7 @@ class ArmBackend final : public ::executorch::runtime::BackendInterface {
295295
tensor.size(1) == io->shape[3] && tensor.size(2) == io->shape[1] &&
296296
tensor.size(3) == io->shape[2];
297297
if (permuted_shape) {
298-
ET_LOG(Info, "Tensor input/output %d will be permuted", index);
298+
ET_LOG(Debug, "Tensor input/output %d will be permuted", index);
299299
}
300300
if (permuted_io_flag != permuted_shape) {
301301
ET_LOG(

0 commit comments

Comments
 (0)