diff --git a/codecarbon/_version.py b/codecarbon/_version.py index 239bf2b2b..764271bc1 100644 --- a/codecarbon/_version.py +++ b/codecarbon/_version.py @@ -1 +1 @@ -__version__ = "2.8.2" +__version__ = "2.8.3" diff --git a/docs/.buildinfo b/docs/.buildinfo index 748624d42..c44044c25 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 9f4750dacb0c56bfad9fbaf2281536e5 +config: 4e0aba649f91939a198f23b5a42c8d17 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_sources/installation.rst.txt b/docs/_sources/installation.rst.txt index 0e5cf619f..37269f75f 100644 --- a/docs/_sources/installation.rst.txt +++ b/docs/_sources/installation.rst.txt @@ -62,3 +62,115 @@ The following packages are used by the CodeCarbon package, and will be installed Please refer to `pyproject.toml `_ for the latest list of the packages used. + +Install CodeCarbon as a Linux service +------------------------------------- + +To install CodeCarbon as a Linux service, follow the instructions below. It works on Ubuntu or other Debian-based systems using systemd. + +Create a dedicated user: + +.. code-block:: bash + + sudo useradd -r -s /bin/false codecarbon + +Create a directory for the CodeCarbon service: + +.. code-block:: bash + + sudo mkdir /opt/codecarbon + +Change the ownership of the directory to the user created above: + +.. code-block:: bash + + sudo chown codecarbon:codecarbon /opt/codecarbon + +Create a virtual environment for CodeCarbon : + +.. code-block:: bash + + sudo apt install python3-venv + sudo -u codecarbon python3 -m venv /opt/codecarbon/.venv + +Install CodeCarbon in the virtual environment: + +.. code-block:: bash + + sudo -u codecarbon /opt/codecarbon/.venv/bin/pip install codecarbon + +Go to https://dashboard.codecarbon.io/ and create an account to get your API key. + +Configure CodeCarbon: + +.. code-block:: bash + + sudo -u codecarbon /opt/codecarbon/.venv/bin/codecarbon login + +Create a systemd service file: + +.. code-block:: bash + + sudo tee /etc/systemd/system/codecarbon.service <> /etc/sysfs.conf + echo "owner class/powercap/intel-rapl:0/energy_uj = root:codecarbon" >> /etc/sysfs.conf + +Create the configuration file for CodeCarbon: + +.. code-block:: bash + + sudo tee /opt/codecarbon/.codecarbon.config < + project_id = + experiment_id = + api_key = + # Verbose logging + log_level=DEBUG + # Measure power every 30 seconds + measure_power_secs=30 + # Send measure to API every 5 minutes (10*30 seconds) + api_call_interval=10 + EOF + +Enable and start the service: + +.. code-block:: bash + + sudo systemctl enable codecarbon + sudo systemctl start codecarbon + +Check the traces of the service: + +.. code-block:: bash + + journalctl -u codecarbon + + +You are done, CodeCarbon is now running as a service on your machine. + +Wait 5 minutes for the first measure to be send to the dashboard at https://dashboard.codecarbon.io/. diff --git a/docs/_sources/methodology.rst.txt b/docs/_sources/methodology.rst.txt index 061b0d696..a58ee1e61 100644 --- a/docs/_sources/methodology.rst.txt +++ b/docs/_sources/methodology.rst.txt @@ -120,7 +120,7 @@ If you do not want to give sudo rights to your user, then CodeCarbon will fall b - **On Linux** -Tracks Intel and AMD processor energy consumption from Intel RAPL files at ``\sys\class\powercap\intel-rapl`` ( `reference `_ ). +Tracks Intel and AMD processor energy consumption from Intel RAPL files at ``/sys/class/powercap/intel-rapl`` ( `reference `_ ). All CPUs listed in this directory will be tracked. `Help us improve this and make it configurable `_. *Note*: The Power Consumption will be tracked only if the RAPL files exist at the above-mentioned path diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 4085713d6..1ea755534 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '2.8.2', + VERSION: '2.8.3', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/_static/pygments.css b/docs/_static/pygments.css index 0d49244ed..5f2b0a250 100644 --- a/docs/_static/pygments.css +++ b/docs/_static/pygments.css @@ -6,26 +6,26 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .highlight .hll { background-color: #ffffcc } .highlight { background: #eeffcc; } .highlight .c { color: #408090; font-style: italic } /* Comment */ -.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .err { border: 1px solid #F00 } /* Error */ .highlight .k { color: #007020; font-weight: bold } /* Keyword */ -.highlight .o { color: #666666 } /* Operator */ +.highlight .o { color: #666 } /* Operator */ .highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ .highlight .cp { color: #007020 } /* Comment.Preproc */ .highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ +.highlight .cs { color: #408090; background-color: #FFF0F0 } /* Comment.Special */ .highlight .gd { color: #A00000 } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ -.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gr { color: #F00 } /* Generic.Error */ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ .highlight .gi { color: #00A000 } /* Generic.Inserted */ -.highlight .go { color: #333333 } /* Generic.Output */ -.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .go { color: #333 } /* Generic.Output */ +.highlight .gp { color: #C65D09; font-weight: bold } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ -.highlight .gt { color: #0044DD } /* Generic.Traceback */ +.highlight .gt { color: #04D } /* Generic.Traceback */ .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ @@ -33,43 +33,43 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #902000 } /* Keyword.Type */ .highlight .m { color: #208050 } /* Literal.Number */ -.highlight .s { color: #4070a0 } /* Literal.String */ -.highlight .na { color: #4070a0 } /* Name.Attribute */ +.highlight .s { color: #4070A0 } /* Literal.String */ +.highlight .na { color: #4070A0 } /* Name.Attribute */ .highlight .nb { color: #007020 } /* Name.Builtin */ -.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ -.highlight .no { color: #60add5 } /* Name.Constant */ -.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ -.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.highlight .nc { color: #0E84B5; font-weight: bold } /* Name.Class */ +.highlight .no { color: #60ADD5 } /* Name.Constant */ +.highlight .nd { color: #555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #D55537; font-weight: bold } /* Name.Entity */ .highlight .ne { color: #007020 } /* Name.Exception */ -.highlight .nf { color: #06287e } /* Name.Function */ +.highlight .nf { color: #06287E } /* Name.Function */ .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ -.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.highlight .nn { color: #0E84B5; font-weight: bold } /* Name.Namespace */ .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ -.highlight .nv { color: #bb60d5 } /* Name.Variable */ +.highlight .nv { color: #BB60D5 } /* Name.Variable */ .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .w { color: #BBB } /* Text.Whitespace */ .highlight .mb { color: #208050 } /* Literal.Number.Bin */ .highlight .mf { color: #208050 } /* Literal.Number.Float */ .highlight .mh { color: #208050 } /* Literal.Number.Hex */ .highlight .mi { color: #208050 } /* Literal.Number.Integer */ .highlight .mo { color: #208050 } /* Literal.Number.Oct */ -.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ -.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ -.highlight .sc { color: #4070a0 } /* Literal.String.Char */ -.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ -.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ -.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ -.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ -.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ -.highlight .sx { color: #c65d09 } /* Literal.String.Other */ +.highlight .sa { color: #4070A0 } /* Literal.String.Affix */ +.highlight .sb { color: #4070A0 } /* Literal.String.Backtick */ +.highlight .sc { color: #4070A0 } /* Literal.String.Char */ +.highlight .dl { color: #4070A0 } /* Literal.String.Delimiter */ +.highlight .sd { color: #4070A0; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4070A0 } /* Literal.String.Double */ +.highlight .se { color: #4070A0; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #4070A0 } /* Literal.String.Heredoc */ +.highlight .si { color: #70A0D0; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #C65D09 } /* Literal.String.Other */ .highlight .sr { color: #235388 } /* Literal.String.Regex */ -.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ +.highlight .s1 { color: #4070A0 } /* Literal.String.Single */ .highlight .ss { color: #517918 } /* Literal.String.Symbol */ .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ -.highlight .fm { color: #06287e } /* Name.Function.Magic */ -.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ -.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ -.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ -.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ +.highlight .fm { color: #06287E } /* Name.Function.Magic */ +.highlight .vc { color: #BB60D5 } /* Name.Variable.Class */ +.highlight .vg { color: #BB60D5 } /* Name.Variable.Global */ +.highlight .vi { color: #BB60D5 } /* Name.Variable.Instance */ +.highlight .vm { color: #BB60D5 } /* Name.Variable.Magic */ .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/docs/api.html b/docs/api.html index 2a20db5dd..0b04a5009 100644 --- a/docs/api.html +++ b/docs/api.html @@ -6,14 +6,14 @@ - CodeCarbon API — CodeCarbon 2.8.2 documentation - + CodeCarbon API — CodeCarbon 2.8.3 documentation + - + @@ -111,10 +111,10 @@

CodeCarbon API

Or use the API in your code:

-
from codecarbon import track_emissions
+
from codecarbon import track_emissions
 
 @track_emissions(save_to_api=True)
-def train_model():
+def train_model():
     # GPU intensive training code  goes here
 
 if __name__ =="__main__":
@@ -127,7 +127,7 @@ 

CodeCarbon APIAnd so on for your team, project and experiment.

You then have to set you experiment id in CodeCarbon, with two options:

In the code:

-
from codecarbon import track_emissions
+
diff --git a/docs/comet.html b/docs/comet.html
index d89b2fae0..1b2862842 100644
--- a/docs/comet.html
+++ b/docs/comet.html
@@ -6,14 +6,14 @@
   
 
   
-  Comet Integration — CodeCarbon 2.8.2 documentation
-      
+  Comet Integration — CodeCarbon 2.8.3 documentation
+      
       
 
   
       
       
-      
+      
       
       
     
diff --git a/docs/edit/conf.py b/docs/edit/conf.py
index c727833b4..1d7a005cc 100644
--- a/docs/edit/conf.py
+++ b/docs/edit/conf.py
@@ -23,7 +23,7 @@
 author = "BCG GAMMA, Comet.ml, Haverford College, MILA, Data For Good"
 
 # The full version, including alpha/beta/rc tags
-release = "2.8.2"
+release = "2.8.3"
 
 
 # -- General configuration ---------------------------------------------------
diff --git a/docs/examples.html b/docs/examples.html
index b6127806f..42ba5d842 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -6,14 +6,14 @@
   
 
   
-  Examples — CodeCarbon 2.8.2 documentation
-      
+  Examples — CodeCarbon 2.8.3 documentation
+      
       
 
   
       
       
-      
+      
       
       
     
@@ -100,9 +100,9 @@
 

Following are examples to train a Deep Learning model on MNIST Data to recognize digits in images using TensorFlow.

Using the Explicit Object

-
import tensorflow as tf
+
import tensorflow as tf
 
-from codecarbon import EmissionsTracker
+from codecarbon import EmissionsTracker
 
 mnist = tf.keras.datasets.mnist
 
@@ -133,9 +133,9 @@ 

Using the Explicit Object

Using the Context Manager

-
import tensorflow as tf
+
import tensorflow as tf
 
-from codecarbon import EmissionsTracker
+from codecarbon import EmissionsTracker
 
 mnist = tf.keras.datasets.mnist
 
@@ -162,13 +162,13 @@ 

Using the Context Manager

Using the Decorator

-
import tensorflow as tf
+
import tensorflow as tf
 
-from codecarbon import track_emissions
+from codecarbon import track_emissions
 
 
 @track_emissions(project_name="mnist")
-def train_model():
+def train_model():
     mnist = tf.keras.datasets.mnist
     (x_train, y_train), (x_test, y_test) = mnist.load_data()
     x_train, x_test = x_train / 255.0, x_test / 255.0
diff --git a/docs/faq.html b/docs/faq.html
index 388567191..c33064c2c 100644
--- a/docs/faq.html
+++ b/docs/faq.html
@@ -6,14 +6,14 @@
   
 
   
-  Frequently Asked Questions — CodeCarbon 2.8.2 documentation
-      
+  Frequently Asked Questions — CodeCarbon 2.8.3 documentation
+      
       
 
   
       
       
-      
+      
       
       
     
diff --git a/docs/genindex.html b/docs/genindex.html
index 4bc300eff..4dce90f66 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -5,14 +5,14 @@
 
   
   
-  Index — CodeCarbon 2.8.2 documentation
-      
+  Index — CodeCarbon 2.8.3 documentation
+      
       
 
   
       
       
-      
+      
       
       
     
diff --git a/docs/index.html b/docs/index.html
index 98132fb66..76853c7df 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,14 +6,14 @@
   
 
   
-  CodeCarbon — CodeCarbon 2.8.2 documentation
-      
+  CodeCarbon — CodeCarbon 2.8.3 documentation
+      
       
 
   
       
       
-      
+      
       
       
     
@@ -118,6 +118,7 @@ 

CodeCarbonFrom PyPi repository
  • From conda repository
  • Dependencies
  • +
  • Install CodeCarbon as a Linux service
  • Quickstart
  • Quickstart
  • @@ -144,6 +145,91 @@

    Dependenciespyproject.toml for the latest list of the packages used.

    +
    +

    Install CodeCarbon as a Linux service

    +

    To install CodeCarbon as a Linux service, follow the instructions below. It works on Ubuntu or other Debian-based systems using systemd.

    +

    Create a dedicated user:

    +
    sudo useradd -r -s /bin/false codecarbon
    +
    +
    +

    Create a directory for the CodeCarbon service:

    +
    sudo mkdir /opt/codecarbon
    +
    +
    +

    Change the ownership of the directory to the user created above:

    +
    sudo chown codecarbon:codecarbon /opt/codecarbon
    +
    +
    +

    Create a virtual environment for CodeCarbon :

    +
    sudo apt install python3-venv
    +sudo -u codecarbon python3 -m venv /opt/codecarbon/.venv
    +
    +
    +

    Install CodeCarbon in the virtual environment:

    +
    sudo -u codecarbon /opt/codecarbon/.venv/bin/pip install codecarbon
    +
    +
    +

    Go to https://dashboard.codecarbon.io/ and create an account to get your API key.

    +

    Configure CodeCarbon:

    +
    sudo -u codecarbon /opt/codecarbon/.venv/bin/codecarbon login
    +
    +
    +

    Create a systemd service file:

    +
    sudo tee /etc/systemd/system/codecarbon.service <<EOF
    +[Unit]
    +Description=CodeCarbon service
    +After=network.target
    +
    +[Service]
    +User=codecarbon
    +Group=codecarbon
    +WorkingDirectory=/opt/codecarbon
    +ExecStart=/opt/codecarbon/.venv/bin/codecarbon monitor
    +Restart=always
    +
    +[Install]
    +WantedBy=multi-user.target
    +EOF
    +
    +
    +

    Give permissions to the codecarbon group to read the RAPL (Running Average Power Limit) information:

    +
    sudo chown -R root:codecarbon /sys/class/powercap/intel-rapl/*
    +sudo chmod g+r -R /sys/class/powercap/intel-rapl/*
    +
    +sudo apt install sysfsutils
    +echo "mode class/powercap/intel-rapl:0/energy_uj = 0440" >> /etc/sysfs.conf
    +echo "owner class/powercap/intel-rapl:0/energy_uj = root:codecarbon" >> /etc/sysfs.conf
    +
    +
    +

    Create the configuration file for CodeCarbon:

    +
    sudo tee /opt/codecarbon/.codecarbon.config <<EOF
    +[codecarbon]
    +api_endpoint = https://api.codecarbon.io
    +organization_id = <organization_id>
    +project_id = <project_id>
    +experiment_id = <experiment_id>
    +api_key = <api_key>
    +# Verbose logging
    +log_level=DEBUG
    +# Measure power every 30 seconds
    +measure_power_secs=30
    +# Send measure to API every 5 minutes (10*30 seconds)
    +api_call_interval=10
    +EOF
    +
    +
    +

    Enable and start the service:

    +
    sudo systemctl enable codecarbon
    +sudo systemctl start codecarbon
    +
    +
    +

    Check the traces of the service:

    +
    journalctl -u codecarbon
    +
    +
    +

    You are done, CodeCarbon is now running as a service on your machine.

    +

    Wait 5 minutes for the first measure to be send to the dashboard at https://dashboard.codecarbon.io/.

    +
    diff --git a/docs/methodology.html b/docs/methodology.html index 4a0076603..f92088859 100644 --- a/docs/methodology.html +++ b/docs/methodology.html @@ -6,14 +6,14 @@ - Methodology — CodeCarbon 2.8.2 documentation - + Methodology — CodeCarbon 2.8.3 documentation + - + @@ -212,7 +212,7 @@

    CPU
  • On Linux

  • -

    Tracks Intel and AMD processor energy consumption from Intel RAPL files at \sys\class\powercap\intel-rapl ( reference ). +

    Tracks Intel and AMD processor energy consumption from Intel RAPL files at /sys/class/powercap/intel-rapl ( reference ). All CPUs listed in this directory will be tracked. Help us improve this and make it configurable.

    Note: The Power Consumption will be tracked only if the RAPL files exist at the above-mentioned path

    diff --git a/docs/model_examples.html b/docs/model_examples.html index 9eebf06c3..8c8eeb49b 100644 --- a/docs/model_examples.html +++ b/docs/model_examples.html @@ -6,14 +6,14 @@ - Model Comparisons — CodeCarbon 2.8.2 documentation - + Model Comparisons — CodeCarbon 2.8.3 documentation + - + diff --git a/docs/motivation.html b/docs/motivation.html index 41b7cb774..9f8a13c16 100644 --- a/docs/motivation.html +++ b/docs/motivation.html @@ -6,14 +6,14 @@ - Motivation — CodeCarbon 2.8.2 documentation - + Motivation — CodeCarbon 2.8.3 documentation + - + diff --git a/docs/objects.inv b/docs/objects.inv index 0251f17b6..3ca2bac60 100644 Binary files a/docs/objects.inv and b/docs/objects.inv differ diff --git a/docs/output.html b/docs/output.html index 726147153..5c8b0aa33 100644 --- a/docs/output.html +++ b/docs/output.html @@ -6,14 +6,14 @@ - Output — CodeCarbon 2.8.2 documentation - + Output — CodeCarbon 2.8.3 documentation + - + diff --git a/docs/parameters.html b/docs/parameters.html index 2fd7a08d3..0db3aa540 100644 --- a/docs/parameters.html +++ b/docs/parameters.html @@ -6,14 +6,14 @@ - Parameters — CodeCarbon 2.8.2 documentation - + Parameters — CodeCarbon 2.8.3 documentation + - + diff --git a/docs/search.html b/docs/search.html index 8e021be6b..60355dff2 100644 --- a/docs/search.html +++ b/docs/search.html @@ -5,15 +5,15 @@ - Search — CodeCarbon 2.8.2 documentation - + Search — CodeCarbon 2.8.3 documentation + - + diff --git a/docs/searchindex.js b/docs/searchindex.js index d369dac4f..c536e868e 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"@track_emissions": [[22, "track-emissions"]], "Access internet through proxy server": [[24, "access-internet-through-proxy-server"]], "Authentication": [[23, "authentication"]], "CPU": [[18, "cpu"]], "CSV": [[21, "csv"]], "Carbon Intensity": [[18, "carbon-intensity"]], "Carbon Intensity Across Energy Sources": [[18, "id6"]], "Cloud Regions": [[25, "cloud-regions"]], "CodeCarbon": [[16, null]], "CodeCarbon API": [[12, null], [12, "id1"], [21, "codecarbon-api"]], "Collecting emissions to a logger": [[23, null]], "Comet Integration": [[13, null]], "Command line": [[24, "command-line"]], "Comparisons": [[19, "comparisons"]], "Configuration": [[24, "configuration"]], "Configuration priority": [[24, "configuration-priority"]], "Context manager": [[24, "context-manager"], [24, "id2"]], "Create a logger": [[23, "create-a-logger"]], "Create an EmissionTracker": [[23, "create-an-emissiontracker"]], "Data Fields Logged for Each Experiment": [[21, "id4"]], "Decorator": [[24, "decorator"], [24, "id3"]], "Dependencies": [[17, "dependencies"]], "Electricity consumption of AI cloud instance": [[19, "id1"]], "Electricity production carbon intensity per country": [[25, "electricity-production-carbon-intensity-per-country"]], "Example": [[23, "example"]], "Examples": [[14, null]], "Explicit Object": [[24, "explicit-object"], [24, "id1"]], "Frequently Asked Questions": [[15, null]], "From PyPi repository": [[17, "from-pypi-repository"]], "From conda repository": [[17, "from-conda-repository"]], "GPU": [[18, "gpu"]], "Getting Started": [[16, null]], "Google Cloud Logging": [[23, "google-cloud-logging"]], "HTTP Output": [[21, "http-output"]], "How CodeCarbon Works": [[18, "how-codecarbon-works"]], "How to test in local": [[21, "how-to-test-in-local"]], "How to use it": [[21, "how-to-use-it"]], "Impact of time of year and region": [[19, "impact-of-time-of-year-and-region"]], "Indices and tables": [[16, "indices-and-tables"]], "Input Parameters": [[22, "input-parameters"], [22, "id7"]], "Input Parameters to @track_emissions": [[22, "id10"]], "Input Parameters to OfflineEmissionsTracker": [[22, "id9"]], "Installing CodeCarbon": [[17, null]], "Introduction": [[16, null]], "Logfire": [[21, "logfire"]], "Logger Output": [[21, "logger-output"]], "Logging": [[16, null]], "Methodology": [[18, null]], "Model Comparisons": [[19, null]], "Motivation": [[20, null]], "Offline": [[25, "offline"]], "Offline Mode": [[24, "offline-mode"]], "Online (Beta)": [[25, "online-beta"]], "Online Mode": [[24, "online-mode"]], "Output": [[21, null]], "Output Parameters": [[22, "id8"]], "Output parameters": [[22, "output-parameters"]], "Parameters": [[22, null]], "Power Usage": [[18, "power-usage"]], "Prometheus": [[21, "prometheus"]], "Python logger": [[23, "python-logger"]], "Quickstart": [[24, null]], "RAM": [[18, "ram"]], "References": [[18, "references"], [19, "references"]], "Regional Comparisons": [[25, "regional-comparisons"]], "Specific parameters for offline mode": [[22, "specific-parameters-for-offline-mode"]], "Summary and Equivalents": [[25, "summary-and-equivalents"]], "The MIT License (MIT)": [[2, null], [8, null]], "Using CodeCarbon with logfire": [[21, "using-codecarbon-with-logfire"]], "Using CodeCarbon with prometheus": [[21, "using-codecarbon-with-prometheus"]], "Using the Context Manager": [[14, "using-the-context-manager"]], "Using the Decorator": [[14, "using-the-decorator"]], "Using the Explicit Object": [[14, "using-the-explicit-object"]], "Visualize": [[25, null]], "detailed": [[25, "detailed"]], "from global\u2026": [[25, "from-global"]], "to more and more\u2026": [[25, "to-more-and-more"]]}, "docnames": [".venv/lib/python3.10/site-packages/Jinja2-3.1.2.dist-info/LICENSE", ".venv/lib/python3.10/site-packages/MarkupSafe-2.1.2.dist-info/LICENSE", ".venv/lib/python3.10/site-packages/imagesize-1.4.1.dist-info/LICENSE", ".venv/lib/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/base", ".venv/lib/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/class", ".venv/lib/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/module", ".venv/lib64/python3.10/site-packages/Jinja2-3.1.2.dist-info/LICENSE", ".venv/lib64/python3.10/site-packages/MarkupSafe-2.1.2.dist-info/LICENSE", ".venv/lib64/python3.10/site-packages/imagesize-1.4.1.dist-info/LICENSE", ".venv/lib64/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/base", ".venv/lib64/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/class", ".venv/lib64/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/module", "api", "comet", "examples", "faq", "index", "installation", "methodology", "model_examples", "motivation", "output", "parameters", "to_logger", "usage", "visualize"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": [".venv/lib/python3.10/site-packages/Jinja2-3.1.2.dist-info/LICENSE.rst", ".venv/lib/python3.10/site-packages/MarkupSafe-2.1.2.dist-info/LICENSE.rst", ".venv/lib/python3.10/site-packages/imagesize-1.4.1.dist-info/LICENSE.rst", ".venv/lib/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst", ".venv/lib/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst", ".venv/lib/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst", ".venv/lib64/python3.10/site-packages/Jinja2-3.1.2.dist-info/LICENSE.rst", ".venv/lib64/python3.10/site-packages/MarkupSafe-2.1.2.dist-info/LICENSE.rst", ".venv/lib64/python3.10/site-packages/imagesize-1.4.1.dist-info/LICENSE.rst", ".venv/lib64/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst", ".venv/lib64/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst", ".venv/lib64/python3.10/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst", "api.rst", "comet.rst", "examples.rst", "faq.rst", "index.rst", "installation.rst", "methodology.rst", "model_examples.rst", "motivation.rst", "output.rst", "parameters.rst", "to_logger.rst", "usage.rst", "visualize.rst"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [13, 18, 20, 21, 22, 24, 25], "0": [14, 18, 19, 21, 24], "0000": 24, "02": 19, "03": 19, "04": 19, "1": [19, 21, 22, 24], "10": [14, 21, 24], "1065g7": 21, "1080": 21, "11": [19, 21], "121": 19, "123": 21, "128": 14, "13": 19, "14": 18, "15": [18, 22], "169": 19, "19": 19, "19044": 21, "192": 19, "2": [13, 14, 19, 21, 22], "2000": 18, "2007": [0, 6], "201": 19, "2010": [1, 7], "2016": [2, 8], "21": 19, "216": 19, "235b1da5": 24, "237": 19, "25": 18, "255": 14, "256": 19, "26": 18, "28": 14, "29": 18, "3": [13, 17, 18, 19, 21, 22, 24], "30": 12, "30ghz": 21, "32": 25, "3333": 25, "35": 18, "36": 19, "37": 19, "38": 18, "4": [12, 19, 24], "42": 22, "475": [15, 18], "48": 18, "5": 22, "50": 18, "59": 18, "6": 19, "6b": 19, "7": 19, "731": 18, "743": 18, "7777": 24, "8": [17, 18, 19, 21, 22], "8008": 24, "8050": 25, "812": 19, "816": 18, "893681599d2c": 24, "90": 19, "9090": 21, "93": 19, "995": 18, "A": [0, 1, 2, 6, 7, 8, 22, 23, 24, 25], "AND": [0, 1, 2, 6, 7, 8], "AS": [0, 1, 2, 6, 7, 8], "And": [12, 13], "As": [18, 20], "BE": [0, 1, 2, 6, 7, 8], "BUT": [0, 1, 2, 6, 7, 8], "BY": [0, 1, 6, 7], "But": [15, 18], "By": 21, "FOR": [0, 1, 2, 6, 7, 8], "For": [15, 17, 20, 21, 22, 24], "IF": [0, 1, 6, 7], "IN": [0, 1, 2, 6, 7, 8], "IT": 15, "If": [15, 18, 21, 22, 24, 25], "In": [12, 13, 18, 19, 20, 23, 24], "It": [12, 15, 18, 21, 23, 24], "NO": [0, 1, 2, 6, 7, 8], "NOT": [0, 1, 2, 6, 7, 8], "OF": [0, 1, 2, 6, 7, 8], "ON": [0, 1, 6, 7], "OR": [0, 1, 2, 6, 7, 8], "On": [18, 19], "One": 21, "Or": [12, 24], "SUCH": [0, 1, 6, 7], "THE": [0, 1, 2, 6, 7, 8], "TO": [0, 1, 2, 6, 7, 8], "The": [12, 17, 18, 19, 21, 22, 23, 24, 25], "Then": [12, 18], "There": 15, "To": [13, 17, 18], "WITH": [2, 8], "With": 20, "_": 24, "__main__": [12, 14], "__name__": [12, 14], "_channel": 23, "_logger": 23, "a100": 19, "aaaa": 24, "abl": [13, 21], "about": [15, 24], "abov": [0, 1, 2, 6, 7, 8, 17, 18], "absenc": 24, "access": 16, "account": [13, 18], "accur": [15, 18], "accuraci": 14, "achiev": 20, "across": [19, 20, 21, 25], "action": [2, 8], "activ": [14, 17, 25], "actual": 15, "adam": 14, "add": [13, 15, 18, 22, 23], "addhandl": 23, "addit": [22, 24], "administr": 18, "advanc": 20, "advis": [0, 1, 6, 7], "after": 23, "agenc": 19, "ai": 20, "alert": 21, "algorithm": 18, "all": [2, 8, 12, 15, 18, 21, 24, 25], "allow": [21, 22, 23, 24], "allow_multiple_run": 22, "along": [13, 17, 24], "alongsid": 13, "alphabet": [21, 24], "also": [20, 23, 24, 25], "although": 15, "amazon": 15, "amd": 18, "american": 25, "amount": [18, 20, 25], "an": [2, 8, 12, 13, 15, 18, 21, 24, 25], "analyz": 15, "ani": [0, 1, 2, 6, 7, 8, 15, 18, 24], "anoth": [19, 25], "anymor": 18, "api": [13, 16, 22, 24, 25], "api_call_interv": [12, 22, 24], "api_endpoint": 22, "api_kei": [13, 22], "app": 25, "appear": 21, "append": [18, 22], "appl": 18, "appli": 18, "approach": 20, "approxim": 18, "ar": [0, 1, 6, 7, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25], "argument": [22, 25], "aris": [0, 1, 2, 6, 7, 8], "arrow": 17, "art": 20, "artifact": [13, 22], "artifici": 20, "asia": 21, "ask": [16, 21], "associ": [2, 8, 18], "assum": 18, "attribut": 24, "auth": 21, "author": [2, 8], "automat": 13, "automaticli": 22, "avail": [14, 15, 18, 21, 22, 23, 24, 25], "averag": [15, 18, 19, 25], "aw": 21, "awar": [18, 24], "azur": [19, 21], "back": [13, 18], "bar": 25, "barchart": 25, "base": [18, 19, 21, 23, 24], "baseoutput": 21, "becaus": [15, 18, 24], "becom": 20, "befor": 12, "begin": 24, "being": [22, 25], "below": [19, 25], "benchmark": 25, "bert": 19, "bert_infer": 24, "best": 15, "beta": [16, 22], "better": 25, "between": [18, 22], "bin": 18, "binari": [0, 1, 6, 7], "biomass": 18, "black": 19, "block": [5, 11, 24], "blue": 19, "boolean": 22, "both": [18, 20, 24], "brazilsouth": 21, "broader": 20, "bubbl": 25, "build": [23, 24], "build_model": 24, "built": [21, 25], "busi": [0, 1, 6, 7], "c": [17, 18, 24], "calcul": [15, 18], "california": 22, "call": [18, 21, 22, 24], "can": [12, 13, 15, 18, 19, 20, 21, 23, 24, 25], "canada": 22, "car": 20, "carbon": [13, 15, 16, 19, 20, 24], "carbonboard": 25, "case": [15, 19, 21, 24, 25], "caus": [0, 1, 6, 7], "cell": 24, "center": 22, "central": [12, 23], "charg": [2, 8], "chart": 25, "chess": 20, "chip": 18, "choic": 15, "choos": [15, 22], "chose": 25, "citi": [21, 22], "claim": [2, 8], "class": [18, 21, 23], "cli": [17, 24, 25], "click": [13, 17, 25], "client": [17, 23], "cloud": [15, 18, 21, 22], "cloud_provid": [21, 22], "cloud_region": [21, 22], "co2": 24, "co2_signal_api_token": [22, 24], "co2sign": 22, "coal": 18, "code": [0, 1, 6, 7, 12, 13, 15, 21, 22, 24], "codecarbon": [13, 14, 15, 19, 22, 23, 24, 25], "codecarbon_": [21, 24], "codecarbon_gpu_id": 24, "codecarbon_log_level": 24, "collect": [16, 21], "collector": 23, "com": [15, 22], "combust": 20, "come": [24, 25], "comet": 16, "comet_ml": 13, "command": [17, 18, 25], "commun": 15, "compar": [13, 19, 25], "comparison": 16, "compil": 14, "complet": 24, "compos": [21, 24], "comput": [15, 18, 19, 20, 21, 24], "concern": 25, "conda": 16, "condit": [0, 1, 2, 6, 7, 8, 21], "config": [12, 24], "configpars": 24, "configur": [16, 18, 21], "connect": [2, 8, 23, 25], "consequ": 20, "consequenti": [0, 1, 6, 7], "consider": 19, "constant": 18, "consum": [18, 20, 25], "consumpt": [18, 22, 25], "consumption_percentage_const": 22, "contain": [18, 25], "context": 16, "contract": [0, 1, 2, 6, 7, 8], "contribut": 18, "contributor": [0, 1, 6, 7], "copi": [2, 8, 13], "copyright": [0, 1, 2, 6, 7, 8], "core": 21, "correspond": [18, 24], "could": [12, 18, 19, 22, 24], "count": 15, "countri": [15, 18, 21, 22, 24], "country_2letter_iso_cod": 22, "country_iso_cod": [21, 22, 24], "country_nam": 21, "cover": 15, "co\u2082": [18, 20, 21], "co\u2082eq": [18, 20, 21], "cpu": [21, 22], "cpu_count": 21, "cpu_energi": 21, "cpu_model": 21, "cpu_pow": 21, "cpuinfo": 17, "creat": [12, 13, 16, 17, 24], "critic": [22, 23], "csv": [16, 22, 24, 25], "ctrl": 24, "cuda_visible_devic": 22, "current": [18, 20, 21, 22, 24, 25], "curtail": 20, "custom": 21, "cycl": 15, "daili": 25, "damag": [0, 1, 2, 6, 7, 8], "dash": 25, "dashboard": 12, "data": [0, 1, 6, 7, 12, 13, 14, 15, 18, 20, 22, 23, 25], "databas": 21, "datacent": 15, "dataset": [13, 14, 24], "deal": [2, 8], "debug": [22, 23, 24], "decent": 18, "decor": [16, 22], "dedic": [22, 23], "deep": [14, 19], "def": [12, 14, 24], "default": [12, 13, 15, 18, 21, 22, 23, 24, 25], "default_cpu_pow": 22, "definit": 13, "demonstr": 23, "dens": [14, 19], "depend": [16, 20, 24], "deploi": [20, 21], "deriv": [0, 1, 6, 7, 21], "describ": 19, "descript": [21, 22], "design": 18, "detail": [13, 22, 24], "detect": 18, "develop": [19, 20, 21, 24], "devic": 21, "did": 15, "differ": [15, 18, 19, 20, 25], "digit": 14, "dioxid": [18, 20], "direct": [0, 1, 6, 7, 15], "directori": [18, 21, 22, 24], "disclaim": [0, 1, 6, 7], "disk": 24, "displai": [19, 21, 25], "distinct": 23, "distribut": [0, 1, 2, 6, 7, 8], "dive": 25, "divid": [21, 25], "do": [2, 8, 12, 15, 18, 24], "docker": [21, 24], "document": [0, 1, 2, 6, 7, 8, 23, 24], "doe": 15, "doesn": 18, "don": 18, "done": [15, 21], "drive": 20, "driven": 25, "dropout": 14, "dt": 21, "durat": 21, "dure": [18, 20], "e": [18, 21], "each": [18, 24, 25], "easier": 17, "easili": 13, "east": 21, "east1": 21, "eco": 25, "effect": 22, "effici": 20, "electr": [15, 18, 20, 22, 24], "els": 13, "emiss": [12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 24, 25], "emissions_endpoint": 24, "emissions_r": 21, "emissionstrack": [13, 14, 23, 24], "emissiontrack": 21, "emit": [18, 19, 20], "empir": 18, "enabl": [20, 24], "encapsul": 22, "end": [18, 22], "endblock": [5, 11], "endfor": [5, 11], "endif": [5, 11], "endors": [0, 1, 6, 7], "endpoint": [22, 24], "energi": [15, 19, 20, 21, 25], "energy_consum": 21, "enhanc": [18, 21], "enorm": 20, "entail": 20, "enter": 18, "enterpris": 15, "entir": 22, "entireti": 15, "entri": 24, "environ": [13, 17, 21, 24], "environment": [18, 19, 20], "epoch": 14, "eq": [15, 18], "equival": [18, 19, 20, 21], "eras": 22, "error": 22, "escap": [3, 4, 5, 9, 10, 11], "estim": [15, 18, 19, 20, 22], "etc": 23, "evalu": 21, "even": [0, 1, 6, 7, 15], "event": [0, 1, 2, 6, 7, 8], "ever": [18, 25], "everi": [13, 18, 22], "everyth": [13, 24], "exampl": [13, 16, 18, 20, 21, 22, 24, 25], "execut": 25, "exemplari": [0, 1, 6, 7, 25], "exist": [15, 18, 22, 24, 25], "experi": [12, 13, 20, 22, 24, 25], "experiment_id": [12, 22, 24], "explain": 13, "explicit": 16, "explor": 25, "export": 24, "expos": 21, "express": [0, 1, 2, 6, 7, 8, 18, 20, 21], "face": 20, "fact": 20, "factor": [15, 18, 22], "fall": 18, "fallback": 18, "fals": [22, 24], "fast": 18, "featur": 20, "fetch": 24, "fief": 17, "file": [2, 8, 12, 13, 18, 21, 22, 23, 24, 25], "filehandl": 23, "filepath": 25, "filter": 23, "final": 24, "find": [15, 18], "fintetun": 19, "first": [18, 19, 21, 23, 24], "fit": [0, 1, 2, 6, 7, 8, 14], "flatten": 14, "float": [14, 23], "flush": [22, 24], "fn": 22, "focu": 15, "folder": 24, "follow": [0, 1, 2, 6, 7, 8, 14, 15, 17, 18, 19, 21, 22, 24, 25], "footprint": [13, 15, 18, 20], "forbid": 23, "forg": 17, "form": [0, 1, 6, 7], "format": 21, "former": 22, "fossil": [18, 20], "found": [13, 18, 24], "fourth": 19, "framework": 24, "free": [2, 8, 13, 22], "frequent": [16, 18], "friendli": 25, "from": [0, 1, 2, 6, 7, 8, 12, 13, 14, 15, 16, 18, 19, 21, 22, 23, 24], "from_logit": 14, "fuel": [18, 20], "fullnam": [3, 4, 5, 9, 10, 11], "function": [15, 22, 24], "furnish": [2, 8], "g": [18, 21], "ga": 18, "gadget": 18, "galleri": 13, "game": 20, "gase": 20, "gb": 18, "gco2": [15, 18], "gcp": 21, "geforc": 21, "gener": [18, 20, 24, 25], "geograph": 21, "geotherm": 18, "get": [12, 13, 22, 24, 25], "getlogg": 23, "github": 14, "give": 18, "given": 21, "global": [15, 18, 20, 22, 24], "global_energy_mix": 22, "globalpetrolpric": 15, "go": [13, 20, 21], "goe": [12, 24], "gold": 15, "good": [0, 1, 6, 7, 15, 18, 21], "googl": [15, 22], "google_project_nam": 23, "googlecloudloggeroutput": 23, "gpu": [12, 19, 21, 22, 24], "gpu_count": 21, "gpu_energi": 21, "gpu_id": [22, 24], "gpu_model": 21, "gpu_pow": 21, "grant": [2, 8], "graph": [13, 19], "great": 19, "greater": 15, "green": 22, "greenhous": 20, "grid": [18, 20, 25], "grow": 20, "gtx": 21, "h": [19, 21], "ha": [15, 18, 19, 20, 21, 24, 25], "habit": 15, "hand": 25, "handler": [22, 23], "happen": 25, "hard": 15, "hardwar": [18, 22], "have": [12, 13, 15, 18, 19, 20, 21, 22, 24], "header": 24, "help": [15, 18, 22], "here": [12, 15, 17, 18, 19, 23, 24], "herebi": [2, 8], "hesit": 18, "hi": 22, "hierarch": 24, "histor": 21, "holder": [0, 1, 2, 6, 7, 8], "home": 24, "hood": 24, "host": [17, 21, 22, 24, 25], "hour": [18, 19, 20], "household": 25, "how": [15, 24], "howev": [0, 1, 6, 7, 18, 24], "http": [16, 22, 24], "http_proxi": 24, "https_proxi": 24, "huge": 19, "human": 20, "hydroelectr": 18, "hyperparamet": 13, "i": [0, 1, 2, 6, 7, 8, 15, 17, 18, 20, 21, 22, 23, 24, 25], "i7": 21, "id": [12, 21, 22], "idea": 18, "iea": 15, "illustr": 25, "imag": [14, 20], "imdb": 24, "imdb_emiss": 24, "impact": [16, 20, 22], "implement": [21, 24], "impli": [0, 1, 2, 6, 7, 8], "import": [12, 14, 20, 23, 24], "improv": [15, 18], "inch": 25, "incident": [0, 1, 6, 7], "includ": [0, 1, 2, 6, 7, 8, 18, 22], "incred": 20, "index": 16, "indic": 22, "indirect": [0, 1, 6, 7], "industri": 20, "infer": 24, "info": [22, 23], "inform": [15, 24, 25], "infra": 15, "infrastructur": [15, 18, 21, 22, 24, 25], "ini": 24, "init": 12, "initi": [15, 24], "input": [16, 21], "input_shap": 14, "instal": [13, 16, 18], "instanc": [22, 24], "instanti": [18, 24], "instruct": 17, "integr": 16, "intel": [18, 21], "intellig": 20, "intens": [12, 15, 16, 19, 22, 24], "interfac": [12, 21], "interfer": 24, "intern": 24, "internet": 16, "interrupt": [0, 1, 6, 7], "interv": [18, 21, 22], "io": 22, "iso": [21, 22, 24], "isol": 22, "issu": [15, 18], "item": [5, 11], "its": [0, 1, 6, 7, 15, 18, 19, 21, 23, 25], "itself": [17, 18], "job": 13, "json": 22, "jupyt": 24, "just": 24, "keep": [15, 24], "kei": [13, 22], "kera": 14, "kg": [18, 21], "kgco\u2082": 18, "kilogram": [18, 20], "kilowatt": [18, 20], "kind": [2, 8], "km": 21, "km\u00b2": 21, "know": 18, "knowledg": 18, "known": [18, 22], "kwh": [15, 18, 19, 21], "lack": 23, "languag": 19, "larg": [19, 20], "last": [18, 24], "latest": 17, "latitud": 21, "layer": 14, "lcd": 25, "learn": [14, 19, 20], "left": [13, 25], "let": 15, "letter": [21, 22, 24], "level": [20, 22, 23, 25], "leverag": [20, 23], "liabil": [0, 1, 2, 6, 7, 8], "liabl": [0, 1, 2, 6, 7, 8], "librari": [18, 24], "life": [15, 25], "light": [18, 19], "like": [20, 24], "limit": [0, 1, 2, 6, 7, 8], "line": [18, 19], "link": 13, "linux": 18, "list": [0, 1, 6, 7, 17, 18, 22, 24], "ll": 13, "load": 24, "load_data": 14, "load_dataset": 24, "local": [15, 18, 23, 24], "localhost": [21, 24], "localis": 19, "locat": [19, 22], "log": [19, 22, 25], "log_level": [22, 24], "log_nam": 23, "logfir": [16, 22], "logger": [16, 22, 25], "logger_preambl": 22, "loggeroutput": [22, 23], "logging_demo": 23, "logging_logg": [22, 23], "longitud": 21, "loss": [0, 1, 6, 7, 14], "loss_fn": 14, "low": [18, 22], "m": 21, "m1": 18, "m2": 18, "mac": 18, "machin": [12, 20, 21, 22], "made": 15, "mai": [0, 1, 6, 7, 23], "main": 18, "major": 21, "make": [13, 15, 18], "manag": [16, 17], "mandatori": 22, "mani": 15, "manner": 24, "manual": [22, 24], "map": [18, 22], "materi": [0, 1, 6, 7], "matter": 20, "measur": [18, 19, 20, 22, 24], "measure_power_sec": [12, 18, 22, 24], "memori": 18, "mention": 18, "merchant": [0, 1, 2, 6, 7, 8], "merg": [2, 8], "messag": [22, 23], "met": [0, 1, 6, 7], "metadata": 25, "method": 18, "methodologi": 16, "metric": [13, 14, 21], "microsoft": [15, 19], "might": 19, "mile": 25, "mind": 15, "minim": 24, "miss": [15, 18], "mix": [15, 18, 25], "mixtur": 18, "ml": 13, "mnist": [13, 14], "mode": [12, 16, 18, 21], "model": [14, 16, 20, 24], "model_emiss": 24, "modif": [0, 1, 6, 7], "modifi": [2, 8, 18, 24], "modul": [5, 11, 16], "monitor": [12, 21, 24], "month": 20, "monthli": 15, "more": [12, 13, 18, 20, 24], "most": [19, 25], "motiv": 16, "much": 15, "multipl": 22, "multipli": 15, "must": [0, 1, 6, 7, 24], "mwh": 18, "my": 15, "my_logg": 23, "n": 21, "name": [0, 1, 6, 7, 17, 21, 22, 23, 24], "nativ": 18, "natur": 18, "nb": 19, "nearbi": 18, "need": [12, 13, 18, 21, 23, 24, 25], "neglig": [0, 1, 6, 7], "neither": [0, 1, 6, 7, 15, 18], "net": [18, 25], "network": 23, "new": 22, "nice": 12, "nlp": 19, "none": [18, 22], "noninfring": [2, 8], "nopasswd": 18, "nor": [0, 1, 6, 7, 18], "normal": 24, "notabl": 15, "note": [18, 24, 25], "notebook": 24, "noth": 21, "notic": [0, 1, 2, 6, 7, 8], "now": [13, 18, 25], "nuclear": 18, "number": [21, 22, 25], "nvidia": [18, 21], "o": [21, 24], "object": [13, 16, 20, 22], "observ": 21, "obtain": [2, 8], "offici": 17, "offlin": 16, "offlineemissionstrack": [21, 24], "offlineemissiontrack": 23, "offset": 15, "often": 15, "old": 22, "on_cloud": 21, "on_csv_writ": 22, "onc": [13, 21], "one": [12, 15, 21, 22, 23, 25], "onli": [15, 18, 22], "onlin": 16, "open": [15, 18], "openapi": 12, "optim": 14, "option": [12, 15, 18, 22, 23, 24, 25], "order": [20, 22, 23], "organ": 12, "organis": 25, "other": [0, 1, 2, 6, 7, 8, 14, 15, 18, 20, 23], "otherwis": [0, 1, 2, 6, 7, 8, 23], "our": [15, 18], "ourworld": 15, "out": [0, 1, 2, 6, 7, 8, 15], "output": [16, 23], "output_dir": [21, 22, 24], "output_fil": 22, "output_handl": 22, "overhead": [18, 24], "overrid": [22, 24], "overwrit": 24, "own": [12, 19], "p40": 19, "packag": [13, 15, 17, 18, 20, 21, 23, 25], "page": [13, 16], "pallet": [0, 1, 6, 7], "panda": 17, "panel": 13, "parallel": 23, "param": 24, "paramet": [16, 18, 21, 24], "part": [18, 20], "particular": [0, 1, 2, 6, 7, 8, 25], "pass": [18, 24], "password": 18, "path": [18, 22, 25], "pattern": 20, "per": [18, 20, 21, 22], "perform": 20, "permiss": [0, 1, 2, 6, 7, 8], "permit": [0, 1, 2, 6, 7, 8], "person": [2, 8, 13], "petroleum": 18, "piec": 24, "pip": [13, 17], "place": 21, "placehold": 13, "plai": [15, 20], "platform": [15, 21], "pleas": [15, 17, 18, 23, 24], "point": [19, 24, 25], "polici": 19, "popular": 19, "port": 25, "portion": [2, 8], "possibl": [0, 1, 6, 7, 18], "potenti": 20, "power": [13, 16, 20, 21, 22, 23, 25], "power_const": 22, "powercap": 18, "powermetr": 18, "precis": 21, "present": 19, "pretrain": 19, "prevent": 24, "preview": 25, "previou": 18, "price": 15, "print": 14, "prior": [0, 1, 6, 7], "prioriti": [15, 16], "privaci": 21, "privat": [15, 21, 23, 24], "process": [20, 21, 22, 23, 24, 25], "processor": [18, 20], "procur": [0, 1, 6, 7], "produc": [15, 20, 25], "product": [0, 1, 6, 7, 18], "profit": [0, 1, 6, 7], "program": 20, "project": [12, 14, 15, 21, 22, 23, 25], "project_nam": [14, 21, 22, 24], "prometheu": [16, 22], "prometheus_cli": 17, "prometheus_password": 21, "prometheus_url": 22, "prometheus_usernam": 21, "promot": [0, 1, 6, 7], "prompt": 24, "propos": 18, "protect": [19, 21], "provid": [0, 1, 2, 6, 7, 8, 13, 18, 21, 22, 23, 24, 25], "provinc": [21, 22], "proxi": 16, "psutil": 17, "public": [12, 13, 15, 24, 25], "publish": [2, 8, 15], "pue": 22, "purpos": [0, 1, 2, 6, 7, 8, 20], "push": 21, "pushgatewai": 21, "py": [13, 17, 21, 23], "pynvml": [17, 18], "pypi": 16, "pyproject": 17, "python": [17, 24], "python_vers": 21, "quantifi": [15, 18], "quartil": 19, "question": 16, "questionari": 17, "quickstart": 16, "r": 21, "ram": 21, "ram_energi": 21, "ram_pow": 21, "ram_total_s": 21, "rang": 21, "rapidfuzz": 17, "rapl": 18, "ratio": 18, "re": 24, "read": 24, "reason": 20, "recent": 20, "recogn": [14, 15, 20], "recommend": [15, 17, 24, 25], "record": 24, "recur": 15, "redistribut": [0, 1, 6, 7], "reduc": [15, 21], "refer": [16, 17, 23, 24], "region": [15, 16, 21, 22, 24], "relationship": 18, "releas": 15, "relev": 19, "reli": 24, "relu": 14, "remain": 24, "remark": 20, "render": 13, "renew": 18, "replac": 13, "repo": 15, "report": [18, 23], "repositori": [14, 16], "repres": 19, "reproduc": [0, 1, 6, 7, 13], "request": [17, 24], "requir": [21, 22, 24], "research": [13, 15], "resourc": 18, "respect": [21, 24], "restrict": [2, 8, 24], "result": [19, 21, 24], "retain": [0, 1, 6, 7], "return": [14, 24], "rich": 17, "right": [2, 8, 18, 19, 25], "room": 18, "root": 18, "row": 22, "rubric": [5, 11], "rule": 21, "run": [12, 13, 15, 17, 21, 22, 24, 25], "run_id": 22, "runtim": 25, "same": [22, 24], "sampl": 13, "satisfi": 18, "save": [12, 13, 22, 23, 24], "save_to_api": [12, 22, 24], "save_to_fil": [22, 24], "save_to_logfir": [21, 22], "save_to_logg": [22, 23], "save_to_prometheu": [21, 22], "scale": 19, "schedul": [18, 24], "scheme": 15, "scientist": 13, "script": 24, "sdk": 23, "search": [13, 16, 21], "second": [18, 21, 22], "section": 24, "sector": 20, "see": [13, 18, 21, 22, 23, 24, 25], "self": 21, "sell": [2, 8], "send": [21, 22, 23, 24], "sent": [21, 25], "sequenti": 14, "seri": 25, "server": [12, 16, 21, 22], "servic": [0, 1, 6, 7, 21], "set": [12, 13, 21, 22, 23, 24], "setlevel": 23, "sever": 25, "shall": [0, 1, 2, 6, 7, 8], "share": 25, "shell": 24, "shibukawa": [2, 8], "shot": 15, "should": [15, 18, 22], "show": [18, 19, 25], "shown": 25, "side": [19, 25], "sidebar": 13, "sign": 22, "signific": [18, 20], "silicon": 18, "singl": [15, 24], "small": [18, 19, 24], "so": [2, 8, 12, 15, 18, 21, 22, 24], "softwar": [0, 1, 2, 6, 7, 8], "solar": 18, "solut": 18, "some": [18, 23, 24], "soon": 24, "sophist": 20, "sourc": [0, 1, 6, 7, 15, 19], "sp0": 21, "sparsecategoricalcrossentropi": 14, "special": [0, 1, 6, 7], "specif": [0, 1, 6, 7, 16, 18, 20, 23, 24], "specifi": [12, 21, 22, 23], "split": 24, "standard": [15, 20, 22], "start": [13, 14, 18, 21, 23, 24], "start_task": 24, "state": [20, 21, 22], "statist": 18, "stdout": 13, "still": [18, 23], "stop": [14, 18, 21, 23, 24], "stop_task": 24, "stream": 23, "strict": [0, 1, 6, 7], "string": 22, "structur": 24, "studi": 19, "subclass": 23, "subject": [2, 8], "sublicens": [2, 8], "subscript": 15, "substanti": [2, 8], "substitut": [0, 1, 6, 7], "success": 15, "sudo": 18, "sudoer": 18, "suffix": 21, "sum": 21, "suppli": 18, "support": [18, 22, 23, 24], "sure": 13, "sustain": 15, "switch": [18, 25], "sy": 18, "syntax": 24, "system": [13, 21, 23], "systemat": 22, "t": [18, 24], "tab": 13, "tabl": [18, 19], "taken": 13, "target": 21, "task": [20, 24], "tdp": 18, "team": 12, "tell": 12, "tensorflow": 14, "termin": 17, "test": [18, 24], "tf": 14, "than": 23, "them": 15, "theori": [0, 1, 6, 7], "therefor": 15, "thermal": 18, "thi": [0, 1, 2, 6, 7, 8, 12, 15, 18, 19, 20, 21, 22, 23, 24, 25], "those": 25, "through": 16, "thu": 20, "ti": 21, "time": [13, 16, 18, 21, 24, 25], "timeseri": 12, "timestamp": 21, "tini": 19, "tm": 21, "token": [22, 24], "toml": 17, "tool": [13, 18, 19, 24], "toolkit": 18, "top": 25, "tort": [0, 1, 2, 6, 7, 8], "total": [21, 25], "track": [13, 18, 20, 21, 22, 23, 24], "track_emiss": [12, 14, 16, 24], "tracker": [14, 18, 21, 22, 23, 24], "tracking_mod": [21, 22, 24], "train": [12, 13, 14, 19, 20, 24], "train_model": [12, 14], "training_loop": 24, "transf": 19, "trigger": [21, 23], "true": [12, 14, 21, 22, 23, 24], "try": [15, 18, 22, 24], "tv": 25, "two": [12, 18, 24], "typer": 17, "typic": 23, "u": [18, 19, 21, 22], "ubiquit": 20, "ui": 13, "unchang": 24, "under": 24, "underli": [18, 20], "underlin": [3, 4, 5, 9, 10, 11], "understand": 25, "unfortun": 15, "up": [21, 22, 24], "updat": 22, "upload": 12, "url": 22, "us": [0, 1, 2, 6, 7, 8, 12, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25], "usa": 21, "usabl": [18, 23], "usag": [16, 22], "user": [18, 22, 24, 25], "usernam": 18, "usr": 18, "usual": 21, "uuid": 24, "v100": 19, "valid": 23, "valu": [18, 21, 22, 24], "variabl": [22, 24], "variou": [20, 23, 25], "vast": 20, "ve": 13, "verbos": 22, "version": [21, 24], "via": [15, 20], "victor": 24, "view": [13, 15], "virtual": 17, "vision": 19, "visual": [13, 16], "visudo": 18, "vit": 19, "voil\u00e0": 13, "w": 21, "wai": [0, 1, 6, 7, 24], "want": [18, 22, 24], "warm": 20, "warn": [22, 24], "warranti": [0, 1, 2, 6, 7, 8], "watch": 25, "watt": [18, 22], "we": [15, 17, 18, 20, 24], "web": [12, 24], "webhook": 21, "websit": [13, 17], "week": 20, "weekli": 25, "weight": 18, "welcom": 18, "well": 15, "what": 15, "when": [13, 15, 18, 21, 22, 24], "where": [21, 22, 24], "whether": [0, 1, 2, 6, 7, 8], "which": [18, 20, 22, 24], "who": 25, "whom": [2, 8], "wikipedia": 24, "wind": 18, "window": [18, 21], "within": 24, "without": [0, 1, 2, 6, 7, 8, 18, 24], "wonder": 24, "work": [15, 20, 24], "world": [15, 18], "would": [19, 20], "wrap": 24, "wren": 15, "write": 24, "written": [0, 1, 6, 7, 22, 24], "x": [21, 22], "x_test": 14, "x_train": 14, "y": 21, "y_test": 14, "y_train": 14, "year": [16, 18, 20], "yet": 24, "yield": 24, "york": 22, "yoshiki": [2, 8], "you": [12, 13, 15, 18, 21, 22, 24, 25], "your": [12, 13, 15, 17, 18, 21, 22, 24, 25], "yourself": 18, "zone": 22}, "titles": ["<no title>", "<no title>", "The MIT License (MIT)", "<no title>", "<no title>", "<no title>", "<no title>", "<no title>", "The MIT License (MIT)", "<no title>", "<no title>", "<no title>", "CodeCarbon API", "Comet Integration", "Examples", "Frequently Asked Questions", "CodeCarbon", "Installing CodeCarbon", "Methodology", "Model Comparisons", "Motivation", "Output", "Parameters", "Collecting emissions to a logger", "Quickstart", "Visualize"], "titleterms": {"The": [2, 8], "access": 24, "across": 18, "ai": 19, "an": 23, "api": [12, 21], "ask": 15, "authent": 23, "beta": 25, "carbon": [18, 25], "cloud": [19, 23, 25], "codecarbon": [12, 16, 17, 18, 21], "collect": 23, "comet": 13, "command": 24, "comparison": [19, 25], "conda": 17, "configur": 24, "consumpt": 19, "context": [14, 24], "countri": 25, "cpu": 18, "creat": 23, "csv": 21, "data": 21, "decor": [14, 24], "depend": 17, "detail": 25, "each": 21, "electr": [19, 25], "emiss": 23, "emissiontrack": 23, "energi": 18, "equival": 25, "exampl": [14, 23], "experi": 21, "explicit": [14, 24], "field": 21, "frequent": 15, "from": [17, 25], "get": 16, "global": 25, "googl": 23, "gpu": 18, "how": [18, 21], "http": 21, "impact": 19, "indic": 16, "input": 22, "instal": 17, "instanc": 19, "integr": 13, "intens": [18, 25], "internet": 24, "introduct": 16, "licens": [2, 8], "line": 24, "local": 21, "log": [16, 21, 23], "logfir": 21, "logger": [21, 23], "manag": [14, 24], "methodologi": 18, "mit": [2, 8], "mode": [22, 24], "model": 19, "more": 25, "motiv": 20, "object": [14, 24], "offlin": [22, 24, 25], "offlineemissionstrack": 22, "onlin": [24, 25], "output": [21, 22], "paramet": 22, "per": 25, "power": 18, "prioriti": 24, "product": 25, "prometheu": 21, "proxi": 24, "pypi": 17, "python": 23, "question": 15, "quickstart": 24, "ram": 18, "refer": [18, 19], "region": [19, 25], "repositori": 17, "server": 24, "sourc": 18, "specif": 22, "start": 16, "summari": 25, "tabl": 16, "test": 21, "through": 24, "time": 19, "track_emiss": 22, "us": [14, 21], "usag": 18, "visual": 25, "work": 18, "year": 19}}) \ No newline at end of file +Search.setIndex({"alltitles": {"@track_emissions": [[10, "track-emissions"]], "Access internet through proxy server": [[12, "access-internet-through-proxy-server"]], "Authentication": [[11, "authentication"]], "CPU": [[6, "cpu"]], "CSV": [[9, "csv"]], "Carbon Intensity": [[6, "carbon-intensity"]], "Carbon Intensity Across Energy Sources": [[6, "id6"]], "Cloud Regions": [[13, "cloud-regions"]], "CodeCarbon": [[4, null]], "CodeCarbon API": [[0, null], [0, "id1"], [9, "codecarbon-api"]], "Collecting emissions to a logger": [[11, null]], "Comet Integration": [[1, null]], "Command line": [[12, "command-line"]], "Comparisons": [[7, "comparisons"]], "Configuration": [[12, "configuration"]], "Configuration priority": [[12, "configuration-priority"]], "Context manager": [[12, "context-manager"], [12, "id2"]], "Create a logger": [[11, "create-a-logger"]], "Create an EmissionTracker": [[11, "create-an-emissiontracker"]], "Data Fields Logged for Each Experiment": [[9, "id4"]], "Decorator": [[12, "decorator"], [12, "id3"]], "Dependencies": [[5, "dependencies"]], "Electricity consumption of AI cloud instance": [[7, "id1"]], "Electricity production carbon intensity per country": [[13, "electricity-production-carbon-intensity-per-country"]], "Example": [[11, "example"]], "Examples": [[2, null]], "Explicit Object": [[12, "explicit-object"], [12, "id1"]], "Frequently Asked Questions": [[3, null]], "From PyPi repository": [[5, "from-pypi-repository"]], "From conda repository": [[5, "from-conda-repository"]], "GPU": [[6, "gpu"]], "Getting Started": [[4, null]], "Google Cloud Logging": [[11, "google-cloud-logging"]], "HTTP Output": [[9, "http-output"]], "How CodeCarbon Works": [[6, "how-codecarbon-works"]], "How to test in local": [[9, "how-to-test-in-local"]], "How to use it": [[9, "how-to-use-it"]], "Impact of time of year and region": [[7, "impact-of-time-of-year-and-region"]], "Indices and tables": [[4, "indices-and-tables"]], "Input Parameters": [[10, "input-parameters"], [10, "id7"]], "Input Parameters to @track_emissions": [[10, "id10"]], "Input Parameters to OfflineEmissionsTracker": [[10, "id9"]], "Install CodeCarbon as a Linux service": [[5, "install-codecarbon-as-a-linux-service"]], "Installing CodeCarbon": [[5, null]], "Introduction": [[4, null]], "Logfire": [[9, "logfire"]], "Logger Output": [[9, "logger-output"]], "Logging": [[4, null]], "Methodology": [[6, null]], "Model Comparisons": [[7, null]], "Motivation": [[8, null]], "Offline": [[13, "offline"]], "Offline Mode": [[12, "offline-mode"]], "Online (Beta)": [[13, "online-beta"]], "Online Mode": [[12, "online-mode"]], "Output": [[9, null]], "Output Parameters": [[10, "id8"]], "Output parameters": [[10, "output-parameters"]], "Parameters": [[10, null]], "Power Usage": [[6, "power-usage"]], "Prometheus": [[9, "prometheus"]], "Python logger": [[11, "python-logger"]], "Quickstart": [[12, null]], "RAM": [[6, "ram"]], "References": [[6, "references"], [7, "references"]], "Regional Comparisons": [[13, "regional-comparisons"]], "Specific parameters for offline mode": [[10, "specific-parameters-for-offline-mode"]], "Summary and Equivalents": [[13, "summary-and-equivalents"]], "Using CodeCarbon with logfire": [[9, "using-codecarbon-with-logfire"]], "Using CodeCarbon with prometheus": [[9, "using-codecarbon-with-prometheus"]], "Using the Context Manager": [[2, "using-the-context-manager"]], "Using the Decorator": [[2, "using-the-decorator"]], "Using the Explicit Object": [[2, "using-the-explicit-object"]], "Visualize": [[13, null]], "detailed": [[13, "detailed"]], "from global\u2026": [[13, "from-global"]], "to more and more\u2026": [[13, "to-more-and-more"]]}, "docnames": ["api", "comet", "examples", "faq", "index", "installation", "methodology", "model_examples", "motivation", "output", "parameters", "to_logger", "usage", "visualize"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["api.rst", "comet.rst", "examples.rst", "faq.rst", "index.rst", "installation.rst", "methodology.rst", "model_examples.rst", "motivation.rst", "output.rst", "parameters.rst", "to_logger.rst", "usage.rst", "visualize.rst"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [1, 5, 6, 8, 9, 10, 12, 13], "0": [2, 5, 6, 7, 9, 12], "0000": 12, "02": 7, "03": 7, "04": 7, "0440": 5, "1": [7, 9, 10, 12], "10": [2, 5, 9, 12], "1065g7": 9, "1080": 9, "11": [7, 9], "121": 7, "123": 9, "128": 2, "13": 7, "14": 6, "15": [6, 10], "169": 7, "19": 7, "19044": 9, "192": 7, "2": [1, 2, 7, 9, 10], "2000": 6, "201": 7, "21": 7, "216": 7, "235b1da5": 12, "237": 7, "25": 6, "255": 2, "256": 7, "26": 6, "28": 2, "29": 6, "3": [1, 5, 6, 7, 9, 10, 12], "30": [0, 5], "30ghz": 9, "32": 13, "3333": 13, "35": 6, "36": 7, "37": 7, "38": 6, "4": [0, 7, 12], "42": 10, "475": [3, 6], "48": 6, "5": [5, 10], "50": 6, "59": 6, "6": 7, "6b": 7, "7": 7, "731": 6, "743": 6, "7777": 12, "8": [5, 6, 7, 9, 10], "8008": 12, "8050": 13, "812": 7, "816": 6, "893681599d2c": 12, "90": 7, "9090": 9, "93": 7, "995": 6, "A": [10, 11, 12, 13], "And": [0, 1], "As": [6, 8], "But": [3, 6], "By": 9, "For": [3, 5, 8, 9, 10, 12], "IT": 3, "If": [3, 6, 9, 10, 12, 13], "In": [0, 1, 6, 7, 8, 11, 12], "It": [0, 3, 5, 6, 9, 11, 12], "On": [6, 7], "One": 9, "Or": [0, 12], "The": [0, 5, 6, 7, 9, 10, 11, 12, 13], "Then": [0, 6], "There": 3, "To": [1, 5, 6], "With": 8, "_": 12, "__main__": [0, 2], "__name__": [0, 2], "_channel": 11, "_logger": 11, "a100": 7, "aaaa": 12, "abl": [1, 9], "about": [3, 12], "abov": [5, 6], "absenc": 12, "access": 4, "account": [1, 5, 6], "accur": [3, 6], "accuraci": 2, "achiev": 8, "across": [7, 8, 9, 13], "activ": [2, 5, 13], "actual": 3, "adam": 2, "add": [1, 3, 6, 10, 11], "addhandl": 11, "addit": [10, 12], "administr": 6, "advanc": 8, "after": [5, 11], "agenc": 7, "ai": 8, "alert": 9, "algorithm": 6, "all": [0, 3, 6, 9, 12, 13], "allow": [9, 10, 11, 12], "allow_multiple_run": 10, "along": [1, 5, 12], "alongsid": 1, "alphabet": [9, 12], "also": [8, 11, 12, 13], "although": 3, "alwai": 5, "amazon": 3, "amd": 6, "american": 13, "amount": [6, 8, 13], "an": [0, 1, 3, 5, 6, 9, 12, 13], "analyz": 3, "ani": [3, 6, 12], "anoth": [7, 13], "anymor": 6, "api": [1, 4, 5, 10, 12, 13], "api_call_interv": [0, 5, 10, 12], "api_endpoint": [5, 10], "api_kei": [1, 5, 10], "app": 13, "appear": 9, "append": [6, 10], "appl": 6, "appli": 6, "approach": 8, "approxim": 6, "apt": 5, "ar": [2, 3, 5, 6, 7, 8, 9, 10, 11, 13], "argument": [10, 13], "arrow": 5, "art": 8, "artifact": [1, 10], "artifici": 8, "asia": 9, "ask": [4, 9], "associ": 6, "assum": 6, "attribut": 12, "auth": 9, "automat": 1, "automaticli": 10, "avail": [2, 3, 6, 9, 10, 11, 12, 13], "averag": [3, 5, 6, 7, 13], "aw": 9, "awar": [6, 12], "azur": [7, 9], "back": [1, 6], "bar": 13, "barchart": 13, "base": [5, 6, 7, 9, 11, 12], "baseoutput": 9, "becaus": [3, 6, 12], "becom": 8, "befor": 0, "begin": 12, "being": [10, 13], "below": [5, 7, 13], "benchmark": 13, "bert": 7, "bert_infer": 12, "best": 3, "beta": [4, 10], "better": 13, "between": [6, 10], "bin": [5, 6], "biomass": 6, "black": 7, "block": 12, "blue": 7, "boolean": 10, "both": [6, 8, 12], "brazilsouth": 9, "broader": 8, "bubbl": 13, "build": [11, 12], "build_model": 12, "built": [9, 13], "c": [5, 6, 12], "calcul": [3, 6], "california": 10, "call": [6, 9, 10, 12], "can": [0, 1, 3, 6, 7, 8, 9, 11, 12, 13], "canada": 10, "car": 8, "carbon": [1, 3, 4, 7, 8, 12], "carbonboard": 13, "case": [3, 7, 9, 12, 13], "cell": 12, "center": 10, "central": [0, 11], "chang": 5, "chart": 13, "check": 5, "chess": 8, "chip": 6, "chmod": 5, "choic": 3, "choos": [3, 10], "chose": 13, "chown": 5, "citi": [9, 10], "class": [5, 6, 9, 11], "cli": [5, 12, 13], "click": [1, 5, 13], "client": [5, 11], "cloud": [3, 6, 9, 10], "cloud_provid": [9, 10], "cloud_region": [9, 10], "co2": 12, "co2_signal_api_token": [10, 12], "co2sign": 10, "coal": 6, "code": [0, 1, 3, 9, 10, 12], "codecarbon": [1, 2, 3, 7, 10, 11, 12, 13], "codecarbon_": [9, 12], "codecarbon_gpu_id": 12, "codecarbon_log_level": 12, "collect": [4, 9], "collector": 11, "com": [3, 10], "combust": 8, "come": [12, 13], "comet": 4, "comet_ml": 1, "command": [5, 6, 13], "commun": 3, "compar": [1, 7, 13], "comparison": 4, "compil": 2, "complet": 12, "compos": [9, 12], "comput": [3, 6, 7, 8, 9, 12], "concern": 13, "conda": 4, "condit": 9, "conf": 5, "config": [0, 5, 12], "configpars": 12, "configur": [4, 5, 6, 9], "connect": [11, 13], "consequ": 8, "consider": 7, "constant": 6, "consum": [6, 8, 13], "consumpt": [6, 10, 13], "consumption_percentage_const": 10, "contain": [6, 13], "context": 4, "contribut": 6, "copi": 1, "core": 9, "correspond": [6, 12], "could": [0, 6, 7, 10, 12], "count": 3, "countri": [3, 6, 9, 10, 12], "country_2letter_iso_cod": 10, "country_iso_cod": [9, 10, 12], "country_nam": 9, "cover": 3, "co\u2082": [6, 8, 9], "co\u2082eq": [6, 8, 9], "cpu": [9, 10], "cpu_count": 9, "cpu_energi": 9, "cpu_model": 9, "cpu_pow": 9, "cpuinfo": 5, "creat": [0, 1, 4, 5, 12], "critic": [10, 11], "csv": [4, 10, 12, 13], "ctrl": 12, "cuda_visible_devic": 10, "current": [6, 8, 9, 10, 12, 13], "curtail": 8, "custom": 9, "cycl": 3, "daili": 13, "dash": 13, "dashboard": [0, 5], "data": [0, 1, 2, 3, 6, 8, 10, 11, 13], "databas": 9, "datacent": 3, "dataset": [1, 2, 12], "debian": 5, "debug": [5, 10, 11, 12], "decent": 6, "decor": [4, 10], "dedic": [5, 10, 11], "deep": [2, 7], "def": [0, 2, 12], "default": [0, 1, 3, 6, 9, 10, 11, 12, 13], "default_cpu_pow": 10, "definit": 1, "demonstr": 11, "dens": [2, 7], "depend": [4, 8, 12], "deploi": [8, 9], "deriv": 9, "describ": 7, "descript": [5, 9, 10], "design": 6, "detail": [1, 10, 12], "detect": 6, "develop": [7, 8, 9, 12], "devic": 9, "did": 3, "differ": [3, 6, 7, 8, 13], "digit": 2, "dioxid": [6, 8], "direct": 3, "directori": [5, 6, 9, 10, 12], "disk": 12, "displai": [7, 9, 13], "distinct": 11, "dive": 13, "divid": [9, 13], "do": [0, 3, 6, 12], "docker": [9, 12], "document": [11, 12], "doe": 3, "doesn": 6, "don": 6, "done": [3, 5, 9], "drive": 8, "driven": 13, "dropout": 2, "dt": 9, "durat": 9, "dure": [6, 8], "e": [6, 9], "each": [6, 12, 13], "easier": 5, "easili": 1, "east": 9, "east1": 9, "echo": 5, "eco": 13, "effect": 10, "effici": 8, "electr": [3, 6, 8, 10, 12], "els": 1, "emiss": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 12, 13], "emissions_endpoint": 12, "emissions_r": 9, "emissionstrack": [1, 2, 11, 12], "emissiontrack": 9, "emit": [6, 7, 8], "empir": 6, "enabl": [5, 8, 12], "encapsul": 10, "end": [6, 10], "endpoint": [10, 12], "energi": [3, 7, 8, 9, 13], "energy_consum": 9, "energy_uj": 5, "enhanc": [6, 9], "enorm": 8, "entail": 8, "enter": 6, "enterpris": 3, "entir": 10, "entireti": 3, "entri": 12, "environ": [1, 5, 9, 12], "environment": [6, 7, 8], "eof": 5, "epoch": 2, "eq": [3, 6], "equival": [6, 7, 8, 9], "eras": 10, "error": 10, "estim": [3, 6, 7, 8, 10], "etc": [5, 11], "evalu": 9, "even": 3, "ever": [6, 13], "everi": [1, 5, 6, 10], "everyth": [1, 12], "exampl": [1, 4, 6, 8, 9, 10, 12, 13], "execstart": 5, "execut": 13, "exemplari": 13, "exist": [3, 6, 10, 12, 13], "experi": [0, 1, 8, 10, 12, 13], "experiment_id": [0, 5, 10, 12], "explain": 1, "explicit": 4, "explor": 13, "export": 12, "expos": 9, "express": [6, 8, 9], "face": 8, "fact": 8, "factor": [3, 6, 10], "fall": 6, "fallback": 6, "fals": [5, 10, 12], "fast": 6, "featur": 8, "fetch": 12, "fief": 5, "file": [0, 1, 5, 6, 9, 10, 11, 12, 13], "filehandl": 11, "filepath": 13, "filter": 11, "final": 12, "find": [3, 6], "fintetun": 7, "first": [5, 6, 7, 9, 11, 12], "fit": 2, "flatten": 2, "float": [2, 11], "flush": [10, 12], "fn": 10, "focu": 3, "folder": 12, "follow": [2, 3, 5, 6, 7, 9, 10, 12, 13], "footprint": [1, 3, 6, 8], "forbid": 11, "forg": 5, "format": 9, "former": 10, "fossil": [6, 8], "found": [1, 6, 12], "fourth": 7, "framework": 12, "free": [1, 10], "frequent": [4, 6], "friendli": 13, "from": [0, 1, 2, 3, 4, 6, 7, 9, 10, 11, 12], "from_logit": 2, "fuel": [6, 8], "function": [3, 10, 12], "g": [5, 6, 9], "ga": 6, "gadget": 6, "galleri": 1, "game": 8, "gase": 8, "gb": 6, "gco2": [3, 6], "gcp": 9, "geforc": 9, "gener": [6, 8, 12, 13], "geograph": 9, "geotherm": 6, "get": [0, 1, 5, 10, 12, 13], "getlogg": 11, "github": 2, "give": [5, 6], "given": 9, "global": [3, 6, 8, 10, 12], "global_energy_mix": 10, "globalpetrolpric": 3, "go": [1, 5, 8, 9], "goe": [0, 12], "gold": 3, "good": [3, 6, 9], "googl": [3, 10], "google_project_nam": 11, "googlecloudloggeroutput": 11, "gpu": [0, 7, 9, 10, 12], "gpu_count": 9, "gpu_energi": 9, "gpu_id": [10, 12], "gpu_model": 9, "gpu_pow": 9, "graph": [1, 7], "great": 7, "greater": 3, "green": 10, "greenhous": 8, "grid": [6, 8, 13], "group": 5, "grow": 8, "gtx": 9, "h": [7, 9], "ha": [3, 6, 7, 8, 9, 12, 13], "habit": 3, "hand": 13, "handler": [10, 11], "happen": 13, "hard": 3, "hardwar": [6, 10], "have": [0, 1, 3, 6, 7, 8, 9, 10, 12], "header": 12, "help": [3, 6, 10], "here": [0, 3, 5, 6, 7, 11, 12], "hesit": 6, "hi": 10, "hierarch": 12, "histor": 9, "home": 12, "hood": 12, "host": [5, 9, 10, 12, 13], "hour": [6, 7, 8], "household": 13, "how": [3, 12], "howev": [6, 12], "http": [4, 5, 10, 12], "http_proxi": 12, "https_proxi": 12, "huge": 7, "human": 8, "hydroelectr": 6, "hyperparamet": 1, "i": [3, 5, 6, 8, 9, 10, 11, 12, 13], "i7": 9, "id": [0, 9, 10], "idea": 6, "iea": 3, "illustr": 13, "imag": [2, 8], "imdb": 12, "imdb_emiss": 12, "impact": [4, 8, 10], "implement": [9, 12], "import": [0, 2, 8, 11, 12], "improv": [3, 6], "inch": 13, "includ": [6, 10], "incred": 8, "index": 4, "indic": 10, "industri": 8, "infer": 12, "info": [10, 11], "inform": [3, 5, 12, 13], "infra": 3, "infrastructur": [3, 6, 9, 10, 12, 13], "ini": 12, "init": 0, "initi": [3, 12], "input": [4, 9], "input_shap": 2, "instal": [1, 4, 6], "instanc": [10, 12], "instanti": [6, 12], "instruct": 5, "integr": 4, "intel": [5, 6, 9], "intellig": 8, "intens": [0, 3, 4, 7, 10, 12], "interfac": [0, 9], "interfer": 12, "intern": 12, "internet": 4, "interv": [6, 9, 10], "io": [5, 10], "iso": [9, 10, 12], "isol": 10, "issu": [3, 6], "its": [3, 6, 7, 9, 11, 13], "itself": [5, 6], "job": 1, "journalctl": 5, "json": 10, "jupyt": 12, "just": 12, "keep": [3, 12], "kei": [1, 5, 10], "kera": 2, "kg": [6, 9], "kgco\u2082": 6, "kilogram": [6, 8], "kilowatt": [6, 8], "km": 9, "km\u00b2": 9, "know": 6, "knowledg": 6, "known": [6, 10], "kwh": [3, 6, 7, 9], "lack": 11, "languag": 7, "larg": [7, 8], "last": [6, 12], "latest": 5, "latitud": 9, "layer": 2, "lcd": 13, "learn": [2, 7, 8], "left": [1, 13], "let": 3, "letter": [9, 10, 12], "level": [8, 10, 11, 13], "leverag": [8, 11], "librari": [6, 12], "life": [3, 13], "light": [6, 7], "like": [8, 12], "limit": 5, "line": [6, 7], "link": 1, "linux": [4, 6], "list": [5, 6, 10, 12], "ll": 1, "load": 12, "load_data": 2, "load_dataset": 12, "local": [3, 6, 11, 12], "localhost": [9, 12], "localis": 7, "locat": [7, 10], "log": [5, 7, 10, 13], "log_level": [5, 10, 12], "log_nam": 11, "logfir": [4, 10], "logger": [4, 10, 13], "logger_preambl": 10, "loggeroutput": [10, 11], "logging_demo": 11, "logging_logg": [10, 11], "login": 5, "longitud": 9, "loss": 2, "loss_fn": 2, "low": [6, 10], "m": [5, 9], "m1": 6, "m2": 6, "mac": 6, "machin": [0, 5, 8, 9, 10], "made": 3, "mai": 11, "main": 6, "major": 9, "make": [1, 3, 6], "manag": [4, 5], "mandatori": 10, "mani": 3, "manner": 12, "manual": [10, 12], "map": [6, 10], "matter": 8, "measur": [5, 6, 7, 8, 10, 12], "measure_power_sec": [0, 5, 6, 10, 12], "memori": 6, "mention": 6, "messag": [10, 11], "metadata": 13, "method": 6, "methodologi": 4, "metric": [1, 2, 9], "microsoft": [3, 7], "might": 7, "mile": 13, "mind": 3, "minim": 12, "minut": 5, "miss": [3, 6], "mix": [3, 6, 13], "mixtur": 6, "mkdir": 5, "ml": 1, "mnist": [1, 2], "mode": [0, 4, 5, 6, 9], "model": [2, 4, 8, 12], "model_emiss": 12, "modifi": [6, 12], "modul": 4, "monitor": [0, 5, 9, 12], "month": 8, "monthli": 3, "more": [0, 1, 6, 8, 12], "most": [7, 13], "motiv": 4, "much": 3, "multi": 5, "multipl": 10, "multipli": 3, "must": 12, "mwh": 6, "my": 3, "my_logg": 11, "n": 9, "name": [5, 9, 10, 11, 12], "nativ": 6, "natur": 6, "nb": 7, "nearbi": 6, "need": [0, 1, 6, 9, 11, 12, 13], "neither": [3, 6], "net": [6, 13], "network": [5, 11], "new": 10, "nice": 0, "nlp": 7, "none": [6, 10], "nopasswd": 6, "nor": 6, "normal": 12, "notabl": 3, "note": [6, 12, 13], "notebook": 12, "noth": 9, "now": [1, 5, 6, 13], "nuclear": 6, "number": [9, 10, 13], "nvidia": [6, 9], "o": [9, 12], "object": [1, 4, 8, 10], "observ": 9, "offici": 5, "offlin": 4, "offlineemissionstrack": [9, 12], "offlineemissiontrack": 11, "offset": 3, "often": 3, "old": 10, "on_cloud": 9, "on_csv_writ": 10, "onc": [1, 9], "one": [0, 3, 9, 10, 11, 13], "onli": [3, 6, 10], "onlin": 4, "open": [3, 6], "openapi": 0, "opt": 5, "optim": 2, "option": [0, 3, 6, 10, 11, 12, 13], "order": [8, 10, 11], "organ": 0, "organis": 13, "organization_id": 5, "other": [2, 3, 5, 6, 8, 11], "otherwis": 11, "our": [3, 6], "ourworld": 3, "out": 3, "output": [4, 11], "output_dir": [9, 10, 12], "output_fil": 10, "output_handl": 10, "overhead": [6, 12], "overrid": [10, 12], "overwrit": 12, "own": [0, 7], "owner": 5, "ownership": 5, "p40": 7, "packag": [1, 3, 5, 6, 8, 9, 11, 13], "page": [1, 4], "panda": 5, "panel": 1, "parallel": 11, "param": 12, "paramet": [4, 6, 9, 12], "part": [6, 8], "particular": 13, "pass": [6, 12], "password": 6, "path": [6, 10, 13], "pattern": 8, "per": [6, 8, 9, 10], "perform": 8, "permiss": 5, "person": 1, "petroleum": 6, "piec": 12, "pip": [1, 5], "place": 9, "placehold": 1, "plai": [3, 8], "platform": [3, 9], "pleas": [3, 5, 6, 11, 12], "point": [7, 12, 13], "polici": 7, "popular": 7, "port": 13, "possibl": 6, "potenti": 8, "power": [1, 4, 5, 8, 9, 10, 11, 13], "power_const": 10, "powercap": [5, 6], "powermetr": 6, "precis": 9, "present": 7, "pretrain": 7, "prevent": 12, "preview": 13, "previou": 6, "price": 3, "print": 2, "prioriti": [3, 4], "privaci": 9, "privat": [3, 9, 11, 12], "process": [8, 9, 10, 11, 12, 13], "processor": [6, 8], "produc": [3, 8, 13], "product": 6, "program": 8, "project": [0, 2, 3, 9, 10, 11, 13], "project_id": 5, "project_nam": [2, 9, 10, 12], "prometheu": [4, 10], "prometheus_cli": 5, "prometheus_password": 9, "prometheus_url": 10, "prometheus_usernam": 9, "prompt": 12, "propos": 6, "protect": [7, 9], "provid": [1, 6, 9, 10, 11, 12, 13], "provinc": [9, 10], "proxi": 4, "psutil": 5, "public": [0, 1, 3, 12, 13], "publish": 3, "pue": 10, "purpos": 8, "push": 9, "pushgatewai": 9, "py": [1, 5, 9, 11], "pynvml": [5, 6], "pypi": 4, "pyproject": 5, "python": [5, 12], "python3": 5, "python_vers": 9, "quantifi": [3, 6], "quartil": 7, "question": 4, "questionari": 5, "quickstart": 4, "r": [5, 9], "ram": 9, "ram_energi": 9, "ram_pow": 9, "ram_total_s": 9, "rang": 9, "rapidfuzz": 5, "rapl": [5, 6], "ratio": 6, "re": 12, "read": [5, 12], "reason": 8, "recent": 8, "recogn": [2, 3, 8], "recommend": [3, 5, 12, 13], "record": 12, "recur": 3, "reduc": [3, 9], "refer": [4, 5, 11, 12], "region": [3, 4, 9, 10, 12], "relationship": 6, "releas": 3, "relev": 7, "reli": 12, "relu": 2, "remain": 12, "remark": 8, "render": 1, "renew": 6, "replac": 1, "repo": 3, "report": [6, 11], "repositori": [2, 4], "repres": 7, "reproduc": 1, "request": [5, 12], "requir": [9, 10, 12], "research": [1, 3], "resourc": 6, "respect": [9, 12], "restart": 5, "restrict": 12, "result": [7, 9, 12], "return": [2, 12], "rich": 5, "right": [6, 7, 13], "room": 6, "root": [5, 6], "row": 10, "rule": 9, "run": [0, 1, 3, 5, 9, 10, 12, 13], "run_id": 10, "runtim": 13, "same": [10, 12], "sampl": 1, "satisfi": 6, "save": [0, 1, 10, 11, 12], "save_to_api": [0, 10, 12], "save_to_fil": [10, 12], "save_to_logfir": [9, 10], "save_to_logg": [10, 11], "save_to_prometheu": [9, 10], "scale": 7, "schedul": [6, 12], "scheme": 3, "scientist": 1, "script": 12, "sdk": 11, "search": [1, 4, 9], "second": [5, 6, 9, 10], "section": 12, "sector": 8, "see": [1, 6, 9, 10, 11, 12, 13], "self": 9, "send": [5, 9, 10, 11, 12], "sent": [9, 13], "sequenti": 2, "seri": 13, "server": [0, 4, 9, 10], "servic": [4, 9], "set": [0, 1, 9, 10, 11, 12], "setlevel": 11, "sever": 13, "share": 13, "shell": 12, "shot": 3, "should": [3, 6, 10], "show": [6, 7, 13], "shown": 13, "side": [7, 13], "sidebar": 1, "sign": 10, "signific": [6, 8], "silicon": 6, "singl": [3, 12], "small": [6, 7, 12], "so": [0, 3, 6, 9, 10, 12], "solar": 6, "solut": 6, "some": [6, 11, 12], "soon": 12, "sophist": 8, "sourc": [3, 7], "sp0": 9, "sparsecategoricalcrossentropi": 2, "specif": [4, 6, 8, 11, 12], "specifi": [0, 9, 10, 11], "split": 12, "standard": [3, 8, 10], "start": [1, 2, 5, 6, 9, 11, 12], "start_task": 12, "state": [8, 9, 10], "statist": 6, "stdout": 1, "still": [6, 11], "stop": [2, 6, 9, 11, 12], "stop_task": 12, "stream": 11, "string": 10, "structur": 12, "studi": 7, "subclass": 11, "subscript": 3, "success": 3, "sudo": [5, 6], "sudoer": 6, "suffix": 9, "sum": 9, "suppli": 6, "support": [6, 10, 11, 12], "sure": 1, "sustain": 3, "switch": [6, 13], "sy": [5, 6], "syntax": 12, "sysf": 5, "sysfsutil": 5, "system": [1, 5, 9, 11], "systemat": 10, "systemctl": 5, "systemd": 5, "t": [6, 12], "tab": 1, "tabl": [6, 7], "taken": 1, "target": [5, 9], "task": [8, 12], "tdp": 6, "team": 0, "tee": 5, "tell": 0, "tensorflow": 2, "termin": 5, "test": [6, 12], "tf": 2, "than": 11, "them": 3, "therefor": 3, "thermal": 6, "thi": [0, 3, 6, 7, 8, 9, 10, 11, 12, 13], "those": 13, "through": 4, "thu": 8, "ti": 9, "time": [1, 4, 6, 9, 12, 13], "timeseri": 0, "timestamp": 9, "tini": 7, "tm": 9, "token": [10, 12], "toml": 5, "tool": [1, 6, 7, 12], "toolkit": 6, "top": 13, "total": [9, 13], "trace": 5, "track": [1, 6, 8, 9, 10, 11, 12], "track_emiss": [0, 2, 4, 12], "tracker": [2, 6, 9, 10, 11, 12], "tracking_mod": [9, 10, 12], "train": [0, 1, 2, 7, 8, 12], "train_model": [0, 2], "training_loop": 12, "transf": 7, "trigger": [9, 11], "true": [0, 2, 9, 10, 11, 12], "try": [3, 6, 10, 12], "tv": 13, "two": [0, 6, 12], "typer": 5, "typic": 11, "u": [5, 6, 7, 9, 10], "ubiquit": 8, "ubuntu": 5, "ui": 1, "unchang": 12, "under": 12, "underli": [6, 8], "understand": 13, "unfortun": 3, "unit": 5, "up": [9, 10, 12], "updat": 10, "upload": 0, "url": 10, "us": [0, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13], "usa": 9, "usabl": [6, 11], "usag": [4, 10], "user": [5, 6, 10, 12, 13], "useradd": 5, "usernam": 6, "usr": 6, "usual": 9, "uuid": 12, "v100": 7, "valid": 11, "valu": [6, 9, 10, 12], "variabl": [10, 12], "variou": [8, 11, 13], "vast": 8, "ve": 1, "venv": 5, "verbos": [5, 10], "version": [9, 12], "via": [3, 8], "victor": 12, "view": [1, 3], "virtual": 5, "vision": 7, "visual": [1, 4], "visudo": 6, "vit": 7, "voil\u00e0": 1, "w": 9, "wai": 12, "wait": 5, "want": [6, 10, 12], "wantedbi": 5, "warm": 8, "warn": [10, 12], "watch": 13, "watt": [6, 10], "we": [3, 5, 6, 8, 12], "web": [0, 12], "webhook": 9, "websit": [1, 5], "week": 8, "weekli": 13, "weight": 6, "welcom": 6, "well": 3, "what": 3, "when": [1, 3, 6, 9, 10, 12], "where": [9, 10, 12], "which": [6, 8, 10, 12], "who": 13, "wikipedia": 12, "wind": 6, "window": [6, 9], "within": 12, "without": [6, 12], "wonder": 12, "work": [3, 5, 8, 12], "workingdirectori": 5, "world": [3, 6], "would": [7, 8], "wrap": 12, "wren": 3, "write": 12, "written": [10, 12], "x": [9, 10], "x_test": 2, "x_train": 2, "y": 9, "y_test": 2, "y_train": 2, "year": [4, 6, 8], "yet": 12, "yield": 12, "york": 10, "you": [0, 1, 3, 5, 6, 9, 10, 12, 13], "your": [0, 1, 3, 5, 6, 9, 10, 12, 13], "yourself": 6, "zone": 10}, "titles": ["CodeCarbon API", "Comet Integration", "Examples", "Frequently Asked Questions", "CodeCarbon", "Installing CodeCarbon", "Methodology", "Model Comparisons", "Motivation", "Output", "Parameters", "Collecting emissions to a logger", "Quickstart", "Visualize"], "titleterms": {"access": 12, "across": 6, "ai": 7, "an": 11, "api": [0, 9], "ask": 3, "authent": 11, "beta": 13, "carbon": [6, 13], "cloud": [7, 11, 13], "codecarbon": [0, 4, 5, 6, 9], "collect": 11, "comet": 1, "command": 12, "comparison": [7, 13], "conda": 5, "configur": 12, "consumpt": 7, "context": [2, 12], "countri": 13, "cpu": 6, "creat": 11, "csv": 9, "data": 9, "decor": [2, 12], "depend": 5, "detail": 13, "each": 9, "electr": [7, 13], "emiss": 11, "emissiontrack": 11, "energi": 6, "equival": 13, "exampl": [2, 11], "experi": 9, "explicit": [2, 12], "field": 9, "frequent": 3, "from": [5, 13], "get": 4, "global": 13, "googl": 11, "gpu": 6, "how": [6, 9], "http": 9, "impact": 7, "indic": 4, "input": 10, "instal": 5, "instanc": 7, "integr": 1, "intens": [6, 13], "internet": 12, "introduct": 4, "line": 12, "linux": 5, "local": 9, "log": [4, 9, 11], "logfir": 9, "logger": [9, 11], "manag": [2, 12], "methodologi": 6, "mode": [10, 12], "model": 7, "more": 13, "motiv": 8, "object": [2, 12], "offlin": [10, 12, 13], "offlineemissionstrack": 10, "onlin": [12, 13], "output": [9, 10], "paramet": 10, "per": 13, "power": 6, "prioriti": 12, "product": 13, "prometheu": 9, "proxi": 12, "pypi": 5, "python": 11, "question": 3, "quickstart": 12, "ram": 6, "refer": [6, 7], "region": [7, 13], "repositori": 5, "server": 12, "servic": 5, "sourc": 6, "specif": 10, "start": 4, "summari": 13, "tabl": 4, "test": 9, "through": 12, "time": 7, "track_emiss": 10, "us": [2, 9], "usag": 6, "visual": 13, "work": 6, "year": 7}}) \ No newline at end of file diff --git a/docs/to_logger.html b/docs/to_logger.html index 6cdb5cf9c..c8a55c60e 100644 --- a/docs/to_logger.html +++ b/docs/to_logger.html @@ -6,14 +6,14 @@ - Collecting emissions to a logger — CodeCarbon 2.8.2 documentation - + Collecting emissions to a logger — CodeCarbon 2.8.3 documentation + - + @@ -112,7 +112,7 @@

    Create a logger

    Python logger

    -
    import logging
    +
    import logging
     
     # Create a dedicated logger (log name can be the CodeCarbon project name for example)
     _logger = logging.getLogger(log_name)
    @@ -132,7 +132,7 @@ 

    Python logger

    Google Cloud Logging

    -
    import google.cloud.logging
    +
    import google.cloud.logging
     
     
     # Create a Cloud Logging client (specify project name if needed, otherwise Google SDK default project name is used)
    diff --git a/docs/usage.html b/docs/usage.html
    index 74d86e794..35fde79d7 100644
    --- a/docs/usage.html
    +++ b/docs/usage.html
    @@ -6,14 +6,14 @@
       
     
       
    -  Quickstart — CodeCarbon 2.8.2 documentation
    -      
    +  Quickstart — CodeCarbon 2.8.3 documentation
    +      
           
     
       
           
           
    -      
    +      
           
           
         
    @@ -144,7 +144,7 @@ 

    Command line

    In the case of absence of a single entry and stop point for the training code base, users can instantiate a EmissionsTracker object and pass it as a parameter to function calls to start and stop the emissions tracking of the compute section.

    -
    from codecarbon import EmissionsTracker
    +
    from codecarbon import EmissionsTracker
     tracker = EmissionsTracker()
     tracker.start()
     try:
    @@ -177,7 +177,7 @@ 

    Explicit Object

    Context manager

    The Emissions tracker also works as a context manager.

    -
    from codecarbon import EmissionsTracker
    +
    from codecarbon import EmissionsTracker
     
     with EmissionsTracker() as tracker:
         # Compute intensive training code goes here
    @@ -189,10 +189,10 @@ 

    Context manager

    In case the training code base is wrapped in a function, users can use the decorator @track_emissions within the function to enable tracking emissions of the training code.

    -
    from codecarbon import track_emissions
    +
    from codecarbon import track_emissions
     
     @track_emissions
    -def training_loop():
    +def training_loop():
         # Compute intensive training code goes here
     
    @@ -210,7 +210,7 @@

    Offline Mode

    Explicit Object

    Developers can use the OfflineEmissionsTracker object to track emissions as follows:

    -
    from codecarbon import OfflineEmissionsTracker
    +
    from codecarbon import OfflineEmissionsTracker
     tracker = OfflineEmissionsTracker(country_iso_code="CAN")
     tracker.start()
     # GPU intensive training code
    @@ -221,7 +221,7 @@ 

    Explicit Object

    Context manager

    The OfflineEmissionsTracker also works as a context manager

    -
    from codecarbon import OfflineEmissionsTracker
    +
    from codecarbon import OfflineEmissionsTracker
     
     with OfflineEmissionsTracker() as tracker:
     # GPU intensive training code  goes here
    @@ -235,9 +235,9 @@ 

    Decorator<
  • offline needs to be set to True, which defaults to False for online mode.

  • country_iso_code the 3-letter alphabet ISO Code of the country where the compute infrastructure is hosted

  • -
    from codecarbon import track_emissions
    +
    from codecarbon import track_emissions
     @track_emissions(offline=True, country_iso_code="CAN")
    -def training_loop():
    +def training_loop():
         # training code goes here
         pass
     
    @@ -337,7 +337,7 @@

    Access internet through proxy server
    import os
    +
    import os
     
     os.environ["HTTPS_PROXY"] = "http://0.0.0.0:0000"
     
    diff --git a/docs/visualize.html b/docs/visualize.html index a61eda149..f56105172 100644 --- a/docs/visualize.html +++ b/docs/visualize.html @@ -6,14 +6,14 @@ - Visualize — CodeCarbon 2.8.2 documentation - + Visualize — CodeCarbon 2.8.3 documentation + - + diff --git a/pyproject.toml b/pyproject.toml index ca45e26c0..21e3b4a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -185,7 +185,7 @@ include = [ ] [tool.bumpver] -current_version = "2.8.2" +current_version = "2.8.3" version_pattern = "MAJOR.MINOR.PATCH" [tool.bumpver.file_patterns] diff --git a/requirements.txt b/requirements.txt index a4db61f36..782306860 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,20 +16,20 @@ # - typer # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.default -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.default # typer @@ -54,7 +54,7 @@ markdown-it-py==3.0.0 # via rich mdurl==0.1.2 # via markdown-it-py -numpy==2.2.0 +numpy==2.2.2 # via pandas nvidia-ml-py==12.560.30 # via pynvml @@ -62,15 +62,15 @@ pandas==2.2.3 # via hatch.envs.default prometheus-client==0.21.1 # via hatch.envs.default -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.default py-cpuinfo==9.0.0 # via hatch.envs.default pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.default @@ -80,9 +80,9 @@ python-dateutil==2.9.0.post0 # pandas pytz==2024.2 # via pandas -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.default -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.default requests==2.32.3 # via hatch.envs.default @@ -111,7 +111,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via requests wcwidth==0.2.13 # via prompt-toolkit diff --git a/requirements/requirements-api.txt b/requirements/requirements-api.txt index a92ebd503..d9ad23663 100644 --- a/requirements/requirements-api.txt +++ b/requirements/requirements-api.txt @@ -42,7 +42,7 @@ alembic==1.14.0 # via hatch.envs.api -anyio==4.7.0 +anyio==4.8.0 # via # httpx # starlette @@ -53,23 +53,23 @@ asgiref==3.8.1 # via opentelemetry-instrumentation-asgi bcrypt==4.2.1 # via hatch.envs.api -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.api # typer # uvicorn cryptography==44.0.0 # via jwcrypto -dependency-injector==4.44.0 +dependency-injector==4.45.0 # via hatch.envs.api deprecated==1.2.15 # via @@ -131,7 +131,7 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via hatch.envs.api -numpy==2.2.0 +numpy==2.2.2 # via # hatch.envs.api # pandas @@ -186,14 +186,14 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.api -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary protobuf==5.29.3 # via # googleapis-common-protos # logfire # opentelemetry-proto -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.api psycopg2-binary==2.9.10 # via hatch.envs.api @@ -201,12 +201,12 @@ py-cpuinfo==9.0.0 # via hatch.envs.api pycparser==2.22 # via cffi -pydantic==1.10.19 +pydantic==1.10.21 # via # hatch.envs.api # fastapi # fastapi-pagination -pygments==2.18.0 +pygments==2.19.1 # via rich pyjwt==2.10.1 # via hatch.envs.api @@ -227,9 +227,9 @@ pyyaml==6.0.2 # via # responses # uvicorn -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.api -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.api requests==2.32.3 # via @@ -239,7 +239,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.api -responses==0.25.3 +responses==0.25.6 # via hatch.envs.api rich==13.9.4 # via @@ -249,9 +249,7 @@ rich==13.9.4 shellingham==1.5.4 # via typer six==1.17.0 - # via - # dependency-injector - # python-dateutil + # via python-dateutil sniffio==1.3.1 # via # anyio @@ -280,15 +278,15 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # responses -uvicorn==0.32.1 +uvicorn==0.34.0 # via hatch.envs.api uvloop==0.21.0 # via uvicorn -watchfiles==1.0.3 +watchfiles==1.0.4 # via uvicorn wcwidth==0.2.13 # via prompt-toolkit diff --git a/requirements/requirements-carbonboard.txt b/requirements/requirements-carbonboard.txt index eec85b157..cb5c84413 100644 --- a/requirements/requirements-carbonboard.txt +++ b/requirements/requirements-carbonboard.txt @@ -19,22 +19,22 @@ # - fire # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.carbonboard blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.carbonboard # flask @@ -88,7 +88,7 @@ mdurl==0.1.2 # via markdown-it-py nest-asyncio==1.6.0 # via dash -numpy==2.2.0 +numpy==2.2.2 # via pandas nvidia-ml-py==12.560.30 # via pynvml @@ -100,15 +100,15 @@ plotly==5.24.1 # via dash prometheus-client==0.21.1 # via hatch.envs.carbonboard -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.carbonboard py-cpuinfo==9.0.0 # via hatch.envs.carbonboard pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.carbonboard @@ -118,9 +118,9 @@ python-dateutil==2.9.0.post0 # pandas pytz==2024.2 # via pandas -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.carbonboard -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.carbonboard requests==2.32.3 # via @@ -160,7 +160,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via requests wcwidth==0.2.13 # via prompt-toolkit diff --git a/requirements/requirements-dashboard.txt b/requirements/requirements-dashboard.txt index 529fbbe4d..dc1e2a024 100644 --- a/requirements/requirements-dashboard.txt +++ b/requirements/requirements-dashboard.txt @@ -19,22 +19,22 @@ # - typer # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.dashboard blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.dashboard # flask @@ -45,7 +45,7 @@ dash==2.18.2 # via # hatch.envs.dashboard # dash-bootstrap-components -dash-bootstrap-components==1.6.0 +dash-bootstrap-components==1.7.1 # via hatch.envs.dashboard dash-core-components==2.0.0 # via dash @@ -86,7 +86,7 @@ mdurl==0.1.2 # via markdown-it-py nest-asyncio==1.6.0 # via dash -numpy==2.2.0 +numpy==2.2.2 # via pandas nvidia-ml-py==12.560.30 # via pynvml @@ -100,15 +100,15 @@ plotly==5.24.1 # dash prometheus-client==0.21.1 # via hatch.envs.dashboard -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.dashboard py-cpuinfo==9.0.0 # via hatch.envs.dashboard pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.dashboard @@ -118,9 +118,9 @@ python-dateutil==2.9.0.post0 # pandas pytz==2024.2 # via pandas -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.dashboard -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.dashboard requests==2.32.3 # via @@ -158,7 +158,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via requests wcwidth==0.2.13 # via prompt-toolkit diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 9cfcf5c1d..9cc8d7ae3 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -21,7 +21,7 @@ # - typer # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.dev @@ -29,7 +29,7 @@ black==24.10.0 # via hatch.envs.dev bumpver==2024.1130 # via hatch.envs.dev -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx @@ -38,9 +38,9 @@ cffi==1.17.1 # via cryptography cfgv==3.4.0 # via pre-commit -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.dev # black @@ -62,7 +62,7 @@ httpcore==1.0.7 # via httpx httpx==0.27.2 # via fief-client -identify==2.6.3 +identify==2.6.5 # via pre-commit idna==3.10 # via @@ -77,7 +77,7 @@ markdown-it-py==3.0.0 # via rich mdurl==0.1.2 # via markdown-it-py -mypy==1.13.0 +mypy==1.14.1 # via hatch.envs.dev mypy-extensions==1.0.0 # via @@ -85,7 +85,7 @@ mypy-extensions==1.0.0 # mypy nodeenv==1.9.1 # via pre-commit -numpy==2.2.0 +numpy==2.2.2 # via pandas nvidia-ml-py==12.560.30 # via pynvml @@ -103,15 +103,15 @@ pre-commit==4.0.1 # via hatch.envs.dev prometheus-client==0.21.1 # via hatch.envs.dev -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.dev py-cpuinfo==9.0.0 # via hatch.envs.dev pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.dev @@ -123,9 +123,9 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via pre-commit -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.dev -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.dev requests==2.32.3 # via hatch.envs.dev @@ -133,7 +133,7 @@ rich==13.9.4 # via # hatch.envs.dev # typer -ruff==0.8.3 +ruff==0.9.2 # via hatch.envs.dev shellingham==1.5.4 # via typer @@ -159,9 +159,9 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via requests -virtualenv==20.28.0 +virtualenv==20.29.1 # via pre-commit wcwidth==0.2.13 # via prompt-toolkit diff --git a/requirements/requirements-test.py3.10.txt b/requirements/requirements-test.py3.10.txt index f65f3a75c..68366fde0 100644 --- a/requirements/requirements-test.py3.10.txt +++ b/requirements/requirements-test.py3.10.txt @@ -28,22 +28,22 @@ # - fire # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.test.py3.10 blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.test.py3.10 # flask @@ -105,7 +105,7 @@ mock==5.1.0 # via hatch.envs.test.py3.10 nest-asyncio==1.6.0 # via dash -numpy==2.2.0 ; python_version >= "3.9" +numpy==2.2.2 ; python_version >= "3.9" # via # hatch.envs.test.py3.10 # pandas @@ -123,15 +123,15 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.test.py3.10 -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.test.py3.10 py-cpuinfo==9.0.0 # via hatch.envs.test.py3.10 pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.test.py3.10 @@ -145,9 +145,9 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via responses -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.test.py3.10 -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.test.py3.10 requests==2.32.3 # via @@ -157,7 +157,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.test.py3.10 -responses==0.25.3 +responses==0.25.6 # via hatch.envs.test.py3.10 retrying==1.3.4 # via dash @@ -196,7 +196,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # responses diff --git a/requirements/requirements-test.py3.11.txt b/requirements/requirements-test.py3.11.txt index fa6639549..20acb0842 100644 --- a/requirements/requirements-test.py3.11.txt +++ b/requirements/requirements-test.py3.11.txt @@ -28,22 +28,22 @@ # - fire # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.test.py3.11 blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.test.py3.11 # flask @@ -101,7 +101,7 @@ mock==5.1.0 # via hatch.envs.test.py3.11 nest-asyncio==1.6.0 # via dash -numpy==2.2.0 ; python_version >= "3.9" +numpy==2.2.2 ; python_version >= "3.9" # via # hatch.envs.test.py3.11 # pandas @@ -119,15 +119,15 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.test.py3.11 -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.test.py3.11 py-cpuinfo==9.0.0 # via hatch.envs.test.py3.11 pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.test.py3.11 @@ -141,9 +141,9 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via responses -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.test.py3.11 -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.test.py3.11 requests==2.32.3 # via @@ -153,7 +153,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.test.py3.11 -responses==0.25.3 +responses==0.25.6 # via hatch.envs.test.py3.11 retrying==1.3.4 # via dash @@ -189,7 +189,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # responses diff --git a/requirements/requirements-test.py3.12.txt b/requirements/requirements-test.py3.12.txt index c7aed5d0f..14b1fe819 100644 --- a/requirements/requirements-test.py3.12.txt +++ b/requirements/requirements-test.py3.12.txt @@ -28,22 +28,22 @@ # - fire # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.test.py3.12 blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.test.py3.12 # flask @@ -101,7 +101,7 @@ mock==5.1.0 # via hatch.envs.test.py3.12 nest-asyncio==1.6.0 # via dash -numpy==2.2.0 ; python_version >= "3.9" +numpy==2.2.2 ; python_version >= "3.9" # via # hatch.envs.test.py3.12 # pandas @@ -119,15 +119,15 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.test.py3.12 -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.test.py3.12 py-cpuinfo==9.0.0 # via hatch.envs.test.py3.12 pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.test.py3.12 @@ -141,9 +141,9 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via responses -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.test.py3.12 -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.test.py3.12 requests==2.32.3 # via @@ -153,7 +153,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.test.py3.12 -responses==0.25.3 +responses==0.25.6 # via hatch.envs.test.py3.12 retrying==1.3.4 # via dash @@ -189,7 +189,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # responses diff --git a/requirements/requirements-test.py3.13.txt b/requirements/requirements-test.py3.13.txt index 4be651a40..836a2bfa4 100644 --- a/requirements/requirements-test.py3.13.txt +++ b/requirements/requirements-test.py3.13.txt @@ -28,22 +28,22 @@ # - fire # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.test.py3.13 blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.test.py3.13 # flask @@ -101,7 +101,7 @@ mock==5.1.0 # via hatch.envs.test.py3.13 nest-asyncio==1.6.0 # via dash -numpy==2.2.0 ; python_version >= "3.9" +numpy==2.2.2 ; python_version >= "3.9" # via # hatch.envs.test.py3.13 # pandas @@ -119,15 +119,15 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.test.py3.13 -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.test.py3.13 py-cpuinfo==9.0.0 # via hatch.envs.test.py3.13 pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.test.py3.13 @@ -141,9 +141,9 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via responses -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.test.py3.13 -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.test.py3.13 requests==2.32.3 # via @@ -153,7 +153,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.test.py3.13 -responses==0.25.3 +responses==0.25.6 # via hatch.envs.test.py3.13 retrying==1.3.4 # via dash @@ -188,7 +188,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # responses diff --git a/requirements/requirements-test.py3.8.txt b/requirements/requirements-test.py3.8.txt index 630484016..26da9eb44 100644 --- a/requirements/requirements-test.py3.8.txt +++ b/requirements/requirements-test.py3.8.txt @@ -34,16 +34,16 @@ arrow==1.3.0 # via hatch.envs.test.py3.8 blinker==1.8.2 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.test.py3.8 # flask @@ -125,15 +125,15 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.test.py3.8 -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.test.py3.8 py-cpuinfo==9.0.0 # via hatch.envs.test.py3.8 pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==11.5.3 # via hatch.envs.test.py3.8 @@ -147,7 +147,7 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via responses -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.test.py3.8 rapidfuzz==3.9.7 # via hatch.envs.test.py3.8 @@ -159,7 +159,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.test.py3.8 -responses==0.25.3 +responses==0.25.6 # via hatch.envs.test.py3.8 retrying==1.3.4 # via dash diff --git a/requirements/requirements-test.py3.9.txt b/requirements/requirements-test.py3.9.txt index 71dd1d5da..2742ea4af 100644 --- a/requirements/requirements-test.py3.9.txt +++ b/requirements/requirements-test.py3.9.txt @@ -28,22 +28,22 @@ # - fire # -anyio==4.7.0 +anyio==4.8.0 # via httpx arrow==1.3.0 # via hatch.envs.test.py3.9 blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via # httpcore # httpx # requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # hatch.envs.test.py3.9 # flask @@ -125,15 +125,15 @@ pluggy==1.5.0 # via pytest prometheus-client==0.21.1 # via hatch.envs.test.py3.9 -prompt-toolkit==3.0.36 +prompt-toolkit==3.0.48 # via questionary -psutil==6.1.0 +psutil==6.1.1 # via hatch.envs.test.py3.9 py-cpuinfo==9.0.0 # via hatch.envs.test.py3.9 pycparser==2.22 # via cffi -pygments==2.18.0 +pygments==2.19.1 # via rich pynvml==12.0.0 # via hatch.envs.test.py3.9 @@ -147,9 +147,9 @@ pytz==2024.2 # via pandas pyyaml==6.0.2 # via responses -questionary==2.0.1 +questionary==2.1.0 # via hatch.envs.test.py3.9 -rapidfuzz==3.10.1 +rapidfuzz==3.11.0 # via hatch.envs.test.py3.9 requests==2.32.3 # via @@ -159,7 +159,7 @@ requests==2.32.3 # responses requests-mock==1.12.1 # via hatch.envs.test.py3.9 -responses==0.25.3 +responses==0.25.6 # via hatch.envs.test.py3.9 retrying==1.3.4 # via dash @@ -198,7 +198,7 @@ typing-extensions==4.12.2 # typer tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # responses