mlco2 / mlco2/codecarbon

Sudoless power metrics on Apple Silicon

Open
#731 7 comments 2 reactions 1 assignee View on GitHub

@LuisBlanche is already working on this.

Since Dec 14, 2024.

  • #752 by @LuisBlanche — open
enhancement
Dominant language
Python
Stars
1.9k
Forks
323
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Since #464 was closed, there is a new option for obtaining power metrics on Apple Silicon chips that does not require sudo: https://github.com/vladkens/macmon by @vladkens.

I am not affiliated with the project, but found it after discovering that codecarbon currently requires sudo privileges on macOS for full functionality (as documented in the CPU section of the docs on power usage). This limits its use on managed computers, e.g. in a university setting.

macmon appears to be actively maintained and also has an MIT license, so a promising tool to build on. Hopefully someone will be able to look into this further.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.