Precompilation: "You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0."
bug
**Describe the bug**
A clear and concise description of what the bug is.
"You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0.
This is unexpected; please file an issue."
**To reproduce**
`(@v1.12) pkg> up`
The Minimal Working Example (MWE) for this bug:
```julia
4 dependencies had output during precompilation:
┌ ArrayInterface → ArrayInterfaceCUDAExt
│ ┌ Error: You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0.
│ │ This is unexpected; please file an issue.
│ └ @ CUDA C:\Users\Audrius Stundzia\.julia\packages\CUDA\jsgxH\src\initialization.jl:148
└
┌ CUDA → SpecialFunctionsExt
│ ┌ Error: You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0.
│ │ This is unexpected; please file an issue.
│ └ @ CUDA C:\Users\Audrius Stundzia\.julia\packages\CUDA\jsgxH\src\initialization.jl:148
└
┌ CUDA → ChainRulesCoreExt
│ ┌ Error: You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0.
│ │ This is unexpected; please file an issue.
│ └ @ CUDA C:\Users\Audrius Stundzia\.julia\packages\CUDA\jsgxH\src\initialization.jl:148
└
┌ Atomix → AtomixCUDAExt
│ ┌ Error: You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0.
│ │ This is unexpected; please file an issue.
│ └ @ CUDA C:\Users\Audrius Stundzia\.julia\packages\CUDA\jsgxH\src\initialization.jl:148
└
```
```
Paste your Manifest.toml here, or accurately describe which version of CUDA.jl and its dependencies (GPUArrays.jl, GPUCompiler.jl, LLVM.jl) you are using.
CUDA 13.0.0
CUDA_Runtime_jll ─ v0.20.1+0
GPUCompiler v1.8.2
GPUArrays v11.4.1
LLVM v9.4.6
```
**Expected behavior**
A clear and concise description of what you expected to happen.
A proper Julia Package update with no warning or error messages.
**Version info**
Details on Julia:
```
julia> versioninfo()
Julia Version 1.12.5
Commit 5fe89b8ddc (2026-02-09 16:05 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 12 × Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
GC: Built with stock GC
Threads: 12 default, 1 interactive, 12 GC (on 12 virtual cores)
```
Details on CUDA:
```
julia> using CUDA
┌ Error: You are using CUDA 13.0.0, but CUDA.jl was precompiled for CUDA 13.1.0.
│ This is unexpected; please file an issue.
└ @ CUDA C:\Users\Audrius-St\.julia\packages\CUDA\jsgxH\src\initialization.jl:148
julia> CUDA.versioninfo()
CUDA toolchain:
- runtime 13.0, artifact installation
- driver 580.97.0 for 13.0
- compiler 13.1
CUDA libraries:
- CUBLAS: 13.2.1
- CURAND: 10.4.1
- CUFFT: 12.1.0
- CUSOLVER: 12.0.9
- CUSPARSE: 12.7.3
- CUPTI: 2025.4.1 (API 13.1.1)
- NVML: 13.0.0+580.97
Julia packages:
- CUDA: 5.10.0
- GPUArrays: 11.4.1
- GPUCompiler: 1.8.2
- KernelAbstractions: 0.9.40
- CUDA_Driver_jll: 13.1.1+0
- CUDA_Compiler_jll: 0.4.1+1
- CUDA_Runtime_jll: 0.20.1+0
Toolchain:
- Julia: 1.12.5
- LLVM: 18.1.7
1 device:
0: NVIDIA GeForce GTX 1080 (sm_61, 6.709 GiB / 8.000 GiB available)
```
关闭于 2026-03-07 2 条评论