From f7e1ceafaa8483f6aeb7353373dcccc2901c33ba Mon Sep 17 00:00:00 2001 From: Ralph Liu <137829296+nv-rliu@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:20:32 -0400 Subject: [PATCH] Remove Warnings and Timeout from `bench_cugraph_uniform_neighbor_sample.py` (#4631) This PR adds two arguments (`use_legacy_names=False`, `with_edge_properties=True`) to suppress warnings from `bench_cugraph_uniform_neighbor_sample.py` and reduces the number of fan-out combinations being run in the nightlies. Authors: - Ralph Liu (https://github.com/nv-rliu) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: https://github.com/rapidsai/cugraph/pull/4631 --- .../pytest-based/bench_cugraph_uniform_neighbor_sample.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/benchmarks/cugraph/pytest-based/bench_cugraph_uniform_neighbor_sample.py b/benchmarks/cugraph/pytest-based/bench_cugraph_uniform_neighbor_sample.py index 8c46095a7da..083acdde2f4 100644 --- a/benchmarks/cugraph/pytest-based/bench_cugraph_uniform_neighbor_sample.py +++ b/benchmarks/cugraph/pytest-based/bench_cugraph_uniform_neighbor_sample.py @@ -266,7 +266,7 @@ def uns_func(*args, **kwargs): @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("fanout", [params.fanout_10_25]) @pytest.mark.parametrize( "with_replacement", [False], ids=lambda v: f"with_replacement={v}" ) @@ -287,6 +287,8 @@ def bench_cugraph_uniform_neighbor_sample( start_list=uns_args["start_list"], fanout_vals=uns_args["fanout"], with_replacement=uns_args["with_replacement"], + use_legacy_names=False, + with_edge_properties=True, ) """ dtmap = {"int32": 32 // 8, "int64": 64 // 8}