Skip to content

[Version 3] Raspberry CPU support #791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
3164f81
build on codecarbon_v3_rc
Dec 11, 2024
4a2b6ae
bump
Dec 11, 2024
35ef095
hatch run dev:bumpver update --set-version 3.0.0-rc0 --tag-num
Dec 11, 2024
311055e
build
Dec 11, 2024
c956f21
Add CPU load tracking
benoit-cty Jun 13, 2022
01e1d27
Add new CPU
benoit-cty Jun 14, 2022
2e2a013
Add mandatory country
benoit-cty Jun 14, 2022
4a867dc
Fix RAPL fallback
benoit-cty Jun 14, 2022
36f338c
debug RAPL
Nov 26, 2024
602de48
Release Drafter
Dec 11, 2024
5c3def8
refacto ResourceTracker
Dec 11, 2024
1ccf6b9
example
Dec 12, 2024
fee6837
Add CPU load
Jan 7, 2025
556b16b
Add division to Power
Jan 7, 2025
83dc626
Handle Pandas warning
Jan 7, 2025
0ba2fb9
CPU Load task support
Jan 7, 2025
4cbfe4e
CPU load and RAPL comparison
Jan 7, 2025
d07db89
Better cpu load estimation
Jan 8, 2025
463740c
change version
Jan 10, 2025
35d0040
Fix test test_carbon_tracker_offline_region_error
Jan 10, 2025
cb0e8df
RAPL path
Jan 10, 2025
53faaec
Handle no Tapo
Jan 10, 2025
8f78d5d
Debug config
Jan 10, 2025
ed52589
wip: test on Scaleway
Jan 10, 2025
c16e06f
Add load per core
Jan 10, 2025
0bb2cc8
Add E5-2620 v3
Jan 11, 2025
84eac1c
Add a TDP test
Jan 11, 2025
9664fb4
Fix match for Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Jan 11, 2025
d23c919
Fix psutil detection
Jan 11, 2025
5ff761f
Fix cpu 0
Jan 11, 2025
27893f9
Scaleway test results
Jan 12, 2025
d5e122f
TO REVERT : publish RC to Pypi
Jan 12, 2025
fa12978
Notes on E5-2620
Jan 12, 2025
937bcf9
Add count_physical_cpus
Jan 14, 2025
1841fe3
Multiply TDP per physical CPU
Jan 14, 2025
98d70b8
Custom CPU load
Jan 14, 2025
316ef7e
Find RAM domain
Jan 14, 2025
2e05544
Handle RAPL RAM
Jan 14, 2025
d2e2b97
Improve RAPL
Jan 14, 2025
fed96ee
Do not read core
Jan 14, 2025
cddc72a
Docs
Jan 14, 2025
5674f13
CPU Fallback doc
Jan 17, 2025
5d5a09a
AMD CPU
Feb 3, 2025
a9d90e0
Add W per core for default
benoit-cty Feb 4, 2025
afff566
Data on CPU loads
Feb 14, 2025
e90ed10
fix circular import
Feb 15, 2025
57e5fa1
Default to 1 CPU
Feb 15, 2025
a07e44b
Fix case TDP is None
Feb 15, 2025
bf0dd10
bump
Feb 15, 2025
3bf3af6
docs
Feb 15, 2025
9674f05
Merge pull request #316 from mlco2/use-cpu-load
benoit-cty Feb 15, 2025
d760d63
fix: remove percpu argument for psutil.cpu_percent & process.cpu_perc…
SaboniAmine Feb 17, 2025
16d15c1
remove percpu
Feb 18, 2025
719c22d
Set minimal version for psutil
Feb 18, 2025
455bddd
bump deps
Feb 18, 2025
42f9038
bump to rc2
Feb 18, 2025
2faf374
Fix _get_power_from_cpu_load in process mode
Feb 18, 2025
63b2994
Fix pandas warning
Feb 18, 2025
f346008
Merge pull request #786 from mlco2/fix/remove_deprecated_psutil_percpu
benoit-cty Feb 18, 2025
7552636
Add AMD EPYC 7R13
benoit-cty Feb 20, 2025
d4f5a76
Fix percentage
Feb 20, 2025
9200015
bump
Feb 20, 2025
ab080e6
Merge pull request #787 from mlco2/cpu_AMD_EPYC_7R13
benoit-cty Feb 20, 2025
a760db8
feat(api): add auth to project token endpoints (#746)
inimaz Jan 18, 2025
06a5ee5
feat(carbonserver) allow accessing public project data
prmths128 Jan 14, 2025
d983019
chore(deps): bump next from 14.2.15 to 14.2.21 in /webapp (#762)
dependabot[bot] Jan 19, 2025
66a3831
feat: update project settings (name +description) (#761)
inimaz Jan 19, 2025
7749bae
fix: redirect user to dashboard after cli account creation (#763)
SaboniAmine Jan 19, 2025
039ddbc
chore: bump version (#765)
SaboniAmine Jan 19, 2025
b2ec679
Create FUNDING.yml
benoit-cty Jan 22, 2025
fac18b6
Improve arguments consistency in track_emissions decorator
LucasHaug Jan 22, 2025
097878c
feat: allow_multiple_runs is true by default
inimaz Feb 6, 2025
b2315a7
ci: deploy app from ci (#772)
inimaz Jan 26, 2025
718ebf5
deps bump
benoit-cty Jan 28, 2025
80c634c
Check if tracker iniialized.
benoit-cty Jan 28, 2025
606f0da
Fix empty country
Jan 29, 2025
c75b5e3
Bump deps
Jan 29, 2025
4b5ea69
Fix(lock): SIGTERM handling to allow cleanup code execution (#785)
Ucodia Feb 13, 2025
5330cbd
fix(api): auth context can read project
inimaz Mar 8, 2025
b1844c0
fix: unit test
inimaz Mar 8, 2025
6286fd2
fix: minor change in log that says where the codecarbon output is (#794)
inimaz Mar 9, 2025
3470d55
chore(carbonserver) remove unused users endpoint
prmths128 Mar 9, 2025
6d2d9ec
Add Intel Core Ultra 7 165H
FrejaThoresen Mar 20, 2025
a2748c5
fix: update nextjs to latest to prevent known vulnerability
inimaz Mar 25, 2025
f53ab98
chores: split github workflows (#812)
inimaz Apr 1, 2025
d39a1cb
Feat: create new experiment from the webapp (#816)
inimaz Apr 4, 2025
edbded8
chore(deps): bump @babel/runtime from 7.24.8 to 7.27.0 in /webapp (#811)
dependabot[bot] Apr 4, 2025
9a8aa47
feat(ui): share project page (#818)
alexphiev Apr 11, 2025
289ba32
Update cpu_power.csv
benoit-cty Apr 11, 2025
e902c4b
fix line feed
Apr 13, 2025
d4fea24
rebuild docs
Apr 13, 2025
344feb6
bump deps
Apr 13, 2025
1bc0982
Merge pull request #780 from mlco2/feat/allow-multiple-runs-true
benoit-cty Apr 13, 2025
fb01a32
New heuristic for RAM
Mar 15, 2025
0918e52
Fix test and RAM slot power
Mar 15, 2025
a13db61
force ram and cpu power
Mar 28, 2025
c6d6a9d
tests
Mar 28, 2025
c02ae05
force_ram_power
Apr 2, 2025
ff5e4ff
seems to work
Apr 2, 2025
eb53e7a
Fix test
Apr 6, 2025
56e6aa2
bump and docs
Apr 6, 2025
0b8e6b3
doc
Apr 6, 2025
3bfc92c
fix bug with psutil detection
Apr 11, 2025
4f53a13
bump
Apr 11, 2025
4ee7644
Add a minimum of 10% TDP
Apr 11, 2025
d20b71b
Log modes to INFO
Apr 11, 2025
40c0af8
bump
Apr 11, 2025
4c4fe80
fix max
Apr 11, 2025
38fa473
Typo
Apr 12, 2025
aafd5f6
typo
Apr 12, 2025
90d6ec9
bump deps
Apr 13, 2025
b3e827d
doc
Apr 13, 2025
8eac358
Merge pull request #804 from mlco2/feat/ram_stick_power
benoit-cty Apr 13, 2025
d27aa53
rpi 4 and 5 cpu
Feb 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add mandatory country
  • Loading branch information
benoit-cty authored and benoit-cty committed Feb 15, 2025
commit 2e2a0135dacc98677c27330e265bd1e177c27e8c
2 changes: 1 addition & 1 deletion tests/test_hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_cpu_load_detection(
mocked_is_powergadget_available,
mocked_is_rapl_available,
):
tracker = OfflineEmissionsTracker()
tracker = OfflineEmissionsTracker(country_iso_code="FRA")
for hardware in tracker._hardware:
if isinstance(hardware, CPU) and hardware._mode == MODE_CPU_LOAD:
break
Expand Down