def METHOD_NAME(self) -> None:
    try:
        raw_stats = get_rocm_smi_stats()
        cards = []
        card_keys = [
            key for key in sorted(raw_stats.keys()) if key.startswith("card")
        ]
        for card_key in card_keys:
            card_stats = raw_stats[card_key]
            stats = self.parse_stats(card_stats)
            if stats:
                cards.append(stats)
        if cards:
            self.samples.append(cards)
    except (OSError, ValueError, TypeError, subprocess.CalledProcessError) as e:
        logger.exception(f"GPU stats error: {e}")