We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bca822 commit 110cf21Copy full SHA for 110cf21
1 file changed
microbiorust-py/benchmarks/bench_pipeline.py
@@ -42,7 +42,8 @@ def _run_logic(self, engine, context):
42
Routes execution based on engine/context and tracks energy with CodeCarbon.
43
Stores last measured energy per engine in self._energy_joules.
44
"""
45
- tracker = OfflineEmissionsTracker(measure_power_secs=1, log_level="CRITICAL", country_iso_code="USA", carbon_intensity=475)
+ os.environ["CODECARBON_CARBON_INTENSITY"] = "475"
46
+ tracker = OfflineEmissionsTracker(measure_power_secs=1, log_level="CRITICAL", country_iso_code="USA")
47
tracker.start()
48
49
try:
0 commit comments