pyg_autoscale icon indicating copy to clipboard operation
pyg_autoscale copied to clipboard

synchronize in pool.py

Open ghqing0310 opened this issue 4 years ago • 5 comments

Hello, GNNAutoScale is an interesting and solid work, and thanks for your hard work. However, when running "synchronize = torch.ops.torch_geometric_autoscale.synchronize", it reports an error. How to deal with this problem? image

ghqing0310 avatar Nov 10 '21 08:11 ghqing0310

Did you run python setup.py install before executing the scripts?

rusty1s avatar Nov 10 '21 08:11 rusty1s

Did you run python setup.py install before executing the scripts?

Yes, and when running small_benchmark/main.py, it shows that a circular import happens. image

ghqing0310 avatar Nov 10 '21 08:11 ghqing0310

Can you try to run the script not within the root folder, but within small_benchmark?

cd small_benchmark
python main.py

rusty1s avatar Nov 10 '21 08:11 rusty1s

Can you try to run the script not within the root folder, but within small_benchmark?

cd small_benchmark
python main.py

Yep that's the way I run it. image

ghqing0310 avatar Nov 10 '21 08:11 ghqing0310

This is weird. What's the installation log of

python setup.py clean && python setup.py develop

rusty1s avatar Nov 10 '21 13:11 rusty1s