Skip to content

Added debug logs for loading/executing model methods #10915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion runtime/executor/method.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ Result<Method> 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;
Expand Down Expand Up @@ -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.
Expand Down
Loading