Skip to content

Commit c1528b5

Browse files
Enable nightly builds via GitHub Actions (facebookresearch#3467)
Summary: Pull Request resolved: facebookresearch#3467 1. Cron is scheduled to execute at 1:10am UTC. This is per GitHub's recommendation to avoid hotspots. The docs mention that when GH backend gets overloaded, they can drop scheduled jobs which we want to avoid so we scheduled off hour, off midnight. 2. The plan is to let these nightlies run once and, if successful, then disable them in GitHub UI to perform validation. Also disable if things break and need to be fixed of course. Reviewed By: algoriddle Differential Revision: D57602833 fbshipit-source-id: 4f4d9abbaa5ed3d1edb024ea4dd3f87aa78dd9b5
1 parent a60a9e5 commit c1528b5

File tree

1 file changed

+138
-0
lines changed

1 file changed

+138
-0
lines changed

.github/workflows/nightly.yml

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
name: Nightly
2+
on:
3+
schedule:
4+
- cron: '1 10 * * *'
5+
env:
6+
OMP_NUM_THREADS: '10'
7+
MKL_THREADING_LAYER: GNU
8+
jobs:
9+
linux-x86_64-nightly:
10+
name: Linux x86_64 nightlies
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
fetch-tags: true
18+
- uses: ./.github/actions/build_conda
19+
env:
20+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
21+
with:
22+
label: nightly
23+
linux-x86_64-GPU-CUDA-11-4-4-nightly:
24+
name: Linux x86_64 GPU nightlies (CUDA 11.4.4)
25+
runs-on: 4-core-ubuntu-gpu-t4
26+
env:
27+
CUDA_ARCHS: "60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
fetch-tags: true
34+
- uses: ./.github/actions/build_conda
35+
env:
36+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
37+
with:
38+
label: nightly
39+
cuda: "11.4.4"
40+
compiler_version: "11.2"
41+
linux-x86_64-GPU-RAFT-CUDA11-8-0-nightly:
42+
name: Linux x86_64 GPU w/ RAFT nightlies (CUDA 11.8.0)
43+
runs-on: 4-core-ubuntu-gpu-t4
44+
env:
45+
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
46+
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v4
49+
with:
50+
fetch-depth: 0
51+
fetch-tags: true
52+
- uses: ./.github/actions/build_conda
53+
env:
54+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
55+
with:
56+
label: nightly
57+
raft: "ON"
58+
cuda: "11.8.0"
59+
compiler_version: "11.2"
60+
linux-x86_64-GPU-CUDA-12-1-1-nightly:
61+
name: Linux x86_64 GPU nightlies (CUDA 12.1.1)
62+
runs-on: 4-core-ubuntu-gpu-t4
63+
env:
64+
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
65+
steps:
66+
- name: Checkout
67+
uses: actions/checkout@v4
68+
with:
69+
fetch-depth: 0
70+
fetch-tags: true
71+
- uses: ./.github/actions/build_conda
72+
env:
73+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
74+
with:
75+
label: nightly
76+
cuda: "12.1.1"
77+
compiler_version: "11.2"
78+
linux-x86_64-GPU-RAFT-CUDA12-1-1-nightly:
79+
name: Linux x86_64 GPU w/ RAFT nightlies (CUDA 12.1.1)
80+
runs-on: 4-core-ubuntu-gpu-t4
81+
env:
82+
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
83+
steps:
84+
- name: Checkout
85+
uses: actions/checkout@v4
86+
with:
87+
fetch-depth: 0
88+
fetch-tags: true
89+
- uses: ./.github/actions/build_conda
90+
env:
91+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
92+
with:
93+
label: nightly
94+
raft: "ON"
95+
cuda: "12.1.1"
96+
compiler_version: "11.2"
97+
windows-x86_64-nightly:
98+
name: Windows x86_64 nightlies
99+
runs-on: windows-2019
100+
steps:
101+
- name: Checkout
102+
uses: actions/checkout@v4
103+
with:
104+
fetch-depth: 0
105+
fetch-tags: true
106+
- uses: ./.github/actions/build_conda
107+
env:
108+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
109+
with:
110+
label: nightly
111+
osx-arm64-nightly:
112+
name: OSX arm64 nightlies
113+
runs-on: macos-14
114+
steps:
115+
- name: Checkout
116+
uses: actions/checkout@v4
117+
with:
118+
fetch-depth: 0
119+
fetch-tags: true
120+
- uses: ./.github/actions/build_conda
121+
env:
122+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
123+
with:
124+
label: nightly
125+
linux-arm64-nightly:
126+
name: Linux arm64 nightlies
127+
runs-on: 2-core-ubuntu-arm
128+
steps:
129+
- name: Checkout
130+
uses: actions/checkout@v4
131+
with:
132+
fetch-depth: 0
133+
fetch-tags: true
134+
- uses: ./.github/actions/build_conda
135+
env:
136+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
137+
with:
138+
label: nightly

0 commit comments

Comments
 (0)