          str
              The current GPU driver version
          """
          try:
              driver = pynvml.nvmlSystemGetDriverVersion().decode("utf-8")
          except pynvml.NVMLError as err:
              self._log("debug", f"Unable to obtain driver. Original error: {str(err)}")
              driver = "No Nvidia driver found"
          self._log("debug", f"GPU Driver: {driver}")
          return driver
 
</s> remove         names = [pynvml.nvmlDeviceGetName(handle).decode("utf-8")
 </s> add         names = [pynvml.nvmlDeviceGetName(handle) </s> remove             win = sys.getwindowsversion()
 </s> add             win = sys.getwindowsversion()  # type:ignore # pylint:disable=no-member </s> remove     print(f"Cmd: {''.join(cmd)}")
 </s> add     print(f"Cmd: {' '.join(cmd)}")
            driver = pynvml.nvmlSystemGetDriverVersion()
          str
              The current GPU driver version
          """
          try:
            driver = pynvml.nvmlSystemGetDriverVersion()
          except pynvml.NVMLError as err:
              self._log("debug", f"Unable to obtain driver. Original error: {str(err)}")
              driver = "No Nvidia driver found"
          self._log("debug", f"GPU Driver: {driver}")
          return driver
keep keep keep keep replace keep keep keep keep keep
 Update TF to 2.9
    - Update TF to 2.7 to 2.9
    - Bump dependencies
    - Remove decode from pynvml calls
    - force keras predict functions to non-verbose
    - update tests
    - update Tensorboard logging
    - Update docs 
lib/gpu_stats/nvidia.py