              "Tensorflow supported versions: "
              "https://www.tensorflow.org/install/source#tested_build_configurations",
              self._env.cuda_version, self._env.cudnn_version)
  
          custom_tf = input("Location of custom tensorflow-gpu wheel (leave "
                            "blank to manually install): ")
          if not custom_tf:
              return
  
          custom_tf = os.path.realpath(os.path.expanduser(custom_tf))
          global _INSTALL_FAILED  # pylint:disable=global-statement
 
</s> remove             "tensorflow-gpu.\r\n"
 </s> add             "tensorflow.\r\n" </s> remove     backend = cast(ValidBackends, backend.lower())
 </s> add     backend = T.cast(ValidBackends, backend.lower()) </s> remove         if backend == "directml" and tf_ver != directml_ver:
            msg = (f"The supported Tensorflow version for DirectML cards is {directml_ver} but "
                   f"you have version {tf_ver} installed. Please install the correct version.")
            self._handle_import_error(msg)
        if backend == "rocm" and tf_ver != rocm_ver:
            msg = (f"The supported Tensorflow version for ROCm cards is {rocm_ver} but "
                   f"you have version {tf_ver} installed. Please install the correct version.")
            self._handle_import_error(msg)
 </s> add  </s> remove         backend = get_backend()
 </s> add  </s> remove     (2, 9)
 </s> add     (2, 10)
        custom_tf = input("Location of custom tensorflow wheel (leave blank to manually "
                          "install): ")
              "Tensorflow supported versions: "
              "https://www.tensorflow.org/install/source#tested_build_configurations",
              self._env.cuda_version, self._env.cudnn_version)
  
        custom_tf = input("Location of custom tensorflow wheel (leave blank to manually "
                          "install): ")
        custom_tf = input("Location of custom tensorflow wheel (leave blank to manually "
                          "install): ")
          if not custom_tf:
              return
  
          custom_tf = os.path.realpath(os.path.expanduser(custom_tf))
          global _INSTALL_FAILED  # pylint:disable=global-statement
keep keep keep keep replace replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
setup.py