-
Notifications
You must be signed in to change notification settings - Fork 0
/
ai-carbon-counter.yml
37 lines (36 loc) · 950 Bytes
/
ai-carbon-counter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: AI Carbon counter
description: Count the karbon for a model training
tags:
initialize:
outputs: ['yaml']
plugins:
cloud-metadata:
path: "@grnsft/if-plugins"
method: CloudMetadata
teads-curve:
path: '@grnsft/if-unofficial-plugins'
method: TeadsCurve
watttime:
path: '@grnsft/if-unofficial-plugins'
method: WattTimeGridEmissions
operation:
path: "@grnsft/if-plugins"
method: Multiply
global-config:
input-parameters: ['cpu/energy', 'grid/carbon-intensity']
output-parameter: 'carbon'
tree:
children:
application:
pipeline:
- cloud-metadata
- teads-curve
- watttime
- operation
inputs:
- timestamp: "2024-02-26 00:00:00"
duration: 36000
cloud/instance-type: Standard_NV36adms_A10_v5
cloud/vendor: azure
cloud/region: westus3
cpu/utilization: 100