@@ -28,9 +28,8 @@ commands =
28
28
; Runs in: Github Actions
29
29
; Runs GPU-based tests.
30
30
allowlist_externals =
31
- sh
31
+ bash
32
32
horovodrun
33
- examples/usecases/multi-gpu/install_distributed_embeddings.sh
34
33
deps =
35
34
-rrequirements/test.txt
36
35
passenv =
@@ -43,8 +42,11 @@ commands =
43
42
python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git@{posargs:main}
44
43
python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git@{posargs:main}
45
44
python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/nvtabular.git@{posargs:main}
45
+ # Reinstall Horovod using `pip install --no-cache-dir` to build with the new version.
46
+ python -m pip install horovod --no-cache-dir
47
+ horovodrun --check-build
46
48
# Install distributed embeddings and check build
47
- sh examples/usecases/multi-gpu/install_distributed_embeddings.sh
49
+ bash examples/usecases/multi-gpu/install_distributed_embeddings.sh {envtmpdir}
48
50
# Run multi-gpu tests marked with `horovod` marker
49
51
horovodrun -np 2 sh examples/usecases/multi-gpu/hvd_wrapper.sh pytest -m horovod -rxs tests/unit
50
52
@@ -60,8 +62,6 @@ commands =
60
62
# Install horovod and check build
61
63
{envdir}/env/bin/python -m pip install horovod --no-cache-dir
62
64
{envdir}/env/bin/horovodrun --check-build
63
- # Install distributed embeddings and check build
64
- sh examples/usecases/multi-gpu/install_distributed_embeddings.sh
65
65
# Install Merlin packages
66
66
{envdir}/env/bin/python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git
67
67
{envdir}/env/bin/python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git
0 commit comments