The question about the memory usage between gather-scatter and SpMM on RGCNConv #4122
Unanswered
zirui-ray-liu
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I can indeed replicate that (although allocated memory is nearly identical (~55MB)). One explanation might be that the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
From the official documents (https://pytorch-geometric.readthedocs.io/en/latest/notes/sparse_tensor.html), It seems that gather-scatter should has large memory footprint than SpMM based method. However, on RGCNConv, I found that SpMM consumes more memory than gather-scatter. I am wondering if this is a bug or not?
The test code is attached: (to apply scatter-gather, please add --use_longtensor)
Beta Was this translation helpful? Give feedback.
All reactions