pytorch/.github/requirements
Jeff Moe b8fc24e092 Upstream v2.1.0 2023-11-08 09:13:36 -07:00
..
README.md Forklet of Pytorch 2023-11-08 09:01:59 -07:00
conda-env-Linux-X64 Forklet of Pytorch 2023-11-08 09:01:59 -07:00
conda-env-iOS Forklet of Pytorch 2023-11-08 09:01:59 -07:00
conda-env-macOS-ARM64 Upstream v2.1.0 2023-11-08 09:13:36 -07:00
conda-env-macOS-X64 Upstream v2.1.0 2023-11-08 09:13:36 -07:00
pip-requirements-iOS.txt Forklet of Pytorch 2023-11-08 09:01:59 -07:00
pip-requirements-macOS.txt Upstream v2.1.0 2023-11-08 09:13:36 -07:00
regenerate-requirements.txt Forklet of Pytorch 2023-11-08 09:01:59 -07:00

README.md

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