          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 = ["", ""]
  
          self._process_arguments()
          self._check_permission()
          self._check_system()
          self._check_python()
 
</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     _backends = (("nvidia", "amd", "apple_silicon", "directml", "cpu"))
 </s> add     _backends = (("nvidia", "amd", "apple_silicon", "directml", "rocm", "cpu")) </s> remove                                                     "5": "amd"}
 </s> add                                                     "5": "rocm",
                                                    "6": "amd"} </s> remove ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml"]
 </s> add ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon", "directml", "rocm"]
        self.rocm_version: Tuple[int, ...] = (0, 0, 0)
          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 = ["", ""]
        self.rocm_version: Tuple[int, ...] = (0, 0, 0)
  
          self._process_arguments()
          self._check_permission()
          self._check_system()
          self._check_python()
keep keep keep add keep keep keep keep keep
 Linux - ROCm (AMD) support 
setup.py