-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add NeighborLoader
benchmark suite
#4815
Conversation
mszarma
commented
Jun 17, 2022
•
edited
Loading
edited
- Adding loader folder to benchmarks
- Adding NeighborLoader benchmark for sampling on ognb-arxiv, ogbn-products and ogbn-mag
Codecov Report
@@ Coverage Diff @@
## master #4815 +/- ##
=======================================
Coverage 82.80% 82.80%
=======================================
Files 329 329
Lines 17713 17713
=======================================
Hits 14668 14668
Misses 3045 3045 Continue to review full report at Codecov.
|
NeighborLoader
benchmark suite
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Left a few minor comments.
f'times={times} average_time={average_time}') | ||
print('Validation sampling') | ||
for batch_size in args.eval_batch_sizes: | ||
val_loader = NeighborLoader(data, num_neighbors=[-1], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some comment why this benchmark is needed/why it relates to validation sampling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially i thought about checking also some scenario with sampling all neighbors like more inference specific sampling? i changed the code - let me know if that make sense or there are some better real scenarios? WDYT?
for more information, see https://pre-commit.ci