-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-24.10' into publish_xml
- Loading branch information
Showing
191 changed files
with
12,948 additions
and
3,730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## `nx-cugraph` Benchmarks | ||
|
||
### Overview | ||
|
||
This directory contains a set of scripts designed to benchmark NetworkX with the `nx-cugraph` backend and deliver a report that summarizes the speed-up and runtime deltas over default NetworkX. | ||
|
||
Our current benchmarks provide the following datasets: | ||
|
||
| Dataset | Nodes | Edges | Directed | | ||
| -------- | ------- | ------- | ------- | | ||
| netscience | 1,461 | 5,484 | Yes | | ||
| email-Eu-core | 1,005 | 25,571 | Yes | | ||
| cit-Patents | 3,774,768 | 16,518,948 | Yes | | ||
| hollywood | 1,139,905 | 57,515,616 | No | | ||
| soc-LiveJournal1 | 4,847,571 | 68,993,773 | Yes | | ||
|
||
|
||
|
||
### Scripts | ||
|
||
#### 1. `run-main-benchmarks.sh` | ||
This script allows users to run a small set of commonly-used algorithms across multiple datasets and backends. All results are stored inside a sub-directory (`logs/`) and output files are named based on the combination of parameters for that benchmark. | ||
|
||
NOTE: If running with all algorithms and datasets using NetworkX without an accelerated backend, this script may take a few hours to finish running. | ||
|
||
**Usage:** | ||
- Run with `--cpu-only`: | ||
```bash | ||
./run-main-benchmarks.sh --cpu-only | ||
``` | ||
- Run with `--gpu-only`: | ||
```bash | ||
./run-main-benchmarks.sh --gpu-only | ||
``` | ||
- Run without any arguments (all backends): | ||
```bash | ||
./run-main-benchmarks.sh | ||
``` | ||
|
||
#### 2. `get_graph_bench_dataset.py` | ||
This script downloads the specified dataset using `cugraph.datasets`. | ||
|
||
**Usage:** | ||
```bash | ||
python get_graph_bench_dataset.py [dataset] | ||
``` | ||
|
||
#### 3. `create_results_summary_page.py` | ||
This script is designed to be run after `run-gap-benchmarks.sh` in order to generate an HTML page displaying a results table comparing default NetworkX to nx-cugraph. The script also provides information about the current system, so it should be run on the machine on which benchmarks were run. | ||
|
||
**Usage:** | ||
```bash | ||
python create_results_summary_page.py > report.html | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.