Skip to content

Commit 3bbc352

Browse files
Add job to run NVTabular unit tests on GPU
1 parent bc65f6e commit 3bbc352

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/merlin.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@ jobs:
3232
name: "NVTabular (CPU)"
3333
uses: ./.github/workflows/tox.yml
3434
with:
35-
env: test-nvtabular-cpu
35+
env: test-nvtabular
36+
37+
nvtabular-gpu:
38+
runs-on: 1GPU
39+
name: "NVTabular (GPU)"
40+
uses: ./.github/workflows/tox.yml
41+
with:
42+
env: test-nvtabular

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ commands =
5252
python -m pytest --cov-report term --cov merlin -rxs tests/unit
5353

5454

55-
[testenv:test-nvtabular-cpu]
55+
[testenv:test-nvtabular]
56+
setenv =
57+
TF_GPU_ALLOCATOR=cuda_malloc_async
58+
passenv =
59+
OPAL_PREFIX
60+
CUDA_VISIBLE_DEVICES
5661
passenv=GIT_COMMIT
5762
sitepackages=true
5863
allowlist_externals = git

0 commit comments

Comments
 (0)