From 339b75c50829da6d02698a4dc7683e73a223630b Mon Sep 17 00:00:00 2001 From: Michael Adragna Date: Thu, 15 May 2025 10:36:31 -0700 Subject: [PATCH] added debug logs for loading/executing model methods --- runtime/executor/method.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/executor/method.cpp b/runtime/executor/method.cpp index ac799d3e14e..af40f4a7bfd 100644 --- a/runtime/executor/method.cpp +++ b/runtime/executor/method.cpp @@ -754,7 +754,7 @@ Result Method::load( temp_allocator = platform_allocator; } Method method(program, memory_manager, event_tracer, temp_allocator); - + ET_LOG(Debug, "Loading method: %s.", s_plan->name()->c_str()); Error err = method.init(s_plan, named_data_map); if (err != Error::Ok) { return err; @@ -1522,6 +1522,7 @@ Error Method::execute() { initialized(), NotSupported, "Cannot execute until method has been initialized."); + ET_LOG(Debug, "Executing method: %s.", method_meta().name()); // Chains are executed sequentially today, but future async designs may // branch and run many in parallel or out of order.