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

Re-configure benchmarking devices & add markers to bench_cugraph_uniform_neighbor_sample #4561

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
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
_seed = 42


###############################################################################
# Helpers
###############################################################################


def create_graph(graph_data):
"""
Create a graph instance based on the data to be loaded/generated, return a
Expand Down Expand Up @@ -107,17 +112,13 @@ def create_mg_graph(graph_data):
Create a graph instance based on the data to be loaded/generated, return a
tuple containing (graph_obj, num_verts, client, cluster)
"""
# range starts at 1 to let let 0 be used by benchmark/client process
visible_devices = os.getenv("DASK_WORKER_DEVICES", "1,2,3,4")

(client, cluster) = start_dask_client(
# enable_tcp_over_ucx=True,
# enable_infiniband=False,
# enable_nvlink=True,
# enable_rdmacm=False,
protocol="ucx",
rmm_pool_size="28GB",
dask_worker_devices=visible_devices,
)
rmm.reinitialize(pool_allocator=True)

Expand Down Expand Up @@ -261,6 +262,9 @@ def uns_func(*args, **kwargs):

################################################################################
# Benchmarks
###############################################################################
@pytest.mark.managedmem_off
@pytest.mark.poolallocator_on
@pytest.mark.parametrize("batch_size", params.batch_sizes.values())
@pytest.mark.parametrize("fanout", [params.fanout_10_25, params.fanout_5_10_15])
@pytest.mark.parametrize(
Expand Down
Loading