-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Option to disable CodeCarbon #26036
Comments
Hi @nebrelbug, thanks for raising this issue! Sounds like a good idea to me. @muellerzr will know more about it than me and can advise. |
That sounds fine to me as well @nebrelbug. We have a few options here:
I think I'd prefer 3 if possible, otherwise 1 :) WDYT? |
@muellerzr I don't think that CodeCarbon is necessarily broken for everyone using multiple nodes, so my personal preference would be option 1. Would it be alright if I opened a PR to disable the callback when |
@nebrelbug actually looking at this more, does using |
If so, we should expand the doc on the |
@muellerzr it does, actually! Setting |
Thanks for verifying! Lets go ahead and add it to the report_to doc string @nebrelbug |
@muellerzr sweet! I actually think the doc string for |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Feature request
Motivation
I'm running code using the Trainer class across several nodes in an HPC environment using SLURM. It seems to automatically use the CodeCarbon callback, but unfortunately doesn't work correctly in my multi-node environment and floods my log files with hundreds of distracting messages (mentioned earlier in mlco2/codecarbon#252).
Your contribution
I'd be happy to contribute and/or open a PR, given some guidance about where to start.
The text was updated successfully, but these errors were encountered: