Commit 272e316
authored
Updates pytest benchmarks to use synthetic data and multi-GPUs (#3540)
closes #2810
closes #3282
* Adds the ability to use datasets read from files on disk and/or RMAT-generated synthetic datasets.
* Adds markers for "file_data" and "rmat_data" for use by benchmark scripts, based on cluster size.
* Adds CLI options for specifying the RMAT scale and edgefactor in order to generate datasets large enough for MNMG runs.
* Adds fixtures for use by `bench_algos.py` benchmarks which will instantiate graph objs based on dataset type and SG or MG markers.
* Updated `Dataset` class to allow instances to be used as test params and properly provide human-readable/deterministic test IDs.
* Added ability for `Dataset` ctor to take a .csf file as input, useful when a metadata.yaml file for a dataset has not been created yet.
* Added options to `get_test_data.sh` in the CI scripts to download a subset of datasets for C++ (to save time/space since most datasets aren't needed), and to only download the benchmark data for python (for use when running benchmarks as tests).
Authors:
- Rick Ratzel (https://github.com/rlratzel)
- Alex Barghi (https://github.com/alexbarghi-nv)
Approvers:
- Alex Barghi (https://github.com/alexbarghi-nv)
- Vibhu Jawa (https://github.com/VibhuJawa)
- Ray Douglass (https://github.com/raydouglass)
URL: #35401 parent 6eb4f0a commit 272e316
File tree
20 files changed
+763
-410
lines changed- benchmarks
- cugraph-dgl/pytest-based
- cugraph/pytest-based
- ci
- python
- cugraph-dgl/tests
- cugraph/cugraph
- dask/common
- experimental/datasets
- testing
- tests
- generators
- sampling
- utils
- pylibcugraph/pylibcugraph/testing
20 files changed
+763
-410
lines changedLines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 93 | + | |
| 94 | + | |
96 | 95 | | |
97 | | - | |
98 | 96 | | |
99 | 97 | | |
100 | 98 | | |
| |||
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
140 | | - | |
| 138 | + | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| |||
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
169 | | - | |
| 167 | + | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| |||
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
232 | | - | |
| 230 | + | |
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
| |||
0 commit comments