Closed alemolteni closed 1 month ago
First run print(eval_js("google.colab.kernel.proxyPort(3333)"))
to get a proxy to the server where the dashboard is running. Then run !carbonboard --filepath="emissions.csv" --port=3333
but instead of clicking on the output from this cell, click on the proxy link from the first command.
Thanks @mdhanna I don't know that it could be run on collab !
Please note that to monitor a notebook it could be simple to put:
from codecarbon import EmissionsTracker
tracker = EmissionsTracker()
tracker.start()
In a cell at the top of the notebook, and just tracker.stop()
in the last cell.
See https://mlco2.github.io/codecarbon/usage.html#explicit-object
Closing this as question have been answered.
Description
I can't open the dashboard using codecarbone. I managed to run an EmissionTracker(), but I have no idea how to access dashboard. I have read the documentation, but I can't really understand what do I have to do with the ".codecarbon.config" file in the project root.
What I Did