-
Notifications
You must be signed in to change notification settings - Fork 50
81 lines (73 loc) · 2.17 KB
/
gpu.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
name: GPU CI
on:
workflow_dispatch:
push:
branches:
- main
- "pull-request/[0-9]+"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
gpu-ci-tensorflow:
runs-on: linux-amd64-gpu-p100-latest-1
container:
image: nvcr.io/nvidia/merlin/merlin-tensorflow:nightly
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
options: --shm-size=1G
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: |
pip install tox
PYTEST_MARKERS="unit and not (examples or integration or notebook) and (singlegpu or not multigpu) $extra_pytest_markers" tox -e gpu
jobs:
gpu-ci-pytorch:
runs-on: linux-amd64-gpu-p100-latest-1
container:
image: nvcr.io/nvidia/merlin/merlin-pytorch:nightly
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
options: --shm-size=1G
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: |
pip install tox
PYTEST_MARKERS="unit and not (examples or integration or notebook) and (singlegpu or not multigpu) $extra_pytest_markers" tox -e gpu
jobs:
gpu-ci-tensorflow-examples:
runs-on: linux-amd64-gpu-p100-latest-1
container:
image: nvcr.io/nvidia/merlin/merlin-tensorflow:nightly
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
options: --shm-size=1G
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: |
pip install tox
PYTEST_MARKERS="(examples or notebook) $extra_pytest_markers" tox -e gpu
jobs:
gpu-ci-pytorch-examples:
runs-on: linux-amd64-gpu-p100-latest-1
container:
image: nvcr.io/nvidia/merlin/merlin-pytorch:nightly
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
options: --shm-size=1G
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: |
pip install tox
PYTEST_MARKERS="(examples or notebook) $extra_pytest_markers" tox -e gpu