diff --git a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py index acee11a3f1..ee822e16c6 100644 --- a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py +++ b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py @@ -226,6 +226,12 @@ class AMDSMICommands(): # Set args.* to passed in arguments if gpu: args.gpu = gpu + + cpu_attributes = ["cpu"] + for attr in cpu_attributes: + if hasattr(args, 'cpu') and getattr(args, 'cpu'): + print("N/A") + return # Handle No GPU passed if args.gpu == None: