Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions LocalPreferences.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[CUDA_Runtime_jll]
version = "12.9"
7 changes: 6 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ Aqua = "0.8"
ChainRulesCore = "1"
CommonSolve = "0.2"
ConcreteStructs = "0.2"
# cuDNN 9.11 dropped Volta support, but the GPU runner pool includes V100s.
CUDNN_jll = "=9.10.0"
CUDA_Runtime_jll = "0.19"
DiffEqBase = "6.176.0, 7.0"
Documenter = "1"
FastClosures = "0.3"
Expand Down Expand Up @@ -60,6 +63,8 @@ julia = "1.10"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CUDNN_jll = "62b44479-cb7b-5706-934f-f13b2eb2e645"
CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
Expand All @@ -80,4 +85,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Aqua", "Documenter", "ForwardDiff", "Functors", "GPUArraysCore", "InteractiveUtils", "LuxCUDA", "LuxTestUtils", "MLDataDevices", "NLsolve", "NonlinearSolve", "OrdinaryDiffEq", "OrdinaryDiffEqAdamsBashforthMoulton", "SafeTestsets", "SciMLSensitivity", "SciMLTesting", "StableRNGs", "Test", "Zygote"]
test = ["Aqua", "CUDNN_jll", "CUDA_Runtime_jll", "Documenter", "ForwardDiff", "Functors", "GPUArraysCore", "InteractiveUtils", "LuxCUDA", "LuxTestUtils", "MLDataDevices", "NLsolve", "NonlinearSolve", "OrdinaryDiffEq", "OrdinaryDiffEqAdamsBashforthMoulton", "SafeTestsets", "SciMLSensitivity", "SciMLTesting", "StableRNGs", "Test", "Zygote"]
7 changes: 6 additions & 1 deletion test/shared_testsetup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LuxTestUtils.jet_target_modules!(["DeepEquilibriumNetworks", "Lux", "LuxLib"])
const BACKEND_GROUP = lowercase(get(ENV, "BACKEND_GROUP", get(ENV, "GROUP", "cpu")))

if BACKEND_GROUP == "all" || BACKEND_GROUP == "cuda"
using LuxCUDA
using CUDNN_jll, LuxCUDA
end

GPUArraysCore.allowscalar(false)
Expand All @@ -20,6 +20,11 @@ function cuda_testing()
MLDataDevices.functional(CUDADevice)
end

if BACKEND_GROUP == "all" || BACKEND_GROUP == "cuda"
@test Base.pkgversion(CUDNN_jll) < v"9.11"
@test cuda_testing()
end

const MODES = begin
modes = []
cpu_testing() && push!(modes, ("cpu", Array, CPUDevice(), false))
Expand Down
3 changes: 2 additions & 1 deletion test/test_groups.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ versions = ["lts", "1"]
versions = ["lts", "1"]

[GPU]
versions = ["1"]
# CUDA.jl 5.8 is required by Volta-compatible cuDNN 9.10 and cannot target sm_70 on Julia 1.12.
versions = ["1.10"]
runner = ["self-hosted", "Linux", "X64", "gpu"]
timeout = 240
Loading