          ``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", "cpu"))
  
      def __init__(self, updater: bool = False) -> None:
          self.conda_required_packages: List[Tuple[str, ...]] = [("tk", )]
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
 
</s> remove         self.backend: Optional[Literal["nvidia", "amd", "apple_silicon", "directml", "cpu"]] = None
 </s> add         self.backend: Optional[Literal["nvidia", "amd", "apple_silicon",
                                       "directml", "cpu", "rocm"]] = None </s> remove         inp = input("Please ensure your System Dependencies are met. Continue? [y/N] ")
 </s> add         text = "Please ensure your System Dependencies are met"
        if self._env.backend == "rocm":
            text += ("\r\nROCm users: Please ensure that your AMD GPU is supported by the "
                     "installed ROCm version before proceeding.")
        text += "\r\nContinue? [y/N] "
        inp = input(text) </s> remove     def update_tf_dep(self) -> None:
        """ Update Tensorflow Dependency """
        if self.is_conda or self.backend != "nvidia":
            # CPU/AMD doesn't need Cuda and Conda handles Cuda and cuDNN so nothing to do here
 </s> add     def _update_tf_dep_nvidia(self) -> None:
        """ Update the Tensorflow dependency for global Cuda installs """
        if self.is_conda:  # Conda handles Cuda and cuDNN so nothing to do here </s> remove ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml"]
 </s> add ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml", "rocm"] </s> remove     @classmethod
    def _ask_continue(cls) -> None:
 </s> add     def _ask_continue(self) -> None:
    _backends = (("nvidia", "amd", "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", "amd", "apple_silicon", "directml", "rocm", "cpu"))
  
      def __init__(self, updater: bool = False) -> None:
          self.conda_required_packages: List[Tuple[str, ...]] = [("tk", )]
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
keep keep keep keep replace keep keep keep keep keep
 Linux - ROCm (AMD) support 
setup.py