forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
206 lines (186 loc) · 7.76 KB
/
periodic.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
name: periodic
on:
schedule:
- cron: 45 0,4,8,12,16,20 * * *
push:
tags:
- ciflow/periodic/*
- ciflow/all/*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}--${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true
jobs:
linux-bionic-cuda11_5-py3_7-gcc7-build:
name: linux-bionic-cuda11.5-py3.7-gcc7
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-bionic-cuda11.5-py3.7-gcc7
docker-image-name: pytorch-linux-bionic-cuda11.5-cudnn8-py3-gcc7
linux-bionic-cuda11_5-py3_7-gcc7-test:
name: linux-bionic-cuda11.5-py3.7-gcc7
uses: ./.github/workflows/_linux-test.yml
needs: linux-bionic-cuda11_5-py3_7-gcc7-build
with:
build-environment: linux-bionic-cuda11.5-py3.7-gcc7
docker-image: ${{ needs.linux-bionic-cuda11_5-py3_7-gcc7-build.outputs.docker-image }}
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
]}
linux-bionic-cuda11_6-py3_7-gcc7-build:
name: linux-bionic-cuda11.6-py3.7-gcc7
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-bionic-cuda11.6-py3.7-gcc7
docker-image-name: pytorch-linux-bionic-cuda11.6-cudnn8-py3-gcc7
linux-bionic-cuda11_6-py3_7-gcc7-test:
name: linux-bionic-cuda11.6-py3.7-gcc7
uses: ./.github/workflows/_linux-test.yml
needs: linux-bionic-cuda11_6-py3_7-gcc7-build
with:
build-environment: linux-bionic-cuda11.6-py3.7-gcc7
docker-image: ${{ needs.linux-bionic-cuda11_6-py3_7-gcc7-build.outputs.docker-image }}
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
]}
libtorch-linux-bionic-cuda11_5-py3_7-gcc7-build:
name: libtorch-linux-bionic-cuda11.5-py3.7-gcc7
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: libtorch-linux-bionic-cuda11.5-py3.7-gcc7
docker-image-name: pytorch-linux-bionic-cuda11.5-cudnn8-py3-gcc7
build-generates-artifacts: false
libtorch-linux-bionic-cuda11_6-py3_7-gcc7-build:
name: libtorch-linux-bionic-cuda11.6-py3.7-gcc7
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: libtorch-linux-bionic-cuda11.6-py3.7-gcc7
docker-image-name: pytorch-linux-bionic-cuda11.6-cudnn8-py3-gcc7
build-generates-artifacts: false
linux-xenial-cuda10_2-py3-gcc7-slow-gradcheck-build:
name: linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck
docker-image-name: pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7
linux-xenial-cuda10_2-py3-gcc7-slow-gradcheck-test:
name: linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck
uses: ./.github/workflows/_linux-test.yml
needs: linux-xenial-cuda10_2-py3-gcc7-slow-gradcheck-build
with:
build-environment: linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck
docker-image: ${{ needs.linux-xenial-cuda10_2-py3-gcc7-slow-gradcheck-build.outputs.docker-image }}
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
]}
linux-xenial-cuda11_3-py3_7-gcc7-debug-build:
name: linux-xenial-cuda11.3-py3.7-gcc7-debug
uses: ./.github/workflows/_linux-build.yml
with:
build-environment: linux-xenial-cuda11.3-py3.7-gcc7-debug
docker-image-name: pytorch-linux-xenial-cuda11.3-cudnn8-py3-gcc7
build-with-debug: true
linux-xenial-cuda11_3-py3_7-gcc7-debug-test:
name: linux-xenial-cuda11.3-py3.7-gcc7-debug
uses: ./.github/workflows/_linux-test.yml
needs: linux-xenial-cuda11_3-py3_7-gcc7-debug-build
with:
build-environment: linux-xenial-cuda11.3-py3.7-gcc7-debug
docker-image: ${{ needs.linux-xenial-cuda11_3-py3_7-gcc7-debug-build.outputs.docker-image }}
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 2, runner: "linux.4xlarge.nvidia.gpu" },
]}
win-vs2019-cuda11_5-py3-build:
name: win-vs2019-cuda11.5-py3
uses: ./.github/workflows/_win-build.yml
with:
build-environment: win-vs2019-cuda11.5-py3
cuda-version: "11.5"
win-vs2019-cuda11_5-py3-test:
name: win-vs2019-cuda11.5-py3
uses: ./.github/workflows/_win-test.yml
needs: win-vs2019-cuda11_5-py3-build
with:
build-environment: win-vs2019-cuda11.5-py3
cuda-version: "11.5"
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 2, runner: "windows.8xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 2, runner: "windows.8xlarge.nvidia.gpu" },
{ config: "force_on_cpu", shard: 1, num_shards: 1, runner: "windows.4xlarge" },
]}
win-vs2019-cuda11_6-py3-build:
name: win-vs2019-cuda11.6-py3
uses: ./.github/workflows/_win-build.yml
with:
build-environment: win-vs2019-cuda11.6-py3
cuda-version: "11.6"
win-vs2019-cuda11_6-py3-test:
name: win-vs2019-cuda11.6-py3
uses: ./.github/workflows/_win-test.yml
needs: win-vs2019-cuda11_6-py3-build
with:
build-environment: win-vs2019-cuda11.6-py3
cuda-version: "11.6"
test-matrix: |
{ include: [
{ config: "default", shard: 1, num_shards: 2, runner: "windows.8xlarge.nvidia.gpu" },
{ config: "default", shard: 2, num_shards: 2, runner: "windows.8xlarge.nvidia.gpu" },
{ config: "force_on_cpu", shard: 1, num_shards: 1, runner: "windows.4xlarge" },
]}
ios-12-5-1-arm64:
name: ios-12-5-1-arm64
uses: ./.github/workflows/_ios-build-test.yml
with:
build-environment: ios-12-5-1-arm64
ios-platform: OS
ios-arch: arm64
secrets:
IOS_CERT_KEY_2022: ${{ secrets.IOS_CERT_KEY_2022 }}
IOS_CERT_SECRET: ${{ secrets.IOS_CERT_SECRET}}
IOS_DEV_TEAM_ID: ${{ secrets.IOS_DEV_TEAM_ID}}
IOS_SIGN_KEY_2022: ${{ secrets.IOS_SIGN_KEY_2022 }}
ios-12-5-1-arm64-coreml:
name: ios-12-5-1-arm64-coreml
uses: ./.github/workflows/_ios-build-test.yml
with:
build-environment: ios-12-5-1-arm64-coreml
ios-platform: OS
ios-arch: arm64
secrets:
IOS_CERT_KEY_2022: ${{ secrets.IOS_CERT_KEY_2022 }}
IOS_CERT_SECRET: ${{ secrets.IOS_CERT_SECRET}}
IOS_DEV_TEAM_ID: ${{ secrets.IOS_DEV_TEAM_ID}}
IOS_SIGN_KEY_2022: ${{ secrets.IOS_SIGN_KEY_2022 }}
ios-12-5-1-arm64-custom-ops:
name: ios-12-5-1-arm64-custom-ops
uses: ./.github/workflows/_ios-build-test.yml
with:
build-environment: ios-12-5-1-arm64-custom-ops
ios-platform: OS
ios-arch: arm64
secrets:
IOS_CERT_KEY_2022: ${{ secrets.IOS_CERT_KEY_2022 }}
IOS_CERT_SECRET: ${{ secrets.IOS_CERT_SECRET}}
IOS_DEV_TEAM_ID: ${{ secrets.IOS_DEV_TEAM_ID}}
IOS_SIGN_KEY_2022: ${{ secrets.IOS_SIGN_KEY_2022 }}
ios-12-5-1-arm64-metal:
name: ios-12-5-1-arm64-metal
uses: ./.github/workflows/_ios-build-test.yml
with:
build-environment: ios-12-5-1-arm64-metal
ios-platform: OS
ios-arch: arm64
secrets:
IOS_CERT_KEY_2022: ${{ secrets.IOS_CERT_KEY_2022 }}
IOS_CERT_SECRET: ${{ secrets.IOS_CERT_SECRET}}
IOS_DEV_TEAM_ID: ${{ secrets.IOS_DEV_TEAM_ID}}
IOS_SIGN_KEY_2022: ${{ secrets.IOS_SIGN_KEY_2022 }}