Skip to content
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

Support for PyG later than 2.0.2 #6

Open
HaniItani opened this issue Oct 26, 2022 · 2 comments
Open

Support for PyG later than 2.0.2 #6

HaniItani opened this issue Oct 26, 2022 · 2 comments

Comments

@HaniItani
Copy link

HaniItani commented Oct 26, 2022

Hello,

Any plans for supporting later releases of PyG (e.g. 2.1)? It's a fairly new benchmark and it's not compatible with the newest PyG releases out of the box.

Best regards,
Hani

@rampasek
Copy link
Collaborator

rampasek commented Nov 1, 2022

Hi,

You can also access it in GraphGPS that has been updated to PyG 2.0.4 compatibility:
https://github.com/rampasek/GraphGPS

I will refactor GraphGPS to PyG 2.1 in the future. However the dataset loaders themselves should be perfectly functional in your PyG 2.1 codebase as they are.

Best,
Ladislav

@GARV-k
Copy link

GARV-k commented Aug 9, 2024

I am also using PyG >2.1 and in the main.py file, I just imported the OptimConfig and SchedulerConfig from torch_geometric.graphgym.optim.
it gives a error :
Traceback (most recent call last):
File "/home/iplab/garv_iit-bhu/GraphTransformer/lrgb/main.py", line 178, in
optimizer = create_optimizer(model.parameters(),
File "/home/iplab/anaconda3/envs/lrgb/lib/python3.9/site-packages/torch_geometric/graphgym/optim.py", line 38, in create_optimizer
return from_config(func)(params, cfg=cfg)
File "/home/iplab/anaconda3/envs/lrgb/lib/python3.9/site-packages/torch_geometric/graphgym/config.py", line 578, in wrapper
raise ValueError(f"'cfg.{arg_name}' undefined")
ValueError: 'cfg.optimizer_config' undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants