File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
nodescraper/plugins/inband/amdsmi Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ def _get_amdsmi_version(self) -> Optional[AmdSmiVersion]:
261261 category = EventCategory .APPLICATION ,
262262 description = "Failed to read AMD SMI versions" ,
263263 data = {"exception" : get_exception_traceback (e )},
264- priority = EventPriority .WARNING ,
264+ priority = EventPriority .INFO ,
265265 )
266266 return None
267267
@@ -1028,6 +1028,10 @@ def collect_data(
10281028 amdsmi = self ._amdsmi_mod ()
10291029 try :
10301030 amdsmi .amdsmi_init (amdsmi .AmdSmiInitFlags .INIT_AMD_GPUS ) # type: ignore[attr-defined]
1031+ version = self ._get_amdsmi_version ()
1032+ if version is not None :
1033+ self .logger .info ("amdsmi version: %s" , version .version )
1034+ self .logger .info ("ROCm version: %s" , version .rocm_version )
10311035 amd_smi_data = self ._get_amdsmi_data ()
10321036
10331037 if amd_smi_data is None :
You can’t perform that action at this time.
0 commit comments