Accuracy of CodeCarbon Energy Measurements in WSL2 with GPU (RTX 4070)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 323
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 12
Description
OS: Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.35
Python Version: 3.12.3
CUDA Version: 12.8
cuDNN Version: 9.7.1
TensorFlow Version: 2.15.0 (GPU)
Virtual Environment: Yes (created inside WSL2)
I am running CodeCarbon v2.8.3 inside WSL2 (Ubuntu 24.04) on a Windows 11 machine with an RTX 4070 GPU.
Does CodeCarbon accurately track GPU, CPU and RAM power inside WSL2?
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 setup: CodeCarbon 2.8.3 on Ubuntu 24.04 under WSL2 with the RTX 4070, TensorFlow 2.15.0, and the listed CUDA versions. Inspect the measurement behavior for GPU, CPU, and RAM, then document whether WSL2 affects accuracy and add or update coverage if a discrepancy is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python, tensorflow
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100