pytorch
3baeeb3f - Added Azure Pipelines build steps for PyTorch (#54039)

Commit
3 years ago
Added Azure Pipelines build steps for PyTorch (#54039) Summary: This PR adds Azure Pipelines build steps for PyTorch. There are 3 pipelines that are added. 1) CI Build - Runs when a PR is opened or when new commits to an open PR is added. This build must succeed before the PR can be merged. - Currently only TestTorch unit tests are run. - Only the CI Build configurations are run. 2) Daily Build - Runs once a day during inactive hours to ensure the current PyTorch repo performs as expected. - Runs all unit tests. - Note: I do not have access to the current [determine-from](https://github.com/pytorch/pytorch/blob/b9e900ee525eeaa601aefdeadaf89c6e1a3085e8/test/run_test.py#L737) unit tests that are skipped on Windows builds. This `determine-from` filter can be added once a clear way to skip certain unit tests given the build configuration is explained. - Runs on All Build configurations. 3) Official Build - Runs once a day during inactive hours to publish official PyTorch artifacts to Azure DevOps Artifacts for consumption. - No unit tests are run. - Runs in three stages: Build, Verify, Publish, where PyTorch is built, then its wheel is installed in a clean Conda environment for verification, and then the wheel is published to Azure Artifacts as a Universal Package. - Runs on All Build configurations. Ubuntu builds run on Docker with the specified Dockerfile configuration. Windows builds run directly on configured Windows VMs (CPU, CUDA/cuDNN) CI Build configurations: 1. Ubuntu 18.04 1. Python 3.9 a. CUDA 11.2/cuDNN 8.1.0 2. Python 3.8 a. CPU 2. Windows 2019 1. Python 3.8 b. CUDA 10.2/cuDNN 7.6.5 2. Python 3.7 a. CPU All Build configurations: 1. Ubuntu 18.04 1. Python 3.9 a. CUDA 11.2/cuDNN 8.1.0 2. Python 3.8 a. CPU b. CUDA 10.2/cuDNN 8.1.0 3. Python 3.7 a. CPU b. CUDA 10.1/cuDNN 7.6.5 2. Windows 2019 1. Python 3.9 a. CUDA 11.2/cuDNN 8.1.0 2. Python 3.8 a. CPU b. CUDA 10.2/cuDNN 7.6.5 3. Python 3.7 a. CPU b. CUDA 10.1/cuDNN 7.6.4 Pull Request resolved: https://github.com/pytorch/pytorch/pull/54039 Reviewed By: ezyang Differential Revision: D27373310 Pulled By: malfet fbshipit-source-id: 06dcfe2d99da0e9876b6deb224272800dae46028
Author
Parents
Loading