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
Enable passing a dict of module names: log level to set_logs python api #98989
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/98989
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7247aba: 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.
I guess this is fine but I think I am also at the conclusion that the set_logs
tons of kwargs API is just... not very good. Very inconvenient.
Yeah I think I'm going to try a codegen thing. Let me see if autocomplete works on it, if not I'll just make it **kwargs, unless you have other ideas. |
@pytorchbot merge |
Merge failedReason: This PR needs a label If not, please add the To add a label, you can comment to pytorchbot, for example For more information, see Details for Dev Infra teamRaised by workflow job |
@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 |
…pi (#98989) Adds "module" kwarg to set_logs to allow a user to pass a dict of module qualified names to log level to the API. Pull Request resolved: #98989 Approved by: https://github.com/ezyang
Adds "module" kwarg to set_logs to allow a user to pass a dict of module qualified names to log level to the API.
cc @soumith @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire