@@ -28,6 +28,7 @@ commands =
2828; Runs in: Github Actions
2929; Runs GPU-based tests.
3030allowlist_externals =
31+ bash
3132 horovodrun
3233deps =
3334 -rrequirements/test.txt
@@ -41,12 +42,15 @@ commands =
4142 python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git@{posargs:main}
4243 python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git@{posargs:main}
4344 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
48+ # Install distributed embeddings and check build
49+ bash examples/usecases/multi-gpu/install_distributed_embeddings.sh {envtmpdir}
4450 # Run multi-gpu tests marked with `horovod` marker
4551 horovodrun -np 2 sh examples/usecases/multi-gpu/hvd_wrapper.sh pytest -m horovod -rxs tests/unit
4652
4753[testenv:py38-horovod-cpu]
48- allowlist_externals =
49- bash
5054setenv =
5155 HOROVOD_WITH_MPI =1
5256 HOROVOD_WITH_TENSORFLOW =1
@@ -55,11 +59,6 @@ setenv =
5559commands =
5660 conda update --yes --name base --channel defaults conda
5761 conda env create --prefix {envdir}/env --file requirements/horovod-cpu-environment.yml --force
58- # Install horovod and check build
59- {envdir}/env/bin/python -m pip install horovod --no-cache-dir
60- {envdir}/env/bin/horovodrun --check-build
61- # Install distributed embeddings and check build
62- bash examples/usecases/multi-gpu/install_distributed_embeddings.sh {envtmpdir}
6362 # Install Merlin packages
6463 {envdir}/env/bin/python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git
6564 {envdir}/env/bin/python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/dataloader.git
0 commit comments