-
Couldn't load subscription status.
- Fork 53
Add neighbor sampler benchmark #79
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
Conversation
kgajdamo
commented
Aug 31, 2022
- Added neighbor sampler benchmark to pyg-lib.
- Benchmark measures performance for the neighbor_sample from pyg-lib as well as neighbor_sample from pytorch_sparse.
- Added argument "return_csc" to withDataset decorator to optionally return matrix in CSC format (for the purpose of pytorch_sparse neighbor sample).
|
Cool! How do the two implementations compare to each other? |
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
=======================================
Coverage 79.25% 79.25%
=======================================
Files 14 14
Lines 294 294
=======================================
Hits 233 233
Misses 61 61 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@rusty1s Just like it is done in a subgraph benchmark, we print out the total duration of the neighbor_sample function first for pyg-lib and then for the pytorch_sparse. |
|
Thank you! |