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

trouble installing #256

Open
pritamqu opened this issue Mar 8, 2022 · 2 comments
Open

trouble installing #256

pritamqu opened this issue Mar 8, 2022 · 2 comments

Comments

@pritamqu
Copy link

pritamqu commented Mar 8, 2022

i am trying to install thundersvm using pip in linux system with cuda 10.2, it gives me this error while trying to use.
/lib/python3.7/site-packages/thundersvm/libthundersvm.so: cannot open shared object file: No such file or directory

however, i do have that file in that location, can you please help me with this?
__init__.py libthundersvm.so __pycache__ thundersvm.py

thanks!

@ericlaycock
Copy link

ericlaycock commented Oct 12, 2023

Unfortunately you'll have to go back to Cuda version 9.0 for ThunderSVM to work - that's what ended up working for me.

Specifically, I executed this code in Google Colab:

!wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda-repo-ubuntu1704-9-0-local_9.0.176-1_amd64-deb

!dpkg -i cuda-repo-ubuntu1704-9-0-local_9.0.176-1_amd64-deb

!ls /var/cuda-repo-9-0-local | grep .pub

!apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub

!apt-get update

!sudo apt-get install cuda-9.0

!pip install thundersvm #!!nvcc --version should return cuda9.0 by this point

from thundersvm import SVC

You should be able to run this without exclamation marks in your code.

@Kurt-Liuhf
Copy link
Collaborator

Hi @ericlaycock, I have tried building ThunderSVM (on Linux) using CUDA 11.8 and it succeeded. The wheel currently provided was built upon CUDA 9.0. So I suggest you build the wheel on your own, if necessary. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants