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

[Q] Does codecarbon add (significant) overhead? #428

Closed
NightMachinery opened this issue Jul 18, 2023 · 1 comment
Closed

[Q] Does codecarbon add (significant) overhead? #428

NightMachinery opened this issue Jul 18, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@NightMachinery
Copy link

I want to use codecarbon to measure the energy usage of my scripts. Does using OfflineEmissionsTracker add any overhead? If so, by how much?

Should codecarbon only be used on short, toy examples, or can we use it on the whole training loop?

@benoit-cty
Copy link
Contributor

Hello,

CodeCarbon use a scheduler that, by default, call for the measure every 15 seconds so it has no significant overhead.

@benoit-cty benoit-cty added the documentation Improvements or additions to documentation label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants