@maleadt would it be possible to add the likely next version changes (the present case being likely from 10.1 to 10.2 or 11.0) since I believe that the CUDA versions available are hardcoded in CUDAapi.jl and it is difficult to change this approach?
Other information, such as the supported devices and PTX ISAs, or the supported host compilers, also change with every CUDA version so itβs probably not worth doing so.
Im having this problem again. Just 6 hours ago this worked fine.
Precompiling CuArrays
ERROR: LoadError: CUDA 10.2 is not supported by
your driver (which supports up to 10.1)
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] cuda_support(::VersionNumber, ::VersionNumber) at /root/.julia/packages/CUDAnative/Lr0yj/src/CUDAnative.jl:53
[3] top-level scope at /root/.julia/packages/CUDAnative/Lr0yj/src/CUDAnative.jl:93
[4] include at ./boot.jl:328 [inlined]
[5] include_relative(::Module, ::String) at ./loading.jl:1094
[6] include(::Module, ::String) at ./Base.jl:31
[7] top-level scope at none:2
[8] eval at ./boot.jl:330 [inlined]
[9] eval(::Expr) at ./client.jl:432
[10] top-level scope at ./none:3
in expression starting at /root/.julia/packages/CUDAnative/Lr0yj/src/CUDAnative.jl:72
ERROR: LoadError: Failed to precompile CUDAnative [be33ccc6-a3ff-5ff2-a52e-74243cff1e17] to /root/.julia/compiled/v1.2/CUDAnative/4Zu2W.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253
[3] _require(::Base.PkgId) at ./loading.jl:1013
[4] require(::Base.PkgId) at ./loading.jl:911
[5] require(::Module, ::Symbol) at ./loading.jl:906
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1094
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:432
[12] top-level scope at ./none:3
in expression starting at /root/.julia/packages/CuArrays/PwSdF/src/CuArrays.jl:5
You probably upgraded your CUDA toolkit without upgrading your driver. This is generally not a supported situation. That said, Iβve demoted the error to a warning on the latest CUDAnative, so try upgrading your packages.
There is no code to fix your system, upgrading your CUDA driver depends on your operating system. Furthermore, on the latest version of CUDAnative this should not be a fatal error anymore, just a warning. You can also try out Request for testing: CUDA from BinaryBuilder where a matching CUDA toolkit will be installed automatically.