Skip to content
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

Remove Unbuffered Sampling from cuGraph Examples #10079

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

alexbarghi-nv
Copy link
Contributor

Removes unbuffered sampling (dumping data to disk) since it is about to be deprecated and it has numerous bugs that we do not intend to fix.

alexbarghi-nv and others added 22 commits June 1, 2022 17:27
remove use of __dict__

Co-authored-by: Matthias Fey <[email protected]>
remove use of __dict__

Co-authored-by: Matthias Fey <[email protected]>
simplify isinstance syntax

Co-authored-by: Matthias Fey <[email protected]>
simplify isinstance call

Co-authored-by: Matthias Fey <[email protected]>
remove explicit inheritance from object

Co-authored-by: Matthias Fey <[email protected]>
remove direct __dict__ access

Co-authored-by: Matthias Fey <[email protected]>
remove direct __dict__ access

Co-authored-by: Matthias Fey <[email protected]>
Create Initial Version of cuGraph Storage and Data Classes
@alexbarghi-nv
Copy link
Contributor Author

@puririshi98 @drivanov

@puririshi98
Copy link
Contributor

ty will review by eod

Copy link
Contributor

@puririshi98 puririshi98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM but can you share logs of running this w/ master branch and your branch to show the diff in outputs and speed. also please share the device specs for context

Copy link
Member

@akihironitta akihironitta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be nice to have some reference to details on buffered/unbuffered sampling in the PR description, but LGTM!

@@ -40,6 +40,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Changed

- Updated cuGraph Examples to use Buffered Sampling [#10079](https://github.com/pyg-team/pytorch_geometric/pull/10079) which keeps all data in memory and is significantly faster than the soon-to-be deprecated buffered sampling.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Updated cuGraph Examples to use Buffered Sampling [#10079](https://github.com/pyg-team/pytorch_geometric/pull/10079) which keeps all data in memory and is significantly faster than the soon-to-be deprecated buffered sampling.
- Updated cuGraph examples to use buffered sampling which keeps data in memory and is significantly faster than the deprecated buffered sampling ([#10079](https://github.com/pyg-team/pytorch_geometric/pull/10079))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants