Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kgajdamo
Copy link
Contributor

  • 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).

@kgajdamo kgajdamo requested a review from rusty1s August 31, 2022 14:21
@rusty1s
Copy link
Member

rusty1s commented Aug 31, 2022

Cool! How do the two implementations compare to each other?

@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2022

Codecov Report

Merging #79 (4ec08eb) into master (13ebb87) will not change coverage.
The diff coverage is n/a.

@@           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

@kgajdamo
Copy link
Contributor Author

kgajdamo commented Sep 1, 2022

Cool! How do the two implementations compare to each other?

@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.

@rusty1s
Copy link
Member

rusty1s commented Sep 1, 2022

Thank you!

@rusty1s rusty1s merged commit 0383af5 into pyg-team:master Sep 1, 2022
@kgajdamo kgajdamo deleted the neighbor_sampler_bench branch September 16, 2022 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants