mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-10 17:37:14 +00:00
General INFO logging tracking occurance of GraphTransformer modification (#17819)
### Description Adds logging to `GraphTransformer::Apply` whether modification has taken place or not. ### Motivation and Context A general high level info logging to track which optimization occurred for a given model. To help improve dynamo exported model performance by monitoring the difference of triggered transformations between that of torchscript exported model.
This commit is contained in:
parent
385fab5bae
commit
891b50cc68
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ Status GraphTransformer::Apply(Graph& graph, bool& modified, const logging::Logg
|
|||
// ORT_RETURN_IF_ERROR(graph.Resolve());
|
||||
|
||||
auto status = ApplyImpl(graph, modified, 0, logger);
|
||||
LOGS(logger, INFO) << "GraphTransformer " << Name() << " modified: " << modified << " with status: " << status;
|
||||
ORT_RETURN_IF_ERROR(status);
|
||||
|
||||
#if !defined(ORT_MINIMAL_BUILD)
|
||||
|
|
|
|||
Loading…
Reference in a new issue