-
Notifications
You must be signed in to change notification settings - Fork 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
Do we need Requires? #269
Comments
I'm in favor of keeping Requires for now. It seems to be working, and asking people to explicitly opt into |
hmm? what do you mean override the binaries? The standard way I do it is to |
|
hmm, maybe I'm missing something: If you're in
will precompile the dev-ed |
This can also occur if you use https://jump.dev/JuMP.jl/stable/developers/custom_solver_binaries without the |
I see, it's about relocability, thanks! We will still need to think what to do about CUDA_Runtime_jll |
I just did an experiment locally and it turns out we could just drop
Requires
and remove the whole__init__()
hackery:works just fine. The only difference is that when you try to use e.g.
SCS.GpuIndirectSolver
without installing CUDA first you'll get (sorry for errors in german ;)If CUDA (e.g. through
CUDA_jll
) is installed but no GPU is present SCS will throw a standard CUDA error (no CUDA device found
or so).The benefits of doing this:
MKL_jll
/CUDA_jll
somewhere andMKLDirectSolver
/GpuIndirectSolver
will be operationalMKL_jll
/CUDA_jll
beforeSCS
,CUDA_jll
is deprecated (and it has just a dozen new users in the last month, see https://juliahub.com/ui/Packages/CUDA_jll/nSfHz/11.8.0+0), so we will need to move away from it anyway;CUDA_Runtime_jll
(8.5k new users) is the new way to go, although I haven't figured out how to use it yet.Drawbacks of dropping
Requires
available_solvers
are gone (but one could cook up some__init__
to bring them back).@odow Are we happy with the status quo, should we load SCS_GPU_jll unconditionally, or should we work on a solution with
CUDA_Runtime_jll
?The text was updated successfully, but these errors were encountered: