Open jennydaman opened 1 year ago
@benoit-cty besides documentation, is there any other blocker on this PR ?
@benoit-cty besides documentation, is there any other blocker on this PR ?
It has to be tested to ensure it works as expected.
Was just looking for this feature! Hope it can get merged eventually.
Resolves https://github.com/mlco2/codecarbon/issues/382
This PR adds functionality to the
codecarbon monitor
command.When you run
codecarbon monitor
, the previous behavior is kept the same.When you run
codecarbon monitor -- some positional --arguments -lah
, the positional arguments are ran as a subprocess and monitored with the optiontracking_mode="process"
.