@@ -326,19 +326,19 @@ async def __report_resources(self):
326
326
current_connections = await self .cm .get_addrs_current_connections (only_direct = True )
327
327
328
328
resources = {
329
- "WCPU /CPU global (%)" : cpu_percent ,
330
- "WCPU /CPU process (%)" : cpu_percent_process ,
331
- "WCPU /CPU temperature (°)" : cpu_temp ,
332
- "ZRAM /RAM global (%)" : memory_percent ,
333
- "ZRAM /RAM global (MB)" : memory_used ,
334
- "ZRAM /RAM process (%)" : memory_percent_process ,
335
- "ZRAM /RAM process (MB)" : memory_process ,
336
- "YDisk /Disk (%)" : disk_percent ,
337
- "XNetwork /Network (bytes sent)" : round (self .acc_bytes_sent / (1024 ** 2 ), 3 ),
338
- "XNetwork /Network (bytes received)" : round (self .acc_bytes_recv / (1024 ** 2 ), 3 ),
339
- "XNetwork /Network (packets sent)" : self .acc_packets_sent ,
340
- "XNetwork /Network (packets received)" : self .acc_packets_recv ,
341
- "XNetwork /Connections" : len (current_connections ),
329
+ "W-CPU /CPU global (%)" : cpu_percent ,
330
+ "W-CPU /CPU process (%)" : cpu_percent_process ,
331
+ "W-CPU /CPU temperature (°)" : cpu_temp ,
332
+ "Z-RAM /RAM global (%)" : memory_percent ,
333
+ "Z-RAM /RAM global (MB)" : memory_used ,
334
+ "Z-RAM /RAM process (%)" : memory_percent_process ,
335
+ "Z-RAM /RAM process (MB)" : memory_process ,
336
+ "Y-Disk /Disk (%)" : disk_percent ,
337
+ "X-Network /Network (bytes sent)" : round (self .acc_bytes_sent / (1024 ** 2 ), 3 ),
338
+ "X-Network /Network (bytes received)" : round (self .acc_bytes_recv / (1024 ** 2 ), 3 ),
339
+ "X-Network /Network (packets sent)" : self .acc_packets_sent ,
340
+ "X-Network /Network (packets received)" : self .acc_packets_recv ,
341
+ "X-Network /Connections" : len (current_connections ),
342
342
}
343
343
self .trainer .logger .log_data (resources )
344
344
@@ -365,13 +365,13 @@ async def __report_resources(self):
365
365
)
366
366
gpu_fan_speed = await asyncio .to_thread (pynvml .nvmlDeviceGetFanSpeed , handle )
367
367
gpu_info = {
368
- f"WGPU /GPU{ i } (%)" : gpu_percent ,
369
- f"WGPU /GPU{ i } temperature (°)" : gpu_temp ,
370
- f"WGPU /GPU{ i } memory (%)" : gpu_mem_percent ,
371
- f"WGPU /GPU{ i } power" : gpu_power ,
372
- f"WGPU /GPU{ i } clocks" : gpu_clocks ,
373
- f"WGPU /GPU{ i } memory clocks" : gpu_memory_clocks ,
374
- f"WGPU /GPU{ i } fan speed" : gpu_fan_speed ,
368
+ f"W-GPU /GPU{ i } (%)" : gpu_percent ,
369
+ f"W-GPU /GPU{ i } temperature (°)" : gpu_temp ,
370
+ f"W-GPU /GPU{ i } memory (%)" : gpu_mem_percent ,
371
+ f"W-GPU /GPU{ i } power" : gpu_power ,
372
+ f"W-GPU /GPU{ i } clocks" : gpu_clocks ,
373
+ f"W-GPU /GPU{ i } memory clocks" : gpu_memory_clocks ,
374
+ f"W-GPU /GPU{ i } fan speed" : gpu_fan_speed ,
375
375
}
376
376
self .trainer .logger .log_data (gpu_info )
377
377
except Exception : # noqa: S110
0 commit comments