Repository navigation
fix: Heavy logging by TensorRT-LLM monolith worker - #347
Conversation
|
@grahamking this fix is required for testing this example on the CI, otherwise each run from this example will accumulate > 10 GB log file. |
Would redirecting the output to |
This will fix the logging issue, but if there is any failure by the worker, then we won't get any log for debug? |
| from dynamo.runtime import DistributedRuntime, dynamo_endpoint, dynamo_worker | ||
|
|
||
| logger.set_level("debug") | ||
| logger.set_level("info") |
There was a problem hiding this comment.
Aren't there any more places which are setting debug logging in the examples? For example, router and disagg worker pieces?
I would run a find and replace for the logger.set_level.
NVShreyas
left a comment
There was a problem hiding this comment.
Could you change it such that we can use an env variable to control log level for all TRTLLM component files? Its pretty tedious to keep changing it when developing.
Sure, it will read from |
Our other environment variables all start |
Yes, the prefix is updated to DYN_. |
|
Merging this PR, as the TensorRT-LLM tests on pipeline #25899729 are passing. |

Overview:
Stop heavy logging by TensorRT-LLM monolith worker.
Details:
N/A
Where should the reviewer start?
Start with MR !51 for adding CI.
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)