compat: restore CUDA v5 lower bound#450
Merged
ChrisRackauckas merged 1 commit intoMay 9, 2026
Merged
Conversation
Drop the upper-only CUDA = "6" pin in favor of CUDA = "5, 6". CUDA 6 ships with no breaking changes from 5 (per the v6.0.0 release notes), the CUDAExt path only touches CUDA.CUDABackend and CUDA.CUBLAS.getrf_strided_batched! — both stable across both majors — and the test utilities use only CUDA.CUDABackend(). Restoring the v5 lower bound unblocks consumers (e.g. NeuralLyapunov via AdvancedHMC) that haven't yet upgraded their CUDA compat. Resolves SciML#449. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Draft PR — please ignore until reviewed by @ChrisRackauckas.
Closes #449.
Why
PR #441 cleanup bumped
CUDA = "5, 6"→"6"along with a batch of other major-version drops. The CUDA part was unnecessarily aggressive: CUDA 6 was released with no breaking changes from 5 (see v6.0.0 release notes), and the lift broke downstream consumers like NeuralLyapunov whose stack still requires CUDA 5 transitively (via AdvancedHMC, see SciML/NeuralLyapunov.jl#175).What
CUDA = "6"→CUDA = "5, 6"in:Project.tomltest/Project.tomldocs/Project.tomlNo code changes. The CUDAExt surface is tiny:
CUDA.CUDABackendandCUDA.CUBLAS.getrf_strided_batched!are both stable across CUDA 5 and 6, so no shim is needed. Test code uses onlyCUDA.CUDABackend()(intest/utils.jl).Verification
Local resolution checks (Julia 1.10, no GPU on the test machine — CI will exercise the actual GPU paths):
Both endpoints of the new range resolve cleanly with the rest of the test stack (OrdinaryDiffEq 7, ModelingToolkit 11, SciMLBase 3, etc.).