Closed SaboniAmine closed 11 months ago
Some thoughts after testing the code:
Some thoughts after testing the code:
* Can we report grams and not kilograms? Most inferences will only be a few fractions of a gram of CO2 in any case.. * It's a bit hard to debug code because of the logging the tracker is doing (took me awhile to find the error because it kept printing out the emissions every second). Can we make it crash if there is an error in the code itself, for example?
Hello, you could change the log level in .codecarbon.config
:
[codecarbon]
log_level = ERROR
First step to enable inference estimation estimation :
start_task
&stop_task
Next steps may be to
tracker.stop()
execution