Skip to content

Commit 48d851e

Browse files
zingofacebook-github-bot
authored andcommitted
Arm backend: Less logs during Execute() (#6098)
Summary: This change some logs from level Info to Debug to speedup the execute() flow. Pull Request resolved: #6098 Reviewed By: mergennachin Differential Revision: D64426163 Pulled By: digantdesai fbshipit-source-id: 656fafd7249feaef8295418b7e360930fee10f76
1 parent fe1b2e7 commit 48d851e

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)