You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the default logger, the documentation is wrong (should say stdout). Custom loggers can obviously log wherever they want to. I will fix the documentation. Thanks for reporting this!
Actually I would expect the message was by default sent to stderr instead of stdout. The standard Python libraries warnings and logging also send messages to stderr.
Description
https://docs.nvidia.com/deeplearning/tensorrt/api/python_api/infer/Core/Logger.html said the
log
method logs a message to stderr. But the message is sent to stdout instead.Environment
TensorRT Version: 10.7.0
NVIDIA GPU: GeForce RTX 4060 Ti
NVIDIA Driver Version: 566.36
CUDA Version: 12.6
CUDNN Version:
Operating System: Ubuntu 24.04.1 LTS in WSL2
Python Version (if applicable): 3.12.3
Tensorflow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if so, version):
Steps To Reproduce
Commands or scripts:
Have you tried the latest release?: Yes
The text was updated successfully, but these errors were encountered: