You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The overall goal is to fit SMORE into the PyG interface, and to re-use as much of PyG's functionality as possible. This involves:
Providing datasets as part of a InMemoryDataset
Integrate SparseEmbedding functionality with asychronous access directly in PyG (can be later used for integration with GNNAutoScale as well)
Clean-up models to make use of MessagePassing whenever possible
Out-source evaluation metrics to torch_geometric.utils or torch_geometric.metrics
Potentially integrate with GraphGym once multi-GPU support for GraphGym lands
In general, I'm in favor of storing KGs as pure PyTorch tensors, and utilize the torch.extension package for C++/CUDA integration (similar to how torch-scatter and torch-sparse works). This should also allow us to have @torch.jit.script support for C++ extensions.
We can store KGs in CSR representation based on head type. Relations can be sorted based on relation id inside each head id and can be then effectively queried via binary search.
The text was updated successfully, but these errors were encountered:
The overall goal is to fit
SMORE
into the PyG interface, and to re-use as much of PyG's functionality as possible. This involves:InMemoryDataset
SparseEmbedding
functionality with asychronous access directly in PyG (can be later used for integration withGNNAutoScale
as well)MessagePassing
whenever possibletorch_geometric.utils
ortorch_geometric.metrics
In general, I'm in favor of storing KGs as pure PyTorch tensors, and utilize the
torch.extension
package for C++/CUDA integration (similar to howtorch-scatter
andtorch-sparse
works). This should also allow us to have@torch.jit.script
support for C++ extensions.We can store KGs in CSR representation based on head type. Relations can be sorted based on relation id inside each head id and can be then effectively queried via binary search.
The text was updated successfully, but these errors were encountered: