diff --git a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py index df0eca53c5a..bd44a28eb29 100644 --- a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py +++ b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py @@ -226,6 +226,12 @@ def list(self, args, multiple_devices=False, gpu=None): # 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: