Skip to content

CUDA: Add artificial weakdep to prevent incompatible installations.#155453

Open
maleadt wants to merge 1 commit into
JuliaRegistries:masterfrom
maleadt:cuda_compat
Open

CUDA: Add artificial weakdep to prevent incompatible installations.#155453
maleadt wants to merge 1 commit into
JuliaRegistries:masterfrom
maleadt:cuda_compat

Conversation

@maleadt
Copy link
Copy Markdown
Contributor

@maleadt maleadt commented May 14, 2026

Versions 5 and 6 if the CUDA stack are incompatible, however, it's currently possible to co-install cuDNN@6, which depends on only CUDACore (things have been split up), with CUDA@5 which doesn't have a CUDACore dependency yet (pre-split).

Avoid this situation by adding an artificial weak dependency on CUDACore to old CUDA.jl versions, preventing this incompatible combination.

Fixes JuliaGPU/CUDA.jl#3130

Versions 5 and 6 if the CUDA stack are incompatible, however, it's currently possible
to co-install cuDNN@6, which depends on only CUDACore (things have been split up), with
CUDA@5 which doesn't have a CUDACore dependency yet (pre-split).

Avoid this situation by adding an artificial weak dependency on CUDACore to old CUDA.jl
versions, preventing this incompatible combination.

Fixes JuliaGPU/CUDA.jl#3130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cuDNN 6 + CUDA 5 resolves but breaks at runtime: expected CUDACore.TaskLocalState, got CUDA.TaskLocalState

1 participant