Comments (8)
If your CUDA version is 10.0 and you use PyTorch 1.5, you may need to install from source using pip install torch-sparse
command. We provide 9.2, 10.1 and 10.2 wheels for PyTorch 1.5, and 9.2, 10.0 and 10.1 wheels for PyTorch 1.4. The easier way is to just upgrade your CUDA though.
from pytorch_sparse.
You may need to add the lib
directory of miniconda
to LD_LIBRARY_PATH
. This directory should contain libcusparse.so.10
.
from pytorch_sparse.
Hi, can you follow this guide and see if that fixes your issue? Editing LD_LIBRARY_PATH
may be crucial here.
from pytorch_sparse.
This issue was solved !
It caused by my conda virtual env .
I used /usr/lobal/cuda to compiler the torch-sparse .
However , my codes depend on the virtual env when it runs . . .
So I just moved the libcusparse.so.10.0 files from /usr/lobal/cuda/lib64 to my virtual env , then it was solved!
Thanks so much !! !
from pytorch_sparse.
I run into the same problem. My Cuda version is 10.0. Is there any way that I could install it with this version or should I upgrade?
from pytorch_sparse.
If your CUDA version is 10.0 and you use PyTorch 1.5, you may need to install from source using
pip install torch-sparse
command. We provide 9.2, 10.1 and 10.2 wheels for PyTorch 1.5, and 9.2, 10.0 and 10.1 wheels for PyTorch 1.4. The easier way is to just upgrade your CUDA though.
Yes, I upgraded my cuda version and that saved me a lot of time playing around with library versions
from pytorch_sparse.
This issue was solved !
It caused by my conda virtual env .
I used /usr/lobal/cuda to compiler the torch-sparse .
However , my codes depend on the virtual env when it runs . . .
So I just moved the libcusparse.so.10.0 files from /usr/lobal/cuda/lib64 to my virtual env , then it was solved!
Thanks so much !! !
I am using virtual environment too. But there is not any cuda directory in local directory. my torch cuda version however is 10.1. How can I fix this?
from pytorch_sparse.
Appending $CUDA_PATH/lib64
(which has libcusparse.so.10.0
) to $LD_LIBRARY_PATH
helped me resolve this issue.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_PATH/lib64
from pytorch_sparse.
Related Issues (20)
- Issue with libc version HOT 2
- Win10 : Cannot install torch-sparse HOT 2
- Error importing torch_sparse HOT 2
- how to build form source with CUDA HOT 1
- (Import Erro)undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs HOT 2
- "OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found" with torch-sparse 0.6.18+pt20cu118 HOT 1
- Time complexity of Sparse Sparse Matrix Multiplication? HOT 2
- ImportError: Could not find module '_version_cpu', after build from source HOT 1
- Benchmarks result in `INTERNAL ASSERT FAILED` when run with device `mps` HOT 3
- Little idea about sparse matrix multiplication in torch_sparse HOT 6
- Batch in spspmm? HOT 4
- Is there a convenient way to Substract two vectors? HOT 2
- ROCm wheels
- High dimensional Sparse Matrix Multiplication HOT 1
- Factorization? HOT 1
- Branching gradient flow HOT 4
- SparseTensor or SparseStorage for data HOT 5
- Sparse-sparse matrix multiplication break GPU memory when dense does not. HOT 4
- Unexpected behavior sparse add HOT 1
- Sparse Bilinear map HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_sparse.