Error while using LinkLoaderNeighbor function which is indirectly due to installations issues. (Please consider it urgently as my project is stuck due this)
🐛 Describe the bug
I am attaching the Image of the bug:
Environment
pyg-libversion:- PyTorch version: 2.2.1+cu121
- OS: Windows
- Python version:3.10.12
- CUDA/cuDNN version: CPU
- How you installed PyTorch and
pyg-lib(conda,pip, source): pip (Note: there was also issue which is currently already opened by someone regarding the setup.py file) - Any other relevant information:
Have you considered to simply upgrade pyg-lib (as the error suggests)?
I am again and again getting error regarding the build failing, I have many different ways still build is getting failed for pyg-lib.
Actually, I have just gone through the repo of pyg-lib where I found that they have informed themselves that currently window wheels are not working and they are working over that!!! I hope this issue might get resolved asap!
I see. I missed the part that you are working on Windows. What does
pip install ninja wheel cmake
pip install --verbose git+https://github.com/pyg-team/pyg-lib.git
return in your case?
It returns the same error as told before! I hope the team would come up with a solution asap!
I was referring to the installation log, not the error you see when you wanna use edge-level temporal sampling.
Yeah, I was too referring to the installation itself! but there is problem with the wheels and setup.py file.
Can you post the installation log here when running
pip install ninja wheel cmake
pip uninstall pyg-lib
pip uninstall pyg-lib
pip install --verbose git+https://github.com/pyg-team/pyg-lib.git
After running the above code, I got this output:
Got it, can you try to install via
FORCE_CUDA=0 pip install --verbose git+https://github.com/pyg-team/pyg-lib.git
Getting the same errors:
That's very strange. It still tries to build CUDA although FORCE_CUDA=0 (seems Windows related). Can you download the repo locally, change this line to
'-DWITH_CUDA=OFF',
and try again (by installing via pip install --verbose .)?
Its not working again, showing the same error even if I tried it running through my cmd.
Okay, I can try to find some time to enable Windows builds, but it may take some time. You can also try to install torch-sparse if pyg-lib causes issues.
Okay but pls try to fix this asap.
pyg-lib nows supports Windows, and you can install it from nightly:
pip install pyg-lib -f https://data.pyg.org/whl/nightly/torch-${TORCH}+${CUDA}.html
by replacing ${TORCH} and ${CUDA} according to your installation.
pyg-libnows supports Windows, and you can install it from nightly:pip install pyg-lib -f https://data.pyg.org/whl/nightly/torch-${TORCH}+${CUDA}.htmlby replacing
${TORCH}and${CUDA}according to your installation.
Thanks, @rusty1s, it works as it should be!
yes @rusty1s thank you so much, its working now!!!!