CodeCarbon monitor callback
🚀 Feature
Carbon emissions monitoring.

Motivation
https://mlco2.github.io/impact/#about

Pitch
Add a callback like lr_monitor, but to monitor estimated emissions. Simplest way would be to use the codecarbon library, although this wouldn't support distributed training (maybe possible, could at least log emissions for each node?).

Alternatives

This does currently exist in Comet.ML, but it would be good to not be tied to it.
Could also be done just using the raw data here: https://github.com/mlco2/impact, but then need to also monitor approximate power consumption.


Additional context