Store tracking method to EmissionData
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 323
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 12
Description
Is your feature request related to a problem? Please describe.
We display tracking method:
RAM Tracking Method: RAM power estimation model
CPU Tracking Method: cpu_load
GPU Tracking Method: Unspecified
But we did not expose it to the interface.
Describe the solution you'd like
- Store them in EmissionData
- Send them to the API in the Experiment
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 in codecarbon/core/resource_tracker.py at the referenced tracking-method display, then trace EmissionData and the Experiment API flow. Identify where RAM, CPU, and GPU tracking methods are available and how emission data is serialized. Done means all three methods are stored in EmissionData and sent to the API by the Experiment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100