mlco2 / mlco2/codecarbon

CodeCarbon not supporting CPU

Open
#774 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
1.9k
Forks
323
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Hello,
I hope you are doing fine. I am using CodeCarbon 2.2.2 with Intel Power Gadget installed, but the library falls back to constant mode. My CPU details are:

  • Name: Intel(R) Core(TM) Ultra 5 125U
  • Max Clock Speed: 1.3 GHz
  • Number of Cores: 12
  • Architecture: Intel64 Family 6 Model 170 Stepping 4
  • OS: Windows 11 Pro 64-bit
  • Intel Power Gadget Version: 3.6

Intel Power Gadget is running and showing real-time CPU power and frequency metrics, but CodeCarbon displays:
[codecarbon WARNING] No CPU tracking mode found. Falling back on CPU constant mode.

Can you add support for this CPU in future updates?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the fallback on Windows 11 with the listed Intel Core Ultra 5 125U and Intel Power Gadget 3.6 setup, then trace where CodeCarbon reports “No CPU tracking mode found.” Done means this CPU is recognized and its real-time power metrics are tracked instead of using constant mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.