You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have a cool idea, but do not know know if it fits with Code Carbon? You can create an issue to share:
62
+
You have a cool idea, but do not know if it fits with Code Carbon? You can create an issue to share:
63
63
64
64
- the code, via the Github repo or [Binder](https://mybinder.org/), to share executable notebooks
65
65
- a webapp, using [Voilà](https://github.com/voila-dashboards/voila), [Dash](https://github.com/plotly/dash) or [Streamlit](https://github.com/streamlit/streamlit)
@@ -74,7 +74,7 @@ You have a cool idea, but do not know know if it fits with Code Carbon? You can
74
74
75
75
CodeCarbon is a Python package, to contribute to it, you need to have Python installed on your machine, natively or with [UV](https://github.com/astral-sh/uv).
76
76
77
-
Between April 2024 and July 2025 we use Hatch for managing development environment. Since August 2025 we use UV manages the environments, Python versions, and dependencies - it's a fast, reliable way to work with Python projects.
77
+
Between April 2024 and July 2025 we used Hatch for managing development environment. Since August 2025 we use UV to manage the environments, Python versions, and dependencies - it's a fast, reliable way to work with Python projects.
78
78
79
79
We have dropped support of Python 3.6 since version 2.0.0 of CodeCarbon.
80
80
@@ -150,16 +150,16 @@ To test CodeCarbon, it is useful to stress your computer to make it use its full
150
150
-[GPU-burn](https://github.com/wilicc/gpu-burn) will load test the GPU for a configurable duration.
151
151
- To test the CPU : `stress-ng --cpu 0 --cpu-method matrixprod --metrics-brief --rapl --perf -t 60s` See [our documentation](https://mlco2.github.io/codecarbon/test_on_scaleway.html) to install it.
152
152
- To do useful computation while testing [Folding At Home](https://foldingathome.org/) is a good option.
153
-
-[OCCT](https://www.ocbase.com/download) is a proprietary tool but free for non-commercial use and avaliable for Windows and Linux.
153
+
-[OCCT](https://www.ocbase.com/download) is a proprietary tool but free for non-commercial use and available for Windows and Linux.
154
154
155
155
To monitor the power consumption of your computer while stressing it, you can use:
156
156
157
157
-`nvidia-smi` is a useful tool to see the metrics of the GPU and compare it with CodeCarbon.
158
158
-[powerstat](https://github.com/ColinIanKing/powerstat) can be used to see the metrics of the CPU and compare it with CodeCarbon. It's available on major distribution, like Debian-based Linux distributions with `sudo apt install powerstat`. Run it with `sudo powerstat -a -R 1 60`.
159
159
160
160
161
-
<!-- TOC --><aname="update-all-dependancies"></a>
162
-
### Update all dependancies
161
+
<!-- TOC --><aname="update-all-dependencies"></a>
162
+
### Update all dependencies
163
163
164
164
For multiple requirement files:
165
165
```sh
@@ -309,31 +309,6 @@ Push force
309
309
git push --force-with-lease
310
310
```
311
311
312
-
### Rebase your branch on master
313
-
314
-
Before creating a PR, please make sure to rebase your branch on master to avoid merge conflicts and make the review easier. You can do it with the following command:
315
-
```sh
316
-
# Be careful, this command will delete every local changes you have, make sure to commit or stash them before running it
In case of a conflict during a rebase, "incoming" refers to your branch, and "current" refers to master. This is because the commits from your branch are being applied to master, so they are incoming. In case of a merge, it's the opposite!
The API is availiable to everyone from https://api.codecarbon.io, but if you want to deploy it for yourself, here are the instructions.
496
+
The API is available to everyone from https://api.codecarbon.io, but if you want to deploy it for yourself, here are the instructions.
522
497
523
498
To deploy the API we use [Clever Cloud](https://www.clever-cloud.com/), an IT Automation platform. They manage all the hard ops work while we focus on the Code Carbon value.
0 commit comments