Skip to content

Commit

Permalink
Skip DGX InfiniBand tests when "rc" transport unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Aug 9, 2021
1 parent b3bda5d commit 0a95914
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dask_cuda/tests/test_dgx.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ def check_ucx_options():
def test_ucx_infiniband_nvlink(params):
ucp = pytest.importorskip("ucp") # NOQA: F841

if params["enable_infiniband"]:
if not any([at.startswith("rc") for at in ucp.get_active_transports()]):
pytest.skip("No support available for 'rc' transport in UCX")

p = mp.Process(
target=_test_ucx_infiniband_nvlink,
args=(
Expand Down Expand Up @@ -370,6 +374,9 @@ def test_dask_cuda_worker_ucx_net_devices(enable_rdmacm):
if _ucx_110:
pytest.skip("UCX 1.10 and higher should rely on default UCX_NET_DEVICES")

if not any([at.startswith("rc") for at in ucp.get_active_transports()]):
pytest.skip("No support available for 'rc' transport in UCX")

p = mp.Process(
target=_test_dask_cuda_worker_ucx_net_devices, args=(enable_rdmacm,),
)
Expand Down

0 comments on commit 0a95914

Please sign in to comment.