CPU on Raspberry Pi 5 not recognized
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 323
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 12
Description
Dear CodeCarbon team,
I am running codecarbon on a Raspberry Pi 5, and the CPU (and Hailo AI acceleration device) are not recognized.
[codecarbon INFO @ 16:09:26] Codecarbon is taking the configuration from global file: /home/pi/.codecarbon.config
[codecarbon INFO @ 16:09:26] [setup] RAM Tracking...
[codecarbon INFO @ 16:09:26] [setup] CPU Tracking...
[codecarbon WARNING @ 16:09:26] No CPU tracking mode found. Falling back on CPU constant mode.
Linux OS detected: Please ensure RAPL files exist at \sys\class\powercap\intel-rapl to measure CPU
[codecarbon WARNING @ 16:09:26] We saw that you have a Cortex-A76 but we don't know it. Please contact us.
[codecarbon INFO @ 16:09:26] CPU Model on constant consumption mode: Cortex-A76
[codecarbon INFO @ 16:09:26] [setup] GPU Tracking...
[codecarbon INFO @ 16:09:26] No GPU found.
[codecarbon INFO @ 16:09:26] >>> Tracker's metadata:
[codecarbon INFO @ 16:09:26] Platform system: Linux-6.6.62+rpt-rpi-2712-aarch64-with-glibc2.36
[codecarbon INFO @ 16:09:26] Python version: 3.11.2
[codecarbon INFO @ 16:09:26] CodeCarbon version: 2.8.3
[codecarbon INFO @ 16:09:26] Available RAM : 7.860 GB
[codecarbon INFO @ 16:09:26] CPU count: 4
[codecarbon INFO @ 16:09:26] CPU model: Cortex-A76
[codecarbon INFO @ 16:09:26] GPU count: None
[codecarbon INFO @ 16:09:26] GPU model: None
[codecarbon INFO @ 16:09:29] Saving emissions data to file emissions.csv
[codecarbon INFO @ 16:09:29]
Graceful stopping: collecting and writing information.
Please wait a few seconds...
[codecarbon INFO @ 16:09:29] Energy consumed for RAM : 0.000000 kWh. RAM Power : 2.9473571777343754 W
[codecarbon INFO @ 16:09:29] Energy consumed for all CPUs : 0.000000 kWh. Total CPU Power : 42.5 W
[codecarbon INFO @ 16:09:29] 0.000000 kWh of electricity used since the beginning.
[codecarbon INFO @ 16:09:29] Done!
Furthermore, this folder doesn't exist on the system /sys/class/powercap.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported logs on a Raspberry Pi 5 with CodeCarbon 2.8.3, checking the missing /sys/class/powercap path and the Cortex-A76 detection warning. Review how CPU and GPU tracking responds when no RAPL files or GPU are found. Done should include recognized CPU handling and, if supported, Hailo detection, backed by a reproducible test or documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python, raspberry-pi
- Domain
- embedded-iot, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100