mlco2 / codecarbon

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

monitoring 3rd party code #543

Closed cmeesters closed 1 month ago

cmeesters commented 1 month ago

Description

Thank you for this interesting project! I have been screening the docs, but could not find an example or description a use case of mine: how could we screen 3rd party processes started using subprocess?

benoit-cty commented 1 month ago

Hello, sorry you can't do that yet. CodeCarbon monitor the whole machine.

But there is a PR open for that : https://github.com/mlco2/codecarbon/pull/431

cmeesters commented 1 month ago

Ah, thank you. I subscribed to the mentioned PR.