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

Cuda 12 Support #273

Open
nazgolTavabi opened this issue Dec 7, 2023 · 3 comments
Open

Cuda 12 Support #273

nazgolTavabi opened this issue Dec 7, 2023 · 3 comments

Comments

@nazgolTavabi
Copy link

Does this code support code 12?
I recently updated my cuda and I'm no longer able to run my code.

Thank you

@ghost
Copy link

ghost commented Dec 9, 2023

dll_path = r"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\bin\\thundersvm.dll"
    thundersvm = CDLL(dll_path)

Yes, it works.

@JaffelSong
Copy link

Me too, my environment is CUDA 12.2, and the thundersvm.dll is correctly builded, while the python told me it cannot find the module and let me try using the full path with constructor syntax. Looking for someone can help me......

@Boontjie
Copy link

You need to the following in the python module for CUDA 12
import os
os.add_dll_directory("C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin")

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