diff --git a/amdsmi_cli/amdsmi_commands.py b/amdsmi_cli/amdsmi_commands.py index 739234c8a6..9b456fb725 100644 --- a/amdsmi_cli/amdsmi_commands.py +++ b/amdsmi_cli/amdsmi_commands.py @@ -414,7 +414,7 @@ class AMDSMICommands(): # Remove amdsmi enum prefix vram_info['vram_type'] = vram_type.replace('VRAM_TYPE_', '').replace('_', '') - vram_info['vram_vendor'] = vram_type.replace('AMDSMI_VRAM_VENDOR__', '') + vram_info['vram_vendor'] = vram_vendor.replace('AMDSMI_VRAM_VENDOR__', '') if self.logger.is_human_readable_format(): vram_info['vram_size_mb'] = f"{vram_info['vram_size_mb']} MB"