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

Warning: Invalid gpu_ids format #557

Closed inimaz closed 1 month ago

inimaz commented 1 month ago

I'm currently receiving a warning message that isn't critical right now, but addressing it would improve CodeCarbon. [codecarbon WARNING @ 10:15:02] Invalid gpu_ids format. Expected a string or a list of ints.

Originally posted by @RafiullahOmar in https://github.com/mlco2/codecarbon/issues/515#issuecomment-2124160703

Looks like a minor bug. Goal will be to only display this warning when it is needed, and not all the time.