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
Add "all" option to logging #100664
Add "all" option to logging #100664
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/100664
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 34cfa12: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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.
Nice!
Now a coupe things (not for this PR)
I believe that the function _parse_log_settings
is doing a bit too much here. I think it should just parse the string, as the name implies, and then call set_logs
. This way we would only have one point of entry to set the logs, and changes like this one of adding one more thing would just need to be done in one place.
Also another nit for this PR or another. You can use the trick of calling locals()
at the beginning of set_logs
(and pop modules
off it) to remove the need for _set_logs
altogether, which I think it's nice.
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Adds the long-promised "all" option to logging. Pull Request resolved: pytorch#100664 Approved by: https://github.com/lezcano
Adds the long-promised "all" option to logging.
cc @soumith @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire