mlco2 / mlco2/codecarbon

Tracking CPU-hours and GPU-hours

Open
#413 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  • CodeCarbon version: 2.2.1
  • Python version: *
  • Operating System: Windows, Mac, Linux
Description

For reporting purposes, I would like to report the CPU and GPU-hours in addition to the emissions, however, the library does not seem to track these values/does not prepare them in its output. Is it possible for you to add these values?

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 inspecting how CodeCarbon currently tracks compute usage and prepares its emissions output for version 2.2.1. Determine where CPU-hours and GPU-hours would be represented, then verify that the reporting output includes both values alongside emissions on Windows, Mac, and Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.