          if get_backend() == "cpu":
              # Cpu backends will not have this attribute
              logger.debug("Adding missing exclude gpus argument to namespace")
              setattr(arguments, "exclude_gpus", None)
  
          if arguments.exclude_gpus:
              if not all(idx.isdigit() for idx in arguments.exclude_gpus):
                  logger.error("GPUs passed to the ['-X', '--exclude-gpus'] argument must all be "
                               "integers.")
 
</s> remove         if not hasattr(arguments, "exclude_gpus"):
 </s> add         if get_backend() == "cpu": </s> remove         if GPUStats().exclude_all_devices and get_backend() != "cpu":
 </s> add         if GPUStats().exclude_all_devices: </s> remove         from lib.plaidml_tools import setup_plaidml  # pylint:disable=import-outside-toplevel
 </s> add         from lib.gpu_stats import setup_plaidml  # pylint:disable=import-outside-toplevel </s> remove         if get_backend() == "amd":
            plaidml_found = self._setup_amd(arguments)
            if not plaidml_found:
                safe_shutdown(got_error=True)
                sys.exit(1)
 </s> add         if get_backend() == "amd" and not self._setup_amd(arguments):
            safe_shutdown(got_error=True) </s> remove opencv-python==4.5.3.0
 </s> add opencv-python>4.5.3.0,<4.5.4.0
            return
          if get_backend() == "cpu":
              # Cpu backends will not have this attribute
              logger.debug("Adding missing exclude gpus argument to namespace")
              setattr(arguments, "exclude_gpus", None)
            return
  
          if arguments.exclude_gpus:
              if not all(idx.isdigit() for idx in arguments.exclude_gpus):
                  logger.error("GPUs passed to the ['-X', '--exclude-gpus'] argument must all be "
                               "integers.")
keep keep keep add keep keep keep keep keep
 Refactor lib.gpu_stats (#1218)

* inital gpu_stats refactor

* Add dummy CPU Backend

* Update Sphinx documentation 
lib/cli/launcher.py