code: def _gpu_header(self):
      if not self.nvml:
          return {}
  
      self.nvml.nvmlInit()
      self.n_gpu = self.nvml.nvmlDeviceGetCount()
      res = {"gpus": self.n_gpu}
      for i in range(self.n_gpu):
          handle = self.nvml.nvmlDeviceGetHandleByIndex(i)
          res.update(
              {
                  f"gpu.name.{i}": self.nvml.nvmlDeviceGetName(handle),
              }
          )
      self.nvml.nvmlShutdown()
  
      return res
  
imports: import time
  from pathlib import Path
  import psutil
  from labml import logger
  from labml.internal.computer.monitor.process import ProcessMonitor
  from labml.logger import Text
  from labml.utils.notice import labml_notice
label_desc: Use image node_id 4 for calling the Scanner obj's underlying member method code with example usage: obj._gpu_header() and returns: res, dict