Closed rish-16 closed 2 years ago
Hi Rishabh!
Yes that is possible, but would need a little bit of refactoring:
pre_transform
hook, see the doc, which applies a transformation function to each graph example in the dataset and saves that version to the disk, keeping that version cached so it is only computed once -- the first time the dataset is downloaded and processed.pre_transform
hook and cached.So that is roughly what needs to be done. I haven't implemented yet as it was impractical for me to have many different cached versions of the datasets (I'm a bit storage limited). I don't immediately plan to do it now, hopefully later on.
That's a great suggestion, thanks! I'll look into it :D
Appreciate the help!
Hello Ladislav!
You may remember me from the LoGaG talk! Thanks for the session :D
I have been playing around with the GraphGPS configs and realised the LapPE precomputing process takes place from scratch every time I run the
pcqm4m-GPS.yaml
config withmain.py
. Would it be possible to add a patch that saves this pre-computed information locally so I can quickly access it without having to run the same operation again?I'm benchmarking such models for my research so I'll be putting it up for training regularly, so was hoping to find ways to avoid the precomputing every time.
Appreciate your consideration, enjoyed reading the paper!