          self.cuda_version: Optional[str] = None
          self.cudnn_version: Optional[str] = None
  
          self._os: str = platform.system().lower()
          self._cuda_keys: List[str] = [key
                                        for key in os.environ
                                        if key.lower().startswith("cuda_path_v")]
          self._cudnn_header_files: List[str] = ["cudnn_version.h", "cudnn.h"]
          logger.debug("cuda keys: %s, cudnn header files: %s",
                       self._cuda_keys, self._cudnn_header_files)
 
</s> remove         self._cudnn_header_files: List[str] = ["cudnn_version.h", "cudnn.h"]
 </s> add         self._cudnn_header_files: list[str] = ["cudnn_version.h", "cudnn.h"] </s> remove         self.cuda_path: Optional[str] = None
        self.cuda_version: Optional[str] = None
        self.cudnn_version: Optional[str] = None
 </s> add         self.cuda_path: str | None = None
        self.cuda_version: str | None = None
        self.cudnn_version: str | None = None </s> remove                  file_type: Optional[_FILETYPE],
                 title: Optional[str] = None,
                 initial_folder: Optional[str] = None,
                 initial_file: Optional[str] = None,
                 command: Optional[str] = None,
                 action: Optional[str] = None,
                 variable: Optional[str] = None,
                 parent: Optional[tk.Frame] = None) -> None:
 </s> add                  file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None: </s> remove         self._pathoutput: Optional[str] = None
 </s> add         self._pathoutput: str | None = None </s> remove                  git_model_id: Optional[int] = None,
                 model_filename: Optional[Union[str, List[str]]] = None,
                 configfile: Optional[str] = None,
 </s> add                  git_model_id: int | None = None,
                 model_filename: str | list[str] | None = None,
                 configfile: str | None = None,
        self._cuda_keys: list[str] = [key
          self.cuda_version: Optional[str] = None
          self.cudnn_version: Optional[str] = None
  
          self._os: str = platform.system().lower()
        self._cuda_keys: list[str] = [key
                                        for key in os.environ
                                        if key.lower().startswith("cuda_path_v")]
          self._cudnn_header_files: List[str] = ["cudnn_version.h", "cudnn.h"]
          logger.debug("cuda keys: %s, cudnn header files: %s",
                       self._cuda_keys, self._cudnn_header_files)
keep keep keep keep 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