mlco2 / codecarbon

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

Documation unclear: is energy consumed in kW or kWh? #440

Closed ko-redtruck closed 1 year ago

ko-redtruck commented 1 year ago

Under your documentation Output/CSV energy consumed is listed as in (kW). However, in the code under codecarbon/emissions_tracker.py _prepare_emissions_data the unit is described as kWh.

Is kWh correct?

benoit-cty commented 1 year ago

Hello, yes, energy in in kWh. It will be fixed in next release : https://github.com/mlco2/codecarbon/pull/441/commits/9c5de172885a7bd36f3404ab8d5e483b817d3c4c