[cuGraph] Fix test_gat_conv_equality for new edge_attr requirement in CuGraphGATConv
#10564
+10
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates
test_gat_conv_equalityto explicitly handle the new required edge_attr argument inCuGraphGATConv.forward.The test now parametrizes edge features and correctly passes either a real edge feature tensor or an empty (num_edges, 0) tensor for non-bipartite graphs, matching cuGraph kernel expectations.
All forward and backward equality checks now pass across all parameter combinations.
Without these changes I see that 96 subtests of
test_cugraph_gat_conv.py::test_gat_conv_equalityare failing with the following error message message: