Skip to content

Commit

Permalink
SWDEV-457845: Fix Linux VM clean_local_data error on set
Browse files Browse the repository at this point in the history
Corrected clean_local_data error in Linux VM's while doing
amd-smi set without args.

Signed-off-by: Bindhiya Kanangot Balakrishnan <[email protected]>
  • Loading branch information
bkanango authored Jan 20, 2025
1 parent c74fde2 commit 834993e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amdsmi_cli/amdsmi_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -4559,7 +4559,7 @@ def set_value(self, args, multiple_devices=False, gpu=None, fan=None, perf_level
command = " ".join(sys.argv[1:])
raise AmdSmiRequiredCommandException(command, self.logger.format)
else:
if not any([args.clean_local_data]):
if not any([args.process_isolation is not None, args.clk_limit is not None]):
command = " ".join(sys.argv[1:])
raise AmdSmiRequiredCommandException(command, self.logger.format)

Expand Down

0 comments on commit 834993e

Please sign in to comment.