-
Notifications
You must be signed in to change notification settings - Fork 144
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
problem loading the *_cpu.so file #375
Comments
This is likely because you are installing
|
Thank you for your reply! I changed the latest version and now the problem is solved! |
I got a similar problem but the installation is for cuda when I created a fresh new conda env python 3.11 with the latest pytorch 2.3.0 with cuda 2.1.
Then I got the following issue when I do
|
It turns out that the issue is due to pyglib, When install pyglib if I use: |
Hello, thanks for sharing your detailed tutorial,
I don't have a GPU environment configured on my computer, so I'm trying to install the CPU version of torch and related dependency packages as follows
/opt/software/python/bin/python3.8 -m pip install --upgrade pip
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-2.0.1+cpu.html
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-2.0.1+cpu.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-2.0.1+cpu.html
pip install torch-geometric==2.0
But when importing they
OSError: /opt/software/python/lib/python3.8/site-packages/torch_sparse/_sample_cpu.so: undefined symbol: _ZN2at4_ops11randint_low4callEllN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE
my pip version
torch 2.3.0+cpu
torch-cluster 1.6.3+pt20cpu
torch_geometric 2.0.0
torch-scatter 2.1.2+pt20cpu
torch-sparse 0.6.18+pt20cpu
torchaudio 2.3.0+cpu
torchvision 0.18.0+cpu
I'm wondering if there are any conflicts between these versions and how I can get it to recognise this cpu library?
The text was updated successfully, but these errors were encountered: