-
Notifications
You must be signed in to change notification settings - Fork 11
CUDA 4.0 compatibility #27
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
Comments
Multiple optional dependencies can be implemented with nested
To support both CUDA 3 and CUDA 4 requires some more conditionals in the current |
This is a bit of a tricky problem. The situation is as follows:
Right now I do not need CUDA.jl v4 and onnxruntime gpu simultaneously. So personally I won't fix this soon, but a PR would be awesome of course. |
If I understand https://www.juliabloggers.com/cuda-jl-4-0/ correctly, this is a solved problem in CUDA.jl 4. If so I guess most of the stuff happening in
CUDNN_jll brings in a couple more CUDA jlls and I suspect those are uncomfortably big for someone who only wants to run on CPU. |
Oh, this is awesome news. I see two paths forward: Option 1: Get rid of Requires.jl Create a tiny Option 2: Get rid of Requires.jl obtain the cuda libs as lazy artifacts What do you think?
Good point. |
The version of CUDA can be controlled with the Can't Preferences.jl be exploited similarly here? E.g. to add a preference to ONNXRuntime_jll to select e.g. CPU or CUDA-artifacts - and let the rest sort itself out. Cf. #19 (comment) |
#32 implements support for CUDA.jl versions 4 and 5, but only for Julia 1.9 and later. |
cudnn was moved out of CUDA.jl
https://github.com/JuliaGPU/CUDA.jl/tree/master/lib/cudnn
So we need
CUDNN_jll
orcuDNN
as an additional optional dependency.The text was updated successfully, but these errors were encountered: