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

Reduce the number of warning prints of heterogeneous GNN encoders when some nodes do not have in edges #888

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

classicsong
Copy link
Contributor

Issue #, if available:

Description of changes:
To avoid excessive warning logs from RGCN, RGAT, and HGT encoders, this PR ensures that identical warnings (warnings that share the same message) are printed only once.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@classicsong classicsong added ready able to trigger the CI 0.3.1 labels Jun 20, 2024
Copy link
Contributor

@zhjwy9343 zhjwy9343 left a comment

Choose a reason for hiding this comment

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

LGTM

@classicsong classicsong merged commit 9d6610b into awslabs:main Jun 20, 2024
6 checks passed
@classicsong classicsong deleted the warn-prints branch June 20, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.3.1 ready able to trigger the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants