Thanks for the wonderful set of tutorials! I was just going through the tutorial on Graph Neural Networks yesterday and I noticed a few things about the code:
(1) It checks for platform then installs pyg (pytorch geometric) using mamba if on Linux or macOS. This seems undesirable to me as it could unknowingly alter the user's environment and will also fail if the user has a different package manager. Perhaps there could be a note on how to install the required packages, or if this is for CI it could be handled a different way.
(2) The tutorial does not check for device or send data to GPU if available. This makes training the GNNs very slow. When completing the tutorial, I made this change.
If you'd like, I can submit a PR for (2), and I'd be happy to brainstorm on (1) and submit a PR there as well.
Thanks!
Thanks for the wonderful set of tutorials! I was just going through the tutorial on Graph Neural Networks yesterday and I noticed a few things about the code:
(1) It checks for platform then installs
pyg(pytorch geometric) usingmambaif on Linux or macOS. This seems undesirable to me as it could unknowingly alter the user's environment and will also fail if the user has a different package manager. Perhaps there could be a note on how to install the required packages, or if this is for CI it could be handled a different way.(2) The tutorial does not check for device or send data to GPU if available. This makes training the GNNs very slow. When completing the tutorial, I made this change.
If you'd like, I can submit a PR for (2), and I'd be happy to brainstorm on (1) and submit a PR there as well.
Thanks!