  
      def _amd_ask_enable(self) -> None:
          """ Set backend to 'amd' to use plaidML if AMD support required """
          logger.info("AMD Support:\r\nThis version is deprecated and will be removed from a future "
                      "update.\r\n"
                      "AMD users should select 'DirectML support' if possible.\r\n"
                      "Nvidia Users MUST answer 'no' to this option.")
          i = input("Enable AMD Support? [y/N] ")
          if i in ("Y", "y"):
              logger.info("AMD Support Enabled")
              self._env.backend = "amd"
  
 
</s> remove         """ Get user input for AMD/Cuda/Docker """
 </s> add         """ Get user input for AMD/DirectML/ROCm/Cuda/Docker """ </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         self._env.update_tf_dep()
 </s> add         self._check_rocm()
                    "update.\r\n%s"
                    "Nvidia Users MUST answer 'no' to this option.", msg)
  
      def _amd_ask_enable(self) -> None:
          """ Set backend to 'amd' to use plaidML if AMD support required """
          logger.info("AMD Support:\r\nThis version is deprecated and will be removed from a future "
                    "update.\r\n%s"
                    "Nvidia Users MUST answer 'no' to this option.", msg)
                    "update.\r\n%s"
                    "Nvidia Users MUST answer 'no' to this option.", msg)
                    "update.\r\n%s"
                    "Nvidia Users MUST answer 'no' to this option.", msg)
          i = input("Enable AMD Support? [y/N] ")
          if i in ("Y", "y"):
              logger.info("AMD Support Enabled")
              self._env.backend = "amd"
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Linux - ROCm (AMD) support 
setup.py