          self.conda_required_packages: List[Tuple[str, ...]] = [("tk", )]
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
          self.is_installer: bool = False
          self.backend: Optional[Literal["nvidia", "amd", "apple_silicon", "directml", "cpu"]] = None
          self.enable_docker: bool = False
          self.required_packages: List[Tuple[str, List[Tuple[str, str]]]] = []
          self.missing_packages: List[Tuple[str, List[Tuple[str, str]]]] = []
          self.conda_missing_packages: List[Tuple[str, ...]] = []
          self.cuda_cudnn = ["", ""]
 
</s> remove     _backends = (("nvidia", "amd", "apple_silicon", "directml", "cpu"))
 </s> add     _backends = (("nvidia", "amd", "apple_silicon", "directml", "rocm", "cpu")) </s> remove ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml"]
 </s> add ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml", "rocm"] </s> remove                                                     "5": "amd"}
 </s> add                                                     "5": "rocm",
                                                    "6": "amd"} </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
        self.backend: Optional[Literal["nvidia", "amd", "apple_silicon",
                                       "directml", "cpu", "rocm"]] = 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
          self.is_installer: bool = False
        self.backend: Optional[Literal["nvidia", "amd", "apple_silicon",
                                       "directml", "cpu", "rocm"]] = None
          self.enable_docker: bool = False
          self.required_packages: List[Tuple[str, List[Tuple[str, str]]]] = []
          self.missing_packages: List[Tuple[str, List[Tuple[str, str]]]] = []
          self.conda_missing_packages: List[Tuple[str, ...]] = []
          self.cuda_cudnn = ["", ""]
keep keep keep keep replace keep keep keep keep keep
 Linux - ROCm (AMD) support 
setup.py