-
Notifications
You must be signed in to change notification settings - Fork 791
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
[Question] How to stop warning log #270
Comments
Same problem. 😢 |
Sure, I can update the default log level for onnxruntime to be "ERROR", meaning it won't show those warnings. I'll also add an option to set the log level back to the default. |
It will help. Thank you very much! |
Been looking into this a bit and I believe I found a bug in onnxruntime when creating the session from a buffer (instead of using the path): microsoft/onnxruntime#17377. Will keep you updated. |
Any update on this? |
microsoft/onnxruntime#17377 (comment) |
In the worker before process or loading the model: |
Was this ever solved? |
I am using NodeJS to serve a translation model.
There are so many warning log when translation processing. How to stop this?
2023-08-29 23:04:32.061 node[3167:31841] 2023-08-29 23:04:32.061977 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.2/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model. 2023-08-29 23:04:32.061 node[3167:31841] 2023-08-29 23:04:32.061987 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.0/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model. 2023-08-29 23:04:32.062 node[3167:31841] 2023-08-29 23:04:32.061997 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.4/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
The text was updated successfully, but these errors were encountered: