Skip to content

Commit

Permalink
Add job to run NVTabular unit tests on GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverholworthy committed Apr 17, 2023
1 parent bc65f6e commit e24f2ba
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/merlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,11 @@ jobs:
name: "NVTabular (CPU)"
uses: ./.github/workflows/tox.yml
with:
env: test-nvtabular-cpu
env: test-nvtabular

nvtabular-gpu:
runs-on: 1GPU
name: "NVTabular (GPU)"
uses: ./.github/workflows/tox.yml
with:
env: test-nvtabular
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,13 @@ commands =
python -m pytest --cov-report term --cov merlin -rxs tests/unit


[testenv:test-nvtabular-cpu]
passenv=GIT_COMMIT
[testenv:test-nvtabular]
setenv =
TF_GPU_ALLOCATOR=cuda_malloc_async
passenv =
GIT_COMMIT
OPAL_PREFIX
CUDA_VISIBLE_DEVICES
sitepackages=true
allowlist_externals = git
deps =
Expand Down

0 comments on commit e24f2ba

Please sign in to comment.