mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.17k stars 177 forks source link

Log tracking method used and required installs for tracking CPU #641

Closed rosekelly6400 closed 2 months ago

rosekelly6400 commented 3 months ago

Addresses Issue #585

rosekelly6400 commented 2 months ago

@benoit-cty @inimaz this pull request is for addressing issue #585: Log steps to install needed codecarbon dependencies Is this what you were looking for? Happy to make more changes if needed

rosekelly6400 commented 2 months ago

Thanks a lot ! You need to add import sys to util.py.

@benoit-cty all the requested changes have been added and pushed

rosekelly6400 commented 2 months ago

@benoit-cty sorry was having some issues running the hatch scripts locally to test the pipelines but got them working now, hopefully the pipeline should pass now

benoit-cty commented 2 months ago

Thanks, your contribution will be in the 2.7.0 that I will release today.