Skip to content
Open
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
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ GPUArraysCore = "0.1, 0.2"
SafeTestsets = "0.1"
InteractiveUtils = "<0.0.1, 1"
Lux = "1"
LuxCUDA = "0.3"
LuxCore = "1"
LuxTestUtils = "1, 2"
MLDataDevices = "1"
Expand Down Expand Up @@ -66,6 +67,7 @@ Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
LuxCUDA = "d0bbae9a-e099-4d5b-a835-1c6931763bda"
LuxTestUtils = "ac9de150-d08f-4546-94fb-7472b5760531"
MLDataDevices = "7e8f7934-dd98-4c1a-8fe8-92b47a384d40"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
Expand All @@ -78,4 +80,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Aqua", "Documenter", "ExplicitImports", "ForwardDiff", "Functors", "GPUArraysCore", "InteractiveUtils", "LuxTestUtils", "MLDataDevices", "NLsolve", "NonlinearSolve", "OrdinaryDiffEq", "Pkg", "SafeTestsets", "SciMLSensitivity", "StableRNGs", "Test", "Zygote"]
test = ["Aqua", "Documenter", "ExplicitImports", "ForwardDiff", "Functors", "GPUArraysCore", "InteractiveUtils", "LuxCUDA", "LuxTestUtils", "MLDataDevices", "NLsolve", "NonlinearSolve", "OrdinaryDiffEq", "Pkg", "SafeTestsets", "SciMLSensitivity", "StableRNGs", "Test", "Zygote"]
7 changes: 7 additions & 0 deletions docs/LocalPreferences.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[CUDA_Runtime_jll]
version = "12.6"

[CUDA_Driver_jll]
# Disable forward-compat driver — V100 runners need the system driver
# since CUDA_Driver_jll v13+ drops compute capability 7.0 support
compat = "false"
2 changes: 2 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[deps]
CUDA_Driver_jll = "4ee394cb-3365-5eb0-8335-949819d2adfc"
CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
DeepEquilibriumNetworks = "6748aba7-0e9b-415e-a410-ae3cc0ecb334"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Expand Down
13 changes: 9 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
using Pkg
using SafeTestsets, Test

const GROUP = uppercase(get(ENV, "GROUP", "CPU"))
const BACKEND_GROUP = uppercase(get(ENV, "BACKEND_GROUP", get(ENV, "GROUP", "CPU")))

@info "Running tests for GROUP: $GROUP"
@info "Running tests for BACKEND_GROUP: $BACKEND_GROUP"

@time begin
if GROUP == "CPU" || GROUP == "ALL"
if BACKEND_GROUP == "CPU" || BACKEND_GROUP == "ALL"
@time @safetestset "Utils Tests" include("utils_tests.jl")
@time @safetestset "Layers Tests" include("layers_tests.jl")
end

if GROUP == "QA"
if BACKEND_GROUP == "CUDA" || BACKEND_GROUP == "ALL"
@time @safetestset "CUDA Utils Tests" include("utils_tests.jl")
@time @safetestset "CUDA Layers Tests" include("layers_tests.jl")
end

if BACKEND_GROUP == "QA"
@time @safetestset "Quality Assurance Tests" include("qa_tests.jl")
end
end
Loading