-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Performance] How to close this "Begin execution" log #18110
Comments
ONNX Runtime Versionn is 14.1 |
That line is logged under verbose mode. You don't need to set any log level as the default is warning. |
But If I do not set any log level, thest logs still be reported. I do not think these are Warning or Error level. And this line is still reported. |
This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
This issue has been automatically closed due to inactivity. Please reactivate if further support is needed. |
Describe the issue
I find that when I call ORT::session::Run function, the log "Begin execution" always be reported. I have call SetRunLogSeverityLevel and SetRunLogVerbosityLevel to set the level to ORT_LOGGING_LEVEL_WARNING,but still can not close the log report.
I think too many logs can affect the performance of predict.
To reproduce
Ort::RunOptions runOptions{};
runOptions.SetRunLogSeverityLevel(ORT_LOGGING_LEVEL_WARNING);
runOptions.SetRunLogVerbosityLevel(ORT_LOGGING_LEVEL_WARNING);
m_session.Run(runOptions, xx);
Urgency
No response
Platform
Linux
OS Version
Ret Hat
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
the newest version
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Model File
No response
Is this a quantized model?
Yes
The text was updated successfully, but these errors were encountered: