MCPcopy Create free account

hub / github.com/mlco2/codecarbon / functions

Functions1,889 in github.com/mlco2/codecarbon

↓ 1 callersFunctionmain
()
carbonserver/initial_data.py:48
↓ 1 callersFunctionmain
()
scripts/check_docs_links.py:208
↓ 1 callersFunctionmain
()
examples/mnist_inference.py:32
↓ 1 callersFunctionmain
()
examples/mnist_random_search.py:30
↓ 1 callersFunctionmain
()
examples/task_inference.py:24
↓ 1 callersFunctionmain
()
examples/bert_inference.py:14
↓ 1 callersFunctionmain
()
examples/mnist_grid_search.py:22
↓ 1 callersFunctionmain
()
examples/slurm_rocm/amdsmi_demo.py:6
↓ 1 callersFunctionmakeOrganization
(args: { id: string; name: string; description: string; })
webapp/src/api/mock/data.ts:71
↓ 1 callersFunctionmakeProjectToken
(args: { id: string; projectId: string; name: string; lastUsed: string | null; })
webapp/src/api/mock/data.ts:202
↓ 1 callersMethodmap_sql_to_organizationuser_schema
( row: sqlalchemy.engine.row.Row, )
carbonserver/carbonserver/api/infra/repositories/repository_organizations.py:194
↓ 1 callersFunctionmeasure_power
(load_type)
examples/compare_cpu_load_and_RAPL.py:363
↓ 1 callersFunctionmeasure_power
Measure power over a duration in seconds, handling wraparound
examples/rapl/test_rapl_fix.py:44
↓ 1 callersMethodmeasure_power_and_energy
(self, last_duration: float)
codecarbon/external/hardware.py:388
↓ 1 callersFunctionmock_load_model
()
tests/test_tracking_inference.py:21
↓ 1 callersMethodmonitor_power
(self)
codecarbon/external/hardware.py:408
↓ 1 callersMethodmonitor_power
Monitor power consumption over time :param interval: Sampling interval in seconds :param duration: Total monitoring duration
examples/rapl/intel_rapl_show.py:287
↓ 1 callersMethodnew_user_setup
Steps to be run for every new user created
carbonserver/carbonserver/api/services/signup_service.py:53
↓ 1 callersFunctionopenvino_npu_task
()
examples/intel_npu.py:43
↓ 1 callersFunctionparseBody
(body: BodyInit | null | undefined)
webapp/src/api/mock/index.ts:82
↓ 1 callersMethodparse_html
Parse HTML content to extract CPU data.
codecarbon/data/hardware/cpu_dataset_builder/intel_cpu_scrapper.py:45
↓ 1 callersFunctionpredict
(grid, x_test)
examples/mnist_inference.py:28
↓ 1 callersMethodread_power_consumption
Read power consumption for a specific RAPL domain :param domain: Specific power domain to read (e.g., 'intel-rapl:0') :param
examples/rapl/intel_rapl_show.py:245
↓ 1 callersFunctionrefreshProjectList
()
webapp/src/pages/ProjectsPage.tsx:32
↓ 1 callersFunctionrefreshTokens
()
webapp/src/components/projectTokens/projectTokenTable.tsx:37
↓ 1 callersFunctionrender_app
(df: pd.DataFrame)
codecarbon/viz/carbonboard.py:39
↓ 1 callersFunctionrender_app
(df: pd.DataFrame)
codecarbon/viz/carbonboard_on_api.py:14
↓ 1 callersFunctionresetForm
()
webapp/src/components/createExperimentModal.tsx:57
↓ 1 callersFunctionrun_and_monitor
Run a command and track its carbon emissions. This command wraps any executable and measures the process's total power consumption durin
codecarbon/cli/monitor.py:14
↓ 1 callersFunctionrun_command_line_tool
(command)
examples/command_line_tool.py:34
↓ 1 callersFunctionrun_migrations_offline
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as w
carbonserver/carbonserver/database/alembic/env.py:33
↓ 1 callersFunctionrun_migrations_online
Run migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context.
carbonserver/carbonserver/database/alembic/env.py:57
↓ 1 callersFunctionsafeUrl
(value: string)
webapp/src/api/mock/index.ts:74
↓ 1 callersMethodsave_to_csv
Save the scraped data to a CSV file.
codecarbon/data/hardware/cpu_dataset_builder/intel_cpu_scrapper.py:197
↓ 1 callersMethodscrape_all_cpus
Scrape all CPU data by iterating through pages.
codecarbon/data/hardware/cpu_dataset_builder/intel_cpu_scrapper.py:141
↓ 1 callersMethodset_experiment
Set the experiment id
codecarbon/core/api_client.py:312
↓ 1 callersMethodstart
(self)
codecarbon/core/rapl.py:67
↓ 1 callersMethodstart
Start the scheduler. ::from_run:: For internal purposes to allow re-scheduling Please do not use from_run=True until you know
codecarbon/external/scheduler.py:26
↓ 1 callersMethodstart
(self)
tests/test_gpu_amd.py:551
↓ 1 callersFunctionstress_cpu
Call 'stress-ng --matrix <number_of_threads> --rapl -t 1m --verify'
examples/compare_cpu_load_and_RAPL.py:254
↓ 1 callersMethodtest_out_method
(self, mock_push_to_gateway)
tests/output_methods/metrics/test_prometheus.py:50
↓ 1 callersFunctiontoBase64Url
(bytes: Uint8Array)
webapp/src/utils/crypto.ts:89
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:54
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:72
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:104
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:124
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:175
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:221
↓ 1 callersMethodto_dict
(self)
codecarbon/output_methods/boamps/models.py:237
↓ 1 callersMethodto_dict
(self)
examples/compare_cpu_load_and_RAPL.py:147
↓ 1 callersMethodtotal_power
(self)
codecarbon/external/hardware.py:35
↓ 1 callersMethodtotal_power
(self)
codecarbon/external/hardware.py:378
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Code Carbon API will be called every (measure_power_secs * api_call_in
examples/api_call_debug.py:14
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Code Carbon API will be called every (measure_power_secs * api_call_in
examples/prometheus_call.py:13
↓ 1 callersFunctiontrain_model
This function will do nothing.
examples/wue.py:10
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Code Carbon API will be called every (measure_power_secs * api_call_in
examples/logging_to_file.py:8
↓ 1 callersFunctiontrain_model
()
examples/mnist_context_manager.py:6
↓ 1 callersFunctiontrain_model
This function will do nothing.
examples/pue.py:12
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Code Carbon API will be called every (measure_power_secs * api_call_in
examples/logging_to_google_cloud.py:11
↓ 1 callersFunctiontrain_model
()
examples/mnist_decorator.py:7
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Logfire API will be called every (measure_power_secs * api_call_interv
examples/logfire_metrics.py:11
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Code Carbon API will be called every (measure_power_secs * api_call_in
examples/api_call_demo.py:12
↓ 1 callersFunctiontrain_model
This function will do nothing during (occurrence * delay) seconds. The Code Carbon API will be called every (measure_power_secs * api_call_in
examples/logging_to_file_exclusive_run.py:14
↓ 1 callersFunctiontrain_model
Performs GPU-intensive computation for 2 minutes at 100% load using ROCm AMD GPU.
examples/slurm_rocm/pytorch_matrix.py:225
↓ 1 callersFunctiontrain_model
This function will do nothing.
examples/slurm_rocm/no_load.py:15
↓ 1 callersMethodvalidate_access_token
(self, token: str)
carbonserver/carbonserver/api/services/auth_providers/oidc_auth_provider.py:59
↓ 1 callersFunctionverify_api_key
Verify the api key
carbonserver/carbonserver/api/infra/api_key_utils.py:24
↓ 1 callersMethodverify_experiment_id_presence
(self)
tests/test_emissions_tracker_flush.py:89
↓ 1 callersFunctionwait
(ms = 50)
webapp/src/api/mock/index.ts:91
FunctionAuthGuard
({ children }: { children: ReactNode })
webapp/src/components/auth-guard.tsx:7
FunctionBadge
({ className, variant, ...props }: BadgeProps)
webapp/src/components/ui/badge.tsx:30
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<"span">)
webapp/src/components/ui/breadcrumb.tsx:91
FunctionBreadcrumbHeader
({ pathSegments, }: { pathSegments: { title: string; href: string | null; }[]; })
webapp/src/components/breadcrumb.tsx:10
FunctionBreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<"li">)
webapp/src/components/ui/breadcrumb.tsx:75
FunctionCalendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
webapp/src/components/ui/calendar.tsx:12
FunctionChartSkeleton
({ className = "", height = 250, bars = 12, }: ChartSkeletonProps)
webapp/src/components/chart-skeleton.tsx:16
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
webapp/src/components/ui/chart.tsx:70
FunctionCreateExperimentModal
({ projectId, isOpen, onClose, onExperimentCreated, }: { projectId: string; isOpen: bo
webapp/src/components/createExperimentModal.tsx:18
FunctionCreateOrganizationModal
({ isOpen, onClose, onOrganizationCreated, })
webapp/src/components/createOrganizationModal.tsx:30
FunctionCreateProjectModal
({ organizationId, isOpen, onClose, onProjectCreated, })
webapp/src/components/createProjectModal.tsx:30
FunctionCustomRow
({ rowKey, firstColumn, secondColumn, href, hrefSettings, onDelete = async () => {},
webapp/src/components/custom-row.tsx:13
FunctionCustomRowToken
({ projectToken, onTokenDeleted, }: { projectToken: IProjectToken; onTokenDeleted: () => void;
webapp/src/components/projectTokens/custom-row-token.tsx:7
FunctionCustomTooltip
({ active, payload }: any)
webapp/src/components/runs-scatter-chart.tsx:86
FunctionDashboardLayout
()
webapp/src/layouts/DashboardLayout.tsx:11
FunctionDateRangePicker
({ date, onDateChange }: DateRangePickerProps)
webapp/src/components/date-range-picker.tsx:19
FunctionDeleteProjectModal
({ open, onOpenChange, projectName, projectId, onDelete, }: DeleteProjectModalProps)
webapp/src/components/delete-project-modal.tsx:24
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
webapp/src/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
webapp/src/components/ui/dialog.tsx:56
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
webapp/src/components/ui/dropdown-menu.tsx:171
FunctionEmissionsTimeSeriesChart
({ isPublicView, runId, projectName = "project", experimentName, }: EmissionsTimeSeriesChartPr
webapp/src/components/emissions-time-series.tsx:44
FunctionErrorMessage
()
webapp/src/components/error-message.tsx:4
FunctionExperimentsBarChart
({ isPublicView, experimentsReportData, onExperimentClick, selectedExperimentId, localLoad
webapp/src/components/experiment-bar-chart.tsx:42
FunctionExportCsvButton
({ onDownload, isDisabled = false, loadingMessage = "Exporting data...", successMessage = "Dat
webapp/src/components/export-csv-button.tsx:20
FunctionGeneralModal
({ isOpen, onClose, onSave, initialData, initialSavedData, renderForm, renderSaved
webapp/src/components/ui/modal.tsx:28
FunctionHomePage
()
webapp/src/pages/HomePage.tsx:14
FunctionLandingPage
()
webapp/src/pages/LandingPage.tsx:6
FunctionLoader
()
webapp/src/components/loader.tsx:4
FunctionMembersPage
()
webapp/src/pages/MembersPage.tsx:18
FunctionMobileHeader
({ orgs, }: { orgs: Organization[] | undefined; })
webapp/src/components/mobile-header.tsx:9
FunctionNavBar
({ orgs, setSheetOpened, }: Readonly<{ orgs: Organization[] | undefined; setSheetOpened?: (val
webapp/src/components/navbar.tsx:29
← previousnext →601–700 of 1,889, ranked by callers