Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip DGX InfiniBand tests when "rc" transport is unavailable #701

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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