forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 2.46 KB
/
inductor-perf-test-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: inductor-A100-perf-nightly
on:
schedule:
- cron: 0 7 * * *
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
linux-bionic-cuda11_8-py3_10-gcc7-inductor-build:
name: cuda11.8-py3.10-gcc7-sm80
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-bionic-cuda11.8-py3.10-gcc7-sm80
docker-image-name: pytorch-linux-bionic-cuda11.8-cudnn8-py3-gcc7
cuda-arch-list: '8.0'
test-matrix: |
{ include: [
{ config: "inductor_huggingface_perf", shard: 1, num_shards: 3, runner: "linux.gcp.a100.large" },
{ config: "inductor_huggingface_perf", shard: 2, num_shards: 3, runner: "linux.gcp.a100.large" },
{ config: "inductor_huggingface_perf", shard: 3, num_shards: 3, runner: "linux.gcp.a100.large" },
{ config: "inductor_timm_perf", shard: 1, num_shards: 6, runner: "linux.gcp.a100.large" },
{ config: "inductor_timm_perf", shard: 2, num_shards: 6, runner: "linux.gcp.a100.large" },
{ config: "inductor_timm_perf", shard: 3, num_shards: 6, runner: "linux.gcp.a100.large" },
{ config: "inductor_timm_perf", shard: 4, num_shards: 6, runner: "linux.gcp.a100.large" },
{ config: "inductor_timm_perf", shard: 5, num_shards: 6, runner: "linux.gcp.a100.large" },
{ config: "inductor_timm_perf", shard: 6, num_shards: 6, runner: "linux.gcp.a100.large" },
{ config: "inductor_torchbench_perf", shard: 1, num_shards: 3, runner: "linux.gcp.a100.large" },
{ config: "inductor_torchbench_perf", shard: 2, num_shards: 3, runner: "linux.gcp.a100.large" },
{ config: "inductor_torchbench_perf", shard: 3, num_shards: 3, runner: "linux.gcp.a100.large" },
]}
linux-bionic-cuda11_8-py3_10-gcc7-inductor-test:
name: cuda11.8-py3.10-gcc7-sm80
uses: ./.github/workflows/_linux-test.yml
needs: linux-bionic-cuda11_8-py3_10-gcc7-inductor-build
with:
build-environment: linux-bionic-cuda11.8-py3.10-gcc7-sm80
docker-image: ${{ needs.linux-bionic-cuda11_8-py3_10-gcc7-inductor-build.outputs.docker-image }}
test-matrix: ${{ needs.linux-bionic-cuda11_8-py3_10-gcc7-inductor-build.outputs.test-matrix }}
use-gha: anything-non-empty-to-use-gha
timeout-minutes: 720