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

[BUG] Output Edge Labels in the Distributed Sampler #4898

Merged

Conversation

alexbarghi-nv
Copy link
Member

We currently do not output edge labels in the distributed sampler, which breaks some link prediction workflows where the graph contains pre-labeled edges. This PR adds support for that so these workflows can be enabled.

Copy link

copy-pr-bot bot commented Jan 28, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@alexbarghi-nv alexbarghi-nv added bug Something isn't working non-breaking Non-breaking change labels Jan 28, 2025
@alexbarghi-nv alexbarghi-nv marked this pull request as ready for review January 28, 2025 23:35
@alexbarghi-nv alexbarghi-nv requested a review from a team as a code owner January 28, 2025 23:35
@alexbarghi-nv
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit 9e3a457 into rapidsai:branch-25.02 Jan 29, 2025
78 checks passed
@alexbarghi-nv alexbarghi-nv deleted the allow-labels-dist-sampler branch January 29, 2025 22:34
rapids-bot bot pushed a commit to rapidsai/cugraph-gnn that referenced this pull request Feb 3, 2025
Adds a heterogeneous link prediction example for cuGraph-PyG that uses the Taobao dataset.  Loosely based on the Taobao example from the PyG repository.

Adds ability to specify fanout as a dictionary to better align with PyG API.

Fixes a bug where the number of negative samples was calculated incorrectly, causing additional unwanted negative samples to be generated.

Updates the negative sampling call to match the new behavior added in rapidsai/cugraph#4885

Merge after rapidsai/cugraph#4898

Authors:
  - Alex Barghi (https://github.com/alexbarghi-nv)

Approvers:
  - Tingyu Wang (https://github.com/tingyu66)
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

URL: #104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants