Skip to content
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

move fbgemm_gpu import #66

Closed
wants to merge 1 commit into from

Conversation

kingchc
Copy link
Contributor

@kingchc kingchc commented Oct 12, 2022

Summary:
fbgemm_gpu's bench_utils would set the global log level to DEBUG, and add exta noise to PARAM. This cannot be easily overritten unless using new flag (force) introduced by python3.8.

Now import fbgemm_gpu on-demand only when it is required and it won't overrit the log level and formate set by PARAM.

fix #65

Differential Revision: D40325678

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Oct 12, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40325678

Summary:
Pull Request resolved: facebookresearch#66

fbgemm_gpu's bench_utils would set the global log level to DEBUG, and add noise to PARAM runs. The global logging config cannot be easily overwritten unless using new flag (`force`) introduced by python3.8.

Now import fbgemm_gpu on-demand only when it is required and it won't overwrite the log level and format set by PARAM.

fix facebookresearch#65

Differential Revision: D40325678

fbshipit-source-id: 0757329357ea003c1d81997d1fa1487734517258
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40325678

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Unrecognised argument(s): force" for comms/pt/comms_utils.py
2 participants