  _video_extensions = [  # pylint:disable=invalid-name
      ".avi", ".flv", ".mkv", ".mov", ".mp4", ".mpeg", ".mpg", ".webm", ".wmv",
      ".ts", ".vob"]
  _TF_VERS: Optional[Tuple[int, int]] = None
  ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml"]
  
  
  class _Backend():  # pylint:disable=too-few-public-methods
      """ Return the backend from config/.faceswap of from the `FACESWAP_BACKEND` Environment
      Variable.
 
</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                                                     "5": "amd"}
 </s> add                                                     "5": "rocm",
                                                    "6": "amd"} </s> remove     _backends = (("nvidia", "amd", "apple_silicon", "directml", "cpu"))
 </s> add     _backends = (("nvidia", "amd", "apple_silicon", "directml", "rocm", "cpu")) </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
ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml", "rocm"]
  _video_extensions = [  # pylint:disable=invalid-name
      ".avi", ".flv", ".mkv", ".mov", ".mp4", ".mpeg", ".mpg", ".webm", ".wmv",
      ".ts", ".vob"]
  _TF_VERS: Optional[Tuple[int, int]] = None
ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml", "rocm"]
  
  
  class _Backend():  # pylint:disable=too-few-public-methods
      """ Return the backend from config/.faceswap of from the `FACESWAP_BACKEND` Environment
      Variable.
keep keep keep keep replace keep keep keep keep keep
 Linux - ROCm (AMD) support 
lib/utils.py