pytorch/.github/requirements
2023-07-05 19:01:50 +00:00
..
conda-env-iOS [BE] Import Literal, Protocol, and Final from standard library typing as of Python 3.8+ (#94490) 2023-02-09 19:17:49 +00:00
conda-env-Linux-X64 [BE] Import Literal, Protocol, and Final from standard library typing as of Python 3.8+ (#94490) 2023-02-09 19:17:49 +00:00
conda-env-macOS-ARM64 [BE] Remove dependency on six and future (#94709) 2023-02-14 09:14:14 +00:00
conda-env-macOS-X64 [reland] add numpy typing plugin to mypy config (#94525) 2023-03-29 00:23:47 +00:00
pip-requirements-iOS.txt [BE] Remove dependency on six and future (#94709) 2023-02-14 09:14:14 +00:00
pip-requirements-macOS.txt Re-land: Turn translation validation on for tests and accuracy runs by default. (#104467) 2023-07-05 19:01:50 +00:00
README.md Cache conda and pip for IOS CI (#91359) 2022-12-30 17:52:20 +00:00
regenerate-requirements.txt [BE] Import Literal, Protocol, and Final from standard library typing as of Python 3.8+ (#94490) 2023-02-09 19:17:49 +00:00

Cached requirements and consolidation of conda and pip installation

At the moment, the installation of conda and pip dependencies happens at different places in the CI depending at the whim of different developers, which makes it very challenging to handle issues like network flakiness or upstream dependency failures gracefully. So, this center directory is created to gradually include all the conda environment and pip requirement files that are used to setup CI jobs. Not only it gives a clear picture of all the dependencies required by different CI jobs, but it also allows them to be cached properly to improve CI reliability.

The list of support files are as follows:

  • Conda:
    • conda-env-iOS. This is used by iOS build and test jobs to setup the conda environment
    • conda-env-macOS-ARM64. This is used by MacOS (m1, arm64) build and test jobs to setup the conda environment
    • conda-env-macOS-X64. This is use by MacOS (x86-64) build and test jobs to setup the conda environment
    • conda-env-Linux-X64. This is used by Linux buck build and test jobs to setup the conda environment
  • Pip:
    • pip-requirements-iOS.txt. This is used by iOS build and test jobs to setup the pip environment
    • pip-requirements-macOS.txt. This is used by MacOS build and test jobs to setup the pip environment