      import pynvml
      IS_MACOS = False
  
  
  class GPUStats():
      """ Holds information about system GPU(s) """
      def __init__(self, log=True):
          self.logger = None
          if log:
 
</s> remove             if not IS_MACOS:
 </s> add             if not IS_MACOS and not self.plaid: </s> remove         if IS_MACOS:
 </s> add         if self.plaid is not None:
            self.device_count = self.plaid.device_count
        elif IS_MACOS:
# Limited PlaidML/AMD Stats
try:
    from lib.plaidml_tools import PlaidMLStats as plaidlib  # pylint:disable=ungrouped-imports
except ImportError:
    plaidlib = None

      import pynvml
      IS_MACOS = False
  
# Limited PlaidML/AMD Stats
try:
    from lib.plaidml_tools import PlaidMLStats as plaidlib  # pylint:disable=ungrouped-imports
except ImportError:
    plaidlib = None

  
  class GPUStats():
      """ Holds information about system GPU(s) """
      def __init__(self, log=True):
          self.logger = None
          if log:
keep keep add keep keep keep keep keep keep
 Experimental AMD Support (#764)

* PlaidML support in setup.py

* Add AMD flag for plaidml support

* PlaidML - Use .plaidML file if present, otherwise default to largest available

* Update training info message for GUI

* Add AMD option to Windows Installer

* Add quiet keras.backend importer and minor sysinfo amend.

* plug PlaidMLStats into GPUStats

* Update Docs 
lib/gpu_stats.py