-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Roadmap] GraphGym via PyTorch Lightning and Hydra 🚀 #5132
Comments
New here: what do
Is this still needed after #4689? |
@julian-q Welcome :)
I assume so. |
I would like to contribute to this task. I have previously worked on using pytorch lightning and hydra together in this repo. |
I'll spend sometime going through the links you shared and start a draft PR regarding this. Hope to get your guidance on it as well :). |
@rusty1s I would like to try this! |
Cool :) We were sadly a bit lazy in the further development of GraphGym, so happy to see some activity back on this :) |
Okay Would Work on this from Monday! I know how to code it.. would you just tell me where I can Exactly Put the code? locations of the file. which files to edit? |
Part of #5132. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: rusty1s <matthias.fey@tu-dortmund.de>
@rusty1s is it still open? can i contribute? |
This roadmap is in a fuzzy state right now, there exists a few PRs already like #5626 but I haven't really have time to merge this yet. |
Part of #5132. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: rusty1s <matthias.fey@tu-dortmund.de>
🚀 The feature, motivation and pitch
The overall goal of this roadmap is to ensure a tighter connection between PyG core and the GraphGym configuration manager. Furthermore, an additional goal is to not re-invent the wheel in GraphGym and make use of popular open-source frameworks whenever applicable, e.g., for configuration managament, training, logging, and autoML.
As such, this roadmap structures itself into different components such as general improvements (e.g., tighter connection between PyG and GraphGym), PyTorch Lightning integration, and Hydra integration as our configuration tool.
General Roadmap
register
functionality to models in PyG coregraphgym
bash script in abin/
folder - GraphGym usage should not require manually cloning of PyGHeteroData
supportPyTorch Lightning Integration
GraphGym training experience can be improved for scalability, mixed precision support, logging and checkpoints with PyTorch Lightning integration.
LightningModule
into GraphGymTrainer
and theLightningModule
implementationsload_ckpt
andsave_ckpt
with PL checkpoint save and load methodLightningDataset
,LightningNodeData
andLightningLinkData
modulesHydra Integration
Users of PyG should be able to write GraphGym configurations by being able to make full use of PyG functionality. In particular, we want to allow access to any dataset, any data transformation pipeline, and any GNN layer/model. For this, we need to follow a structured/composable configuration, e.g., as introduced here
model.in_channels = ${dataset.num_features}
andmodel.out_channels = ${dataset.num_classes}
Weights & Biases Integration (TBD)
AutoML (TBD)
cc @pyg-team/biotax-team
The text was updated successfully, but these errors were encountered: