Skip to content

multipy_runtime_python3.7

Pre-release
Pre-release
Compare
Choose a tag to compare
Migrate torch::deploy test infra to pytorch/test-infra (#274)

Summary:
With this PR, I propose to migrate [runtime_nightly.yaml](https://github.com/pytorch/multipy/blob/main/.github/workflows/runtime_nightly.yaml) and [runtime_tests.yaml](https://github.com/pytorch/multipy/blob/main/.github/workflows/runtime_tests.yaml) to use [pytorch/test_infra](https://github.com/pytorch/test-infra/wiki/).

For this, I introduce a new reusable workflow in [build_test_release.yaml](https://github.com/pytorch/multipy/pull/274/files#diff-e9376faa19019165b5c9299c6e79ef11820184ea067877dd574bf357b7a7e01b) which is called from both the runtime tests and nightly build pipeline. The workflow then uses `pytorch/test_infra's` [linux_job.yml](https://github.com/pytorch/test-infra/blob/main/.github/workflows/) to build, test, run examples and benchmark.

Example runs:
 - py37: https://github.com/pytorch/multipy/actions/runs/3708138595/jobs/6285368845
 - py38: https://github.com/pytorch/multipy/actions/runs/3708138595/jobs/6285368958
 - py39: https://github.com/pytorch/multipy/actions/runs/3708138595/jobs/6285369062
 - py310: https://github.com/pytorch/multipy/actions/runs/3708138595/jobs/6285368633

Issue: https://github.com/pytorch/multipy/issues/254

Pull Request resolved: https://github.com/pytorch/multipy/pull/274

Reviewed By: seemethere, PaliC

Differential Revision: D42069719

Pulled By: hatala91

fbshipit-source-id: c88a7863dda808a41ab49bfe56cc7b44e77566e4