From 360a4316b53d3ef961201938123a356f7038cd2b Mon Sep 17 00:00:00 2001 From: darren-amd Date: Wed, 12 Nov 2025 14:10:02 -0500 Subject: [PATCH] Set amdsmi_parser compute partition --help to list [ROCm/amdsmi commit: 4dfe74eb723826bb86595572a7fb0cf0fd5e0241] --- projects/amdsmi/amdsmi_cli/amdsmi_parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/amdsmi/amdsmi_cli/amdsmi_parser.py b/projects/amdsmi/amdsmi_cli/amdsmi_parser.py index 4929049f78..82d26d9de6 100644 --- a/projects/amdsmi/amdsmi_cli/amdsmi_parser.py +++ b/projects/amdsmi/amdsmi_cli/amdsmi_parser.py @@ -1227,7 +1227,8 @@ class AMDSMIParser(argparse.ArgumentParser): set_perf_det_help = f"Set performance determinism and select one of the corresponding performance levels:\n\t{perf_det_choices_str}" (accelerator_set_choices, _) = self.helpers.get_accelerator_choices_types_indices() memory_partition_choices_str = ", ".join(self.helpers.get_memory_partition_types()) - set_compute_partition_help = f"Set one of the following the accelerator TYPE or profile INDEX:\n\t{accelerator_set_choices}.\n\tUse `sudo amd-smi partition --accelerator` to find acceptable values." + accelerator_set_choices_str = ", ".join(accelerator_set_choices) + set_compute_partition_help = f"Set one of the following accelerator TYPE or profile INDEX:\n\t{accelerator_set_choices_str}.\n\tUse `sudo amd-smi partition --accelerator` to find acceptable values." set_memory_partition_help = f"Set one of the following the memory partition modes:\n\t{memory_partition_choices_str}" soc_pstate_help_info = ", ".join(self.helpers.get_soc_pstates()) set_soc_pstate_help = f"Set the GPU soc pstate policy using policy id, an integer. Valid id's include:\n\t{soc_pstate_help_info}"