Replies: 1 comment
-
You were using pytorch_geometric/torch_geometric/nn/conv/gcn_conv.py Lines 32 to 34 in 32c6b7a |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi, I am trying to compute the normalized adjacency matrix
D(-1/2)(A+I)D(-1/2)
on Cuda, this is what I am doing:Where:
and:
It seems all calculations are done on CPU, I tried to put
adj
to Cuda first byadj = adj.to(device)
, but it returnedto not found
in sparse matrix, I am wondering how I can put the sparse matrix on CUDA so I can do this calculations on GPU, or there is another way to get the normalized adjacency matrix on CUDA, because the calculations are very slow when the graph is large. Any help would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions