mlco2 / codecarbon

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

codecarbon not tracking CPU when RAPL data is available #500

Closed mkbane closed 5 months ago

mkbane commented 7 months ago

Description

image

so I can read RAPL but CC isn't tracking CPU

benoit-cty commented 7 months ago

Hello, I see you are using CodeCarbon 2.2.5, could you upgrade to the last version 2.3.4 ?

benoit-cty commented 7 months ago

Closed for no update.

mkbane commented 7 months ago

Hi, sorry to re-open (been off ill but just tried). Same issue with 2.3.4: image

mkbane commented 7 months ago

I have tried to re-open…

From: Benoit Courty @.> Sent: Friday, February 9, 2024 1:13 PM To: mlco2/codecarbon @.> Cc: Michael Bane @.>; Author @.> Subject: Re: [mlco2/codecarbon] codecarbon not tracking CPU when RAPL data is available (Issue #500)

This email originated from outside of Manchester Met. Do not click links or open attachments unless you recognise the sender and believe the content to be safe. Please contact the IT ServiceDesk if you have any concerns, https://www.mmu.ac.uk/about-us/professional-services/itd/about/contact


Hello, I see you are using CodeCarbon 2.2.5, could you upgrade to the last version 2.3.4 ?

— Reply to this email directly, view it on GitHubhttps://github.com/mlco2/codecarbon/issues/500#issuecomment-1935906847, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVRWBWNS6SXKHI53MLD4KPTYSYOG5AVCNFSM6AAAAABC53J3OCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVHEYDMOBUG4. You are receiving this because you authored the thread.Message ID: @.**@.>>

"Before acting on this email or opening any attachments you should read the Manchester Metropolitan University email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer "

benoit-cty commented 7 months ago

Thanks for reporting. I hope you are doing well.

Can you try with debug mode ?

export CODECARBON_LOG_LEVEL=DEBUG
codecarbon monitor

So we will see the exception in the log that prevent CodeCarbon from reading RAPL file.

benoit-cty commented 6 months ago

Hello, did you manage to activate debug ?

benoit-cty commented 5 months ago

Closed after more than one month without answer.