      def set_verbosity(loglevel):
          """ Set the PlaidML Verbosity """
          if _LOGGER:
              _LOGGER.debug("Setting PlaidML Loglevel: %s", loglevel)
          numeric_level = getattr(logging, loglevel.upper(), None)
          if numeric_level < 10:
              # DEBUG Logging
              plaidml._internal_set_vlog(1)  # pylint:disable=protected-access
          elif numeric_level < 20:
              # INFO Logging
 
</s> remove             from lib.plaidml_tools import setup_plaidml
            setup_plaidml(arguments.loglevel)
 </s> add             plaidml_found = self.setup_amd(arguments.loglevel)
            if not plaidml_found:
                safe_shutdown()
                exit(1) </s> remove                 self.plaid = plaidlib(log=log)
 </s> add                     loglevel = self.logger.getEffectiveLevel()
                self.plaid = plaidlib(loglevel=loglevel, log=log) </s> remove             _LOGGER.debug("Initializing: %s: (loglevel: %s)", self.__class__.__name__, loglevel)
 </s> add             _LOGGER.debug("Initializing: %s: (loglevel: %s, log: %s)",
                          self.__class__.__name__, loglevel, log)
        if isinstance(loglevel, int):
            numeric_level = loglevel
        else:
            numeric_level = getattr(logging, loglevel.upper(), None)
      def set_verbosity(loglevel):
          """ Set the PlaidML Verbosity """
          if _LOGGER:
              _LOGGER.debug("Setting PlaidML Loglevel: %s", loglevel)
        if isinstance(loglevel, int):
            numeric_level = loglevel
        else:
            numeric_level = getattr(logging, loglevel.upper(), None)
          if numeric_level < 10:
              # DEBUG Logging
              plaidml._internal_set_vlog(1)  # pylint:disable=protected-access
          elif numeric_level < 20:
              # INFO Logging
keep keep keep keep replace keep keep keep keep keep
 PlaidML Updates

- Add fan-amd details to Cli
- Update Extract Parallel Processing rules for plaidML
- Handle missing plaidML lib on amd flag
- Pass through correct loglevel from GPUStats to plaidml_tools 
lib/plaidml_tools.py