Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Multi-task Learning] Refactor graphstorm.model for multi-task learning. #852

Merged
merged 8 commits into from
May 21, 2024

Conversation

classicsong
Copy link
Contributor

Issue #, if available:
#789

Description of changes:
As multi-task learning trainer will invoke edge_mini_batch_predict, lp_mini_batch_predict and node_mini_batch_predict when conducting evaluation or testing, refactor the code to allow the functions to work with different decoders.

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 0.3 ready able to trigger the CI labels May 21, 2024
python/graphstorm/model/edge_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/model/edge_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/model/edge_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/model/lp_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/model/node_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/model/lp_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/model/node_gnn.py Outdated Show resolved Hide resolved
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 78f3458 into awslabs:multi-task May 21, 2024
6 checks passed
@classicsong classicsong deleted the multi-task-refactor-nn branch May 21, 2024 23:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
0.3 ready able to trigger the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants