use rapids infra to run testing #630
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" MERLIN_BRANCH=$branch COMPARE_BRANCH=${{ github.base_ref }} 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" MERLIN_BRANCH=$branch COMPARE_BRANCH=${{ github.base_ref }} 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 | ||