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

pip install pytorch_geometric a bug #5195

Closed
shubihu opened this issue Aug 15, 2022 · 4 comments
Closed

pip install pytorch_geometric a bug #5195

shubihu opened this issue Aug 15, 2022 · 4 comments
Labels

Comments

@shubihu
Copy link

shubihu commented Aug 15, 2022

🐛 Describe the bug

use pip install pytorch_geometric or pip install pytorch_geometric -f https://data.pyg.org/whl/torch-1.12.0+cu116.html
there is a bug in line 227 and line 228 in pytorch_geometric.nn.conv.message_passing (torch_geometric/nn/conv/message_passing.py).

source code in line 285 and line 286 in torch_geometric/nn/conv/message_passing.py ( function def collect(self, args, edge_index, size, kwargs)) in github as flow:
image

but with pip install the package , line 227 and line 228 in torch_geometric/nn/conv/message_passing.py ( function def collect(self, args, edge_index, size, kwargs)) as flow:
image

Environment

  • PyG version: 2.0.4
  • PyTorch version: 1.12.0
  • OS: linux
  • Python version: 3.10, 3.9
  • CUDA/cuDNN version: 11.6, 11.3
  • How you installed PyTorch and PyG (conda, pip, source): pip
  • Any other relevant information (e.g., version of torch-scatter):
@shubihu shubihu added the bug label Aug 15, 2022
@rusty1s
Copy link
Member

rusty1s commented Aug 15, 2022

Can you clarify what you mean? There were some recent changes in master that fixed this already - it got fixed here: #4418

@rusty1s rusty1s added question and removed bug labels Aug 15, 2022
@shubihu
Copy link
Author

shubihu commented Aug 15, 2022

I mean the script I downloaded from the internet with pip install pytorch_geometric or pip install pytorch_geometric -f https://data.pyg.org/whl/torch-1.12.0+cu116.html is wrong and I checked the source code in the pypi, it's also wrong.
image
Whether the latest is not updated to pypi ?

@rusty1s
Copy link
Member

rusty1s commented Aug 15, 2022

Yes, this will be fixed in the upcoming release - we will release it on Wednesday.

@shubihu
Copy link
Author

shubihu commented Aug 16, 2022

Thanks! Great!

@shubihu shubihu closed this as completed Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants