MessagePassing.jittable() remaining features and planning.
See original GitHub issueThis is an issue to track followup on #1256, #1257, #1258, #1259.
We can annotate below with further issue and PR #s, as progress is made.
Let’s use this issue as a forum for discussion about what we want out of the jittable()
interface.
During review there were a few functionality issues, or requests that came up (box checked if completed, with PR reference):
- - return a jittable copy of the conv layer instead of the new class (https://github.com/rusty1s/pytorch_geometric/commit/dc87faa6a9ae1b71dbbd6d34f834dc7053803fe6)
- - deal with overloads in a more graceful way
- - add a utility that generates model config files for deployment platforms.
Here’s a list of jittable convolutional ops (box is checked if tested and confirmed):
- Basic test in test/nn/conv/test_message_passing.py
- AGNNConv
- APPNP
- ARMAConv
- CGConv
- ChebConv
- DNAConv
- EdgeConv
- DynamicEdgeConv - #1366
- FeaStConv
- GATConv
- GatedGraphConv
- GCNConv
- GINConv
- GINEConv
- GMMConv
- GraphConv
- GravNetConv - #1366
- HypergraphConv - NB: needs overall refactoring
- NNConv
- PointConv
- PPFConv
- RGCNConv - NB: this needs to wait for better handling of multiple
propagate
types - SAGEConv
- SGConv
- SignedConv
- SplineConv
- TAGConv
- XConv
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:26 (15 by maintainers)
Top Results From Across the Web
MessagePassing.jittable() remaining features and planning.
Let's use this issue as a forum for discussion about what we want out of the jittable() interface. During review there were a...
Read more >TorchScript Support — pytorch_geometric documentation
This is done by calling the jittable() function provided by the underlying MessagePassing interface: def __init__(self, in_channels, out_channels): super().
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dongb5 check it the prediction is correct. I’ve been struggling with exporting the GN model to ONNX as well. Although the
torch.onnx.export
runs without an error, the prediction is not correct due to the bad translation oftorch.scatter_add
to ONNX graph (https://github.com/pytorch/pytorch/issues/32960) if the indices are not unique. Despite being currently supported by ONNX inopset 16
(https://github.com/onnx/onnx/pull/3484), PyTorch currently supports onlyopset 14
.Hi @rusty1s and @lgray ,
This new jit functionality is great! Do you guys also plan onnx support ? As far as I have seen there are issues converting a jittable model to onnx (https://github.com/pytorch/pytorch/issues/34002), and ideally I’d like to export a pytorch_geometric model to onnx.