Closed Rhett-Ying closed 5 months ago
Should we fix this before DGL 2.2 release as well? Seems like a big problem for the users.
Isn't the fix simple adding a single if expression to check if input_nodes
contains the key or not? If it doesn't, we can simply skip.
🐛 Bug
https://github.com/dmlc/dgl/blob/2da713f8a90496ab73fe97acdb75f9e8a2b98704/python/dgl/graphbolt/feature_fetcher.py#L91-L92
If
input_nodes
does not contain any keys(node/edge types) that are listed innode/edge_feature_key
, exception is thrown. Should we skip for such case?Expected behavior
Skip non-existent feature keys.
Environment
conda
,pip
, source):Additional context