pyg-team/pytorch_geometric

Improve `NNConv` runtimes

Open

#602 opened on Aug 6, 2019

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Python (3,514 forks)batch import
2 - Priority P2benchmarkfeaturehelp wantednn

Repository metrics

Stars
 (19,985 stars)
PR merge metrics
 (Avg merge 35d 1h) (14 merged PRs in 30d)

Description

🐛 Bug

I have benchmarked EEC vs https://github.com/mys007/ecc implementation. The code is 3-5 times slower in pytorch_geometric.

I think it is due to the entire pseudo tensor which is given to every message function. Maybe, only weight_j should be given there.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Environment

  • OS:
  • Python version:
  • PyTorch version:
  • CUDA/cuDNN version:
  • GCC version:
  • Any other relevant information:

Additional context

Contributor guide