          self._check_rocm()
          if self._env.os_version[0] == "Windows":
              self._tips.pip()
  
      def _directml_ask_enable(self) -> None:
          """ Set backend to 'directml' if OS is Windows and DirectML support required """
          if self._env.os_version[0] != "Windows":
              return
          logger.info("DirectML support:\r\nIf you are using an AMD or Intel GPU, then select 'yes'."
 
</s> remove         self._env.update_tf_dep()
 </s> add         self._check_rocm() </s> remove                     "update.\r\n"
                    "AMD users should select 'DirectML support' if possible.\r\n"
                    "Nvidia Users MUST answer 'no' to this option.")
 </s> add                     "update.\r\n%s"
                    "Nvidia Users MUST answer 'no' to this option.", msg) </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
    def _rocm_ask_enable(self) -> None:
        """ Set backend to 'rocm' if OS is Linux and ROCm support required """
        if self._env.os_version[0] != "Linux":
            return
        logger.info("ROCm support:\r\nIf you are using an AMD GPU, then select 'yes'."
                    "\r\nCPU/non-AMD GPU users should answer 'no'.\r\n")
        i = input("Enable ROCm Support? [y/N] ")
        if i in ("Y", "y"):
            logger.info("ROCm Support Enabled")
            self._env.backend = "rocm"

          self._check_rocm()
          if self._env.os_version[0] == "Windows":
              self._tips.pip()
  
    def _rocm_ask_enable(self) -> None:
        """ Set backend to 'rocm' if OS is Linux and ROCm support required """
        if self._env.os_version[0] != "Linux":
            return
        logger.info("ROCm support:\r\nIf you are using an AMD GPU, then select 'yes'."
                    "\r\nCPU/non-AMD GPU users should answer 'no'.\r\n")
        i = input("Enable ROCm Support? [y/N] ")
        if i in ("Y", "y"):
            logger.info("ROCm Support Enabled")
            self._env.backend = "rocm"

      def _directml_ask_enable(self) -> None:
          """ Set backend to 'directml' if OS is Windows and DirectML support required """
          if self._env.os_version[0] != "Windows":
              return
          logger.info("DirectML support:\r\nIf you are using an AMD or Intel GPU, then select 'yes'."
keep keep keep add keep keep keep keep keep
 Linux - ROCm (AMD) support 
setup.py