rusty1s / pytorch_scatter

PyTorch Extension Library of Optimized Scatter Operations
https://pytorch-scatter.readthedocs.io
MIT License
1.5k stars 178 forks source link

Is it possible to run pytorch_scatter with latest Pytorch Nightly Release v2.5.0. #449

Closed JJDOESIT closed 3 days ago

JJDOESIT commented 4 days ago

Before I was running pytorch_scatter with Pytorch v2.3.0, cuda version 12.1. When upgrading Pytorch to latest nightly build, I receive:

undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs

I believe most likely due to a version mismatch as in the documentation I only see support up to v2.3.0. Any suggestions or any way to bypass the error?

rusty1s commented 4 days ago

For PyTorch nightly, you need to build torch-scatter from source.

JJDOESIT commented 3 days ago

Building from source worked. Weird because I tried it yesterday from source and it didn't work but today it did. Thanks a lot.