mlco2 / mlco2/codecarbon

Experimental comparisions

Open
#788 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi! I am planning to use codecarbon to track the energy consumption from my code in a thesis where energy consumption from CPU one of the questions, And I later found this paper:

https://inria.hal.science/hal-04030223v2/file/_CCGrid23__An_experimental_comparison_of_software_based_power_meters__from_CPU_to_GPU.pdf
which said:
"""Code Carbon tends to report power consumption
values almost twice as high as other tools based on the same
interface for obtaining consumption values (Intel RAPL)."""
[Mathilde Jay, Vladimir Ostapenco, Laurent Lefèvre, Denis Trystram, Anne-Cécile Orgerie, et al.. An
experimental comparison of software-based power meters: focus on CPU and GPU. CCGrid 2023

  • 23rd IEEE/ACM international symposium on cluster, cloud and internet computing, May 2023,
    Bangalore, India. pp.1-13, ff10.1109/CCGrid57682.2023.00020ff. ffhal-04030223v2f]

So I am wondering if this has been looked at before i start tracking my code.

Thanks!!

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 reading the linked CCGrid 2023 paper and tracing CodeCarbon's Intel RAPL measurement path. Reproduce or compare the reported CPU power values against the paper's reference tools, then document whether the discrepancy is confirmed, explained, or still unresolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.