Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ stop
Method
stop
tests/cli/test_monitor.py:18–20 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
return
None
17
18
def
stop(self):
19
self.stopped += 1
20
return
0.123
21
22
23
def
test_run_and_monitor_requires_command(monkeypatch):
Callers
15
test_carbon_tracker_online_constant
Method · 0.45
test_carbon_tracker_offline_constant
Method · 0.45
test_carbon_tracker_offline_constant_force_cpu_power
Method · 0.45
test_carbon_tracker_offline_load_force_cpu_power
Method · 0.45
test_carbon_tracker_offline_region_error
Method · 0.45
test_tracker_measures_model_loading_task
Method · 0.45
test_tracker_measures_correctly_each_inference_from_task
Method · 0.45
test_tracker_outputs_data_point_for_each_task_logged
Method · 0.45
test_too_much_gpu_ids_in_env
Method · 0.45
test_carbon_tracker_TWO_GPU_PRIVATE_INFRA_CANADA
Method · 0.45
test_carbon_tracker_timeout
Method · 0.45
test_graceful_stop_failure
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected