  import platform
  
  if platform.system() == 'Darwin':
      import pynvx  # pylint: disable=import-error
      IS_MACOS = True
  else:
 
</s> remove from lib.logger import get_loglevel
 </s> add  </s> remove logger = logging.getLogger(__name__)  # pylint: disable=invalid-name

 </s> add  </s> remove                         pynvml.NVMLError_NoPermission):  # pylint: disable=no-member
                    self.initialized = True
                    return
 </s> add                         pynvml.NVMLError_NoPermission) as err:  # pylint: disable=no-member
                    if plaidlib is not None:
                        self.plaid = plaidlib(log=log)
                    else:
                        raise err
from lib.utils import keras_backend_quiet

K = keras_backend_quiet()

  import platform
  
from lib.utils import keras_backend_quiet

K = keras_backend_quiet()

  if platform.system() == 'Darwin':
      import pynvx  # pylint: disable=import-error
      IS_MACOS = True
  else:
keep add 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