Upload shared/metrics-schema.json with huggingface_hub
Browse files- shared/metrics-schema.json +146 -0
shared/metrics-schema.json
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
| 3 |
+
"type": "object",
|
| 4 |
+
"properties": {
|
| 5 |
+
"ts": {
|
| 6 |
+
"type": "integer",
|
| 7 |
+
"description": "Timestamp in Unix epoch seconds"
|
| 8 |
+
},
|
| 9 |
+
"gpu": {
|
| 10 |
+
"type": "object",
|
| 11 |
+
"properties": {
|
| 12 |
+
"name": {
|
| 13 |
+
"type": "string",
|
| 14 |
+
"description": "GPU name"
|
| 15 |
+
},
|
| 16 |
+
"pci": {
|
| 17 |
+
"type": "object",
|
| 18 |
+
"properties": {
|
| 19 |
+
"gen": {
|
| 20 |
+
"type": "integer",
|
| 21 |
+
"description": "PCIe generation"
|
| 22 |
+
},
|
| 23 |
+
"lanes": {
|
| 24 |
+
"type": "integer",
|
| 25 |
+
"description": "PCIe lanes"
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"required": ["gen", "lanes"]
|
| 29 |
+
},
|
| 30 |
+
"temp": {
|
| 31 |
+
"type": "object",
|
| 32 |
+
"properties": {
|
| 33 |
+
"edge_c": {
|
| 34 |
+
"type": "number",
|
| 35 |
+
"description": "Edge temperature in Celsius"
|
| 36 |
+
},
|
| 37 |
+
"junction_c": {
|
| 38 |
+
"type": ["number", "null"],
|
| 39 |
+
"description": "Junction/hotspot temperature in Celsius"
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"required": ["edge_c"]
|
| 43 |
+
},
|
| 44 |
+
"util": {
|
| 45 |
+
"type": "object",
|
| 46 |
+
"properties": {
|
| 47 |
+
"gpu_pct": {
|
| 48 |
+
"type": "number",
|
| 49 |
+
"description": "GPU utilization percentage"
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"required": ["gpu_pct"]
|
| 53 |
+
},
|
| 54 |
+
"vram": {
|
| 55 |
+
"type": "object",
|
| 56 |
+
"properties": {
|
| 57 |
+
"used_mb": {
|
| 58 |
+
"type": "integer",
|
| 59 |
+
"description": "Used VRAM in MB"
|
| 60 |
+
},
|
| 61 |
+
"total_mb": {
|
| 62 |
+
"type": "integer",
|
| 63 |
+
"description": "Total VRAM in MB"
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
"required": ["used_mb", "total_mb"]
|
| 67 |
+
},
|
| 68 |
+
"clocks": {
|
| 69 |
+
"type": "object",
|
| 70 |
+
"properties": {
|
| 71 |
+
"core_mhz": {
|
| 72 |
+
"type": "integer",
|
| 73 |
+
"description": "Core clock in MHz"
|
| 74 |
+
},
|
| 75 |
+
"mem_mhz": {
|
| 76 |
+
"type": "integer",
|
| 77 |
+
"description": "Memory clock in MHz"
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
"required": ["core_mhz", "mem_mhz"]
|
| 81 |
+
},
|
| 82 |
+
"power": {
|
| 83 |
+
"type": "object",
|
| 84 |
+
"properties": {
|
| 85 |
+
"watts": {
|
| 86 |
+
"type": "number",
|
| 87 |
+
"description": "Power consumption in Watts"
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"required": ["watts"]
|
| 91 |
+
},
|
| 92 |
+
"fan": {
|
| 93 |
+
"type": "object",
|
| 94 |
+
"properties": {
|
| 95 |
+
"pct": {
|
| 96 |
+
"type": "number",
|
| 97 |
+
"description": "Fan speed percentage"
|
| 98 |
+
},
|
| 99 |
+
"rpm": {
|
| 100 |
+
"type": "integer",
|
| 101 |
+
"description": "Fan speed in RPM"
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"required": ["pct", "rpm"]
|
| 105 |
+
},
|
| 106 |
+
"throttle": {
|
| 107 |
+
"type": "object",
|
| 108 |
+
"properties": {
|
| 109 |
+
"thermal": {
|
| 110 |
+
"type": "boolean",
|
| 111 |
+
"description": "Thermal throttling active"
|
| 112 |
+
},
|
| 113 |
+
"power": {
|
| 114 |
+
"type": "boolean",
|
| 115 |
+
"description": "Power throttling active"
|
| 116 |
+
}
|
| 117 |
+
},
|
| 118 |
+
"required": ["thermal", "power"]
|
| 119 |
+
},
|
| 120 |
+
"engines": {
|
| 121 |
+
"type": "object",
|
| 122 |
+
"properties": {
|
| 123 |
+
"gfx_pct": {
|
| 124 |
+
"type": "number",
|
| 125 |
+
"description": "GFX engine utilization percentage"
|
| 126 |
+
},
|
| 127 |
+
"compute_pct": {
|
| 128 |
+
"type": "number",
|
| 129 |
+
"description": "Compute engine utilization percentage"
|
| 130 |
+
},
|
| 131 |
+
"dma_pct": {
|
| 132 |
+
"type": "number",
|
| 133 |
+
"description": "DMA engine utilization percentage"
|
| 134 |
+
},
|
| 135 |
+
"media_pct": {
|
| 136 |
+
"type": "number",
|
| 137 |
+
"description": "Media engine utilization percentage"
|
| 138 |
+
}
|
| 139 |
+
}
|
| 140 |
+
}
|
| 141 |
+
},
|
| 142 |
+
"required": ["name", "temp", "util", "vram", "clocks", "power", "fan", "throttle"]
|
| 143 |
+
}
|
| 144 |
+
},
|
| 145 |
+
"required": ["ts", "gpu"]
|
| 146 |
+
}
|