  import platform
  
  from lib.utils import get_backend
  
  from ._base import set_exclude_devices
  
  backend = get_backend()
  
  if backend == "nvidia" and platform.system().lower() == "darwin":
      from .nvidia_apple import NvidiaAppleStats as GPUStats  # type:ignore
 
</s> remove from lib.gpu_stats import GPUStats
 </s> add from lib.gpu_stats import GPUStats, GPUInfo </s> remove         self._gpu = GPUStats(log=False).sys_info
 </s> add         self._gpu = self._get_gpu_info() </s> remove Unit tests for lib.utils
 </s> add Unit tests for :class:`~lib.utils` module
from ._base import set_exclude_devices, GPUInfo
  import platform
  
  from lib.utils import get_backend
  
from ._base import set_exclude_devices, GPUInfo
  
  backend = get_backend()
  
  if backend == "nvidia" and platform.system().lower() == "darwin":
      from .nvidia_apple import NvidiaAppleStats as GPUStats  # type:ignore
keep keep keep keep replace keep keep keep keep keep
 bugfix: sysinfo
  - Fix getting free Vram on Nvidia
  - Don't halt sysinfo on GPU stats error
  - lib.sysinfo unit test 
lib/gpu_stats/__init__.py