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
Set TORCH_CPP_LOG_LEVEL=ERROR
for reduced verbosity
#12989
Conversation
CLA Assistant Lite bot All Contributors have signed the CLA. β |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Hello @inisis, thank you for submitting a YOLOv5 π PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- β
Verify your PR is up-to-date with
ultralytics/yolov5
master
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge master
locally. - β Verify all YOLOv5 Continuous Integration (CI) checks are passing.
- β Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." β Bruce Lee
I have read the CLA Document and I sign the CLA |
@inisis thanks for the PR! What type of output are you seeing that will help suppress? BTW we have an issue with If we can figure out how to quiet the native FLOPs function down then we could migrate to it and ditch |
@glenn-jocher for you first question, here are the screen shot. and for your second question, we can add export KINETO_LOG_LEVEL=5 to supress it, |
Thanks for the screenshots, @inisis! Your PR looks promising for addressing the log issue in the first screenshot. π For suppressing verbose output from PyTorch's built-in profiler as indicated in the second screenshot, setting |
@glenn-jocher can you cc me in that issue in ultralytics , i searched but didn't find it. and I think this pr can be merged and closed. |
TORCH_CPP_LOG_LEVEL=ERROR
for reduced verbosity
Hi @inisis! I'll make sure to mention you in the relevant issue on ultralytics once it's up for easier tracking. Regarding this PR, we'll review it shortly and merge if everything checks out. Thanks for your contributions! ππ |
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Enhanced Logging Control in YOLOv5 Export Script β¨
π Key Changes
TORCH_CPP_LOG_LEVEL
to"ERROR"
inexport.py
.π― Purpose & Impact