          ``True`` if the script is being called by Faceswap's internal updater. ``False`` if full
          setup is running. Default: ``False``
      """
  
      _backends = (("nvidia", "amd", "apple_silicon", "directml", "rocm", "cpu"))
  
      def __init__(self, updater: bool = False) -> None:
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
          self.is_installer: bool = False
 
</s> remove         self.backend: Optional[Literal["nvidia", "amd", "apple_silicon",
 </s> add         self.backend: Optional[Literal["nvidia", "apple_silicon", </s> remove                  arguments: "Namespace",
 </s> add                  arguments: Namespace, </s> remove 
        Notes
        -----
        Clip-norm is ballooning VRAM usage, which is not expected behavior and may be a bug in
        Keras/Tensorflow.

        PlaidML has a bug regarding the clip-norm parameter See:
        https://github.com/plaidml/plaidml/issues/228. We workaround by simply not adding this
        parameter for AMD backend users.
 </s> add  </s> remove     def __init__(self, saved_model: keras.models.Model, switch_sides: bool) -> None:
 </s> add     def __init__(self, saved_model: tf.keras.models.Model, switch_sides: bool) -> None: </s> remove     no_amd: bool = False
    tf_min: Tuple[int, int] = (2, 0)
    scaling: Tuple[int, int] = (0, 1)
 </s> add     tf_min: T.Tuple[int, int] = (2, 0)
    scaling: T.Tuple[int, int] = (0, 1)
    _backends = (("nvidia", "apple_silicon", "directml", "rocm", "cpu"))
          ``True`` if the script is being called by Faceswap's internal updater. ``False`` if full
          setup is running. Default: ``False``
      """
  
    _backends = (("nvidia", "apple_silicon", "directml", "rocm", "cpu"))
  
      def __init__(self, updater: bool = False) -> None:
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
          self.is_installer: bool = False
keep keep keep keep replace keep keep keep keep keep
 Remove plaidML support (#1325)

* Remove PlaidML reference from readme files

* Remove AMD option from installers

* remove amd requirements and update setup.py

* remove plaidml test from CI workflow

* gpustats: remove plaidml backend

* plaid removals:
  - faceswap.py - python version check
  - setup.cfg - plaidml typing ignore
  - lib.keras_utils - All plaid code
  - lib.launcher.py - All plaidml checks and configuration

* remove tf2.2 specific code from GUI event reader

* lib.model - remove all plaidml implementations

* plugins.extract - remove plaidml code

* plugins.train remove plaidml code

* lib.convert - remove plaidml code

* tools.model: remove plaidml code

* Remove plaidML tests from unit tests

* remove plaidml_utils and docsting cleanups

* Remove plaidML refs from configs

* fix keras imports 
setup.py