MCPcopy Create free account

hub / github.com/mlco2/codecarbon / functions

Functions1,889 in github.com/mlco2/codecarbon

Methodon_epoch_end
(self, epoch, logs=None)
examples/mnist_callback.py:16
Functionorganization_add_user
( input: UserEmailInput, organization_id: str, auth_user: UserWithAuthDependency = Depends(Mandato
carbonserver/carbonserver/api/routers/organizations.py:154
Methodout
(self, total: EmissionsData, _: EmissionsData)
codecarbon/output_methods/http.py:22
Methodout
(self, total: EmissionsData, delta: EmissionsData)
codecarbon/output_methods/base_output.py:44
Methodpatch_organization
(self, organization_id, organization)
carbonserver/carbonserver/api/infra/repositories/repository_organizations.py:166
Functionpatch_project
( project_id: str, project: ProjectPatch, auth_user: UserWithAuthDependency = Depends(MandatoryUse
carbonserver/carbonserver/api/routers/projects.py:66
Methodpatch_project
(self, project_id, project)
carbonserver/carbonserver/api/infra/repositories/repository_projects.py:175
Functionpostprocess_gcp_cloud_metadata
(cloud_metadata: Dict[str, Any])
codecarbon/core/cloud.py:8
Methodprocess_memory_GB
Property to compute the process's total memory usage in bytes. Returns: float: RAM usage (GB)
codecarbon/external/ram.py:288
MethodraiseException
(handle)
tests/test_gpu_nvidia.py:197
Methodraise_exception
(handle)
tests/test_gpu_nvidia.py:218
Methodraise_exception
(*args, **kwargs)
tests/test_emissions_tracker.py:189
Functionraise_key_error
()
tests/cli/test_cli_utils.py:41
Methodraise_timeout_exception
(*args, **kwargs)
tests/test_emissions_tracker.py:163
Functionread_emission
( emission_id: str, emission_service: EmissionService = Depends( Provide[ServerContainer.emiss
carbonserver/carbonserver/api/routers/emissions.py:66
Functionread_experiment
( experiment_id: str, auth_user: UserWithAuthDependency = Depends(OptionalUserWithAuthDependency),
carbonserver/carbonserver/api/routers/experiments.py:51
Functionread_experiment_detailed_sums_by_run
( experiment_id: str, start_date: Optional[datetime] = None, end_date: Optional[datetime] = None,
carbonserver/carbonserver/api/routers/runs.py:95
Functionread_organization
( organization_id: str, auth_user: UserWithAuthDependency = Depends(MandatoryUserWithAuthDependency),
carbonserver/carbonserver/api/routers/organizations.py:75
Functionread_organization_detailed_sums
( organization_id: str, start_date: Optional[datetime] = None, end_date: Optional[datetime] = None
carbonserver/carbonserver/api/routers/organizations.py:107
Functionread_project
( project_id: str, auth_user: UserWithAuthDependency = Depends(OptionalUserWithAuthDependency), pr
carbonserver/carbonserver/api/routers/projects.py:77
Functionread_project_detailed_sums
( project_id: str, start_date: Optional[datetime] = None, end_date: Optional[datetime] = None,
carbonserver/carbonserver/api/routers/projects.py:91
Functionread_project_detailed_sums_by_experiment
( project_id: str, auth_user: UserWithAuthDependency = Depends(OptionalUserWithAuthDependency), st
carbonserver/carbonserver/api/routers/experiments.py:86
Functionread_project_experiments
( project_id: str, auth_user: UserWithAuthDependency = Depends(OptionalUserWithAuthDependency), ex
carbonserver/carbonserver/api/routers/experiments.py:68
Functionread_project_last_run
( project_id: str, start_date: Optional[datetime] = None, end_date: Optional[datetime] = None,
carbonserver/carbonserver/api/routers/runs.py:121
Functionread_run
( run_id: str, run_service: RunService = Depends(Provide[ServerContainer.run_service]), )
carbonserver/carbonserver/api/routers/runs.py:56
Functionread_runs_from_experiment
( experiment_id: str, run_service: RunService = Depends(Provide[ServerContainer.run_service]), )
carbonserver/carbonserver/api/routers/runs.py:82
FunctionrefreshOrgList
()
webapp/src/components/navbar.tsx:132
Methodremove_user_from_organization
( self, user_id: str, organization_id: str )
carbonserver/carbonserver/api/domain/memberships.py:14
FunctionresetTokenCreation
()
webapp/src/components/projectTokens/projectTokenTable.tsx:85
Methodrun_trial
(self, trial, *args, **kwargs)
examples/mnist_random_search.py:8
Methodservice_shutdown
(self, signum, frame)
codecarbon/emissions_tracker.py:655
MethodsetUp
(self)
tests/test_emissions_tracker_constant.py:27
MethodsetUp
(self)
tests/test_lock.py:9
MethodsetUp
(self)
tests/test_tracking_inference.py:36
MethodsetUp
(self)
tests/test_config.py:24
MethodsetUp
(self)
tests/test_emissions_tracker.py:66
MethodsetUp
(self)
tests/test_boamps_output.py:285
MethodsetUp
(self)
tests/test_boamps_output.py:525
MethodsetUp
(self)
tests/test_boamps_output.py:677
MethodsetUp
(self)
tests/test_boamps_output.py:777
MethodsetUp
(self)
tests/test_boamps_output.py:1067
MethodsetUp
(self)
tests/test_geography.py:75
MethodsetUp
(self)
tests/test_electricitymaps_api.py:12
MethodsetUp
(self)
tests/test_cpu.py:308
MethodsetUp
(self)
tests/test_logging_output.py:25
MethodsetUp
(self)
tests/test_custom_handler.py:26
MethodsetUp
(self)
tests/test_offline_emissions_tracker.py:25
MethodsetUp
(self)
tests/test_emissions_tracker_flush.py:24
MethodsetUp
(self)
tests/test_energy.py:10
MethodsetUp
Set up test fixtures.
tests/test_utilization_tracking.py:21
MethodsetUp
(self)
tests/test_logger.py:12
MethodsetUp
(self)
tests/test_unsupported_gpu.py:13
MethodsetUp
(self)
tests/test_emissions.py:12
MethodsetUp
(self)
tests/cli/test_cli.py:16
MethodsetUp
(self)
tests/cli/test_cli_auth.py:16
MethodsetUp
(self)
tests/output_methods/test_http.py:9
MethodsetUp
(self)
tests/output_methods/test_http.py:82
MethodsetUp
(self)
tests/output_methods/test_logger.py:10
MethodsetUp
(self)
tests/output_methods/test_logger.py:71
MethodsetUp
(self)
tests/output_methods/test_file.py:14
MethodsetUp
(self)
tests/output_methods/metrics/test_prometheus.py:46
MethodsetUp
(self)
tests/output_methods/metrics/test_logfire.py:12
Methodset_access_token
(self, token)
tests/cli/test_cli_main.py:16
Functionsetup
()
deploy/deploy.py:355
Methodsetup_method
(self)
tests/test_gpu_nvidia.py:33
Methodsetup_method
(self)
tests/test_gpu_nvidia.py:371
Methodsetup_method
(self)
tests/test_gpu.py:196
Functionshell
(db)
carbonserver/initial_data.py:37
Methodside_effect_wrapper
Side effect wrapper to simulate the first call to path.exists to avoid picking up global config
tests/cli/test_cli.py:78
Functionsignal_handler
(signum, frame)
codecarbon/cli/main.py:388
Methodsimple_work_function
()
tests/test_unsupported_gpu.py:67
Methodslurm_memory_GB
Property to compute the SLURM-available RAM in GigaBytes. Returns: float: Memory allocated to the job (GB)
codecarbon/external/ram.py:263
Functionstart
( traefik: Annotated[bool, typer.Option()] = False, fief: Annotated[bool, typer.Option()] = False,
deploy/deploy.py:265
Methodstart
(self)
codecarbon/core/gpu_device.py:34
Methodstart
(self)
codecarbon/core/gpu.py:79
Methodstart
Placeholder method for starting the Intel Power Gadget monitoring.
codecarbon/core/cpu.py:386
Methodstart
Starts monitoring CPU energy consumption.
codecarbon/core/cpu.py:860
Methodstart
(self)
codecarbon/core/powermetrics.py:198
Methodstart
(self)
codecarbon/external/hardware.py:52
Methodstart
(self)
codecarbon/external/hardware.py:397
Methodstart
(self)
codecarbon/external/hardware.py:509
Methodstart
(self)
tests/cli/test_cli_main.py:286
Methodstop
(self)
tests/cli/test_cli_main.py:289
Methodsubscribe_user_to_org
( self, user: User, organization_id: UUID, )
carbonserver/carbonserver/api/infra/repositories/repository_users.py:73
Functionsuppress
(*exceptions)
codecarbon/core/util.py:23
Methodtask_out
(self, data: List[TaskEmissionsData], experiment_name: str)
codecarbon/output_methods/base_output.py:50
MethodtearDown
(self)
tests/test_emissions_tracker_constant.py:37
MethodtearDown
(self)
tests/test_tracking_inference.py:41
MethodtearDown
(self)
tests/test_config.py:37
MethodtearDown
(self)
tests/test_emissions_tracker.py:82
MethodtearDown
(self)
tests/test_boamps_output.py:530
MethodtearDown
(self)
tests/test_boamps_output.py:781
MethodtearDown
(self)
tests/test_boamps_output.py:1071
MethodtearDown
(self)
tests/test_logging_output.py:40
MethodtearDown
(self)
tests/test_offline_emissions_tracker.py:40
MethodtearDown
(self)
tests/test_emissions_tracker_flush.py:34
MethodtearDown
Clean up test fixtures.
tests/test_utilization_tracking.py:36
MethodtearDown
(self)
tests/test_logger.py:15
MethodtearDown
(self)
tests/test_unsupported_gpu.py:18
MethodtearDown
(self)
tests/output_methods/test_file.py:53
← previousnext →1,101–1,200 of 1,889, ranked by callers