@@ -28,9 +28,8 @@ commands =
2828; Runs in: Github Actions
2929; Runs GPU-based tests.
3030allowlist_externals =
31- sh
31+ bash
3232 horovodrun
33- examples/usecases/multi-gpu/install_distributed_embeddings.sh
3433deps =
3534 -rrequirements/test.txt
3635passenv =
@@ -43,8 +42,11 @@ commands =
4342 python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git@{posargs:main}
4443 python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git@{posargs:main}
4544 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
4648 # 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}
4850 # Run multi-gpu tests marked with `horovod` marker
4951 horovodrun -np 2 sh examples/usecases/multi-gpu/hvd_wrapper.sh pytest -m horovod -rxs tests/unit
5052
@@ -60,8 +62,6 @@ commands =
6062 # Install horovod and check build
6163 {envdir}/env/bin/python -m pip install horovod --no-cache-dir
6264 {envdir}/env/bin/horovodrun --check-build
63- # Install distributed embeddings and check build
64- sh examples/usecases/multi-gpu/install_distributed_embeddings.sh
6565 # Install Merlin packages
6666 {envdir}/env/bin/python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git
6767 {envdir}/env/bin/python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git
0 commit comments