From 2363d60fc6de3c684fc14555cdd706672d24a753 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Thu, 3 Oct 2024 14:49:50 -0400 Subject: [PATCH 1/4] test: try enabling Lux tests on Mac --- test/runtests.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 901a44d42..1a42aba24 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -53,9 +53,7 @@ end @testset "Neural Networks" begin @safetestset "NNlib Primitives" include("nn/nnlib.jl") @safetestset "Flux.jl Integration" include("nn/flux.jl") - if Sys.islinux() - @safetestset "LuxLib Primitives" include("nn/luxlib.jl") - @safetestset "Lux Integration" include("nn/lux.jl") - end + @safetestset "LuxLib Primitives" include("nn/luxlib.jl") + @safetestset "Lux Integration" include("nn/lux.jl") end end From d73888ad41f6153f040f66fcc0d3f958557bd5ea Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 20 Oct 2024 14:23:14 -0400 Subject: [PATCH 2/4] Update test/runtests.jl --- test/runtests.jl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 8ee3adb77..5dad8055a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -52,10 +52,12 @@ const REACTANT_TEST_GROUP = lowercase(get(ENV, "REACTANT_TEST_GROUP", "all")) @safetestset "Buffer Donation" include("buffer_donation.jl") @safetestset "Wrapped Arrays" include("wrapped_arrays.jl") - @testset "Neural Networks" begin - @safetestset "NNlib Primitives" include("nn/nnlib.jl") - @safetestset "Flux.jl Integration" include("nn/flux.jl") - @safetestset "LuxLib Primitives" include("nn/luxlib.jl") - @safetestset "Lux Integration" include("nn/lux.jl") + if REACTANT_TEST_GROUP == "all" || REACTANT_TEST_GROUP == "neural_networks" + @testset "Neural Networks" begin + @safetestset "NNlib Primitives" include("nn/nnlib.jl") + @safetestset "Flux.jl Integration" include("nn/flux.jl") + @safetestset "LuxLib Primitives" include("nn/luxlib.jl") + @safetestset "Lux Integration" include("nn/lux.jl") + end end end From 2ca5558926257822e61453dfa414fd64868adaec Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 20 Oct 2024 14:24:21 -0400 Subject: [PATCH 3/4] Update test/runtests.jl --- test/runtests.jl | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 5dad8055a..990df4546 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -42,15 +42,17 @@ end const REACTANT_TEST_GROUP = lowercase(get(ENV, "REACTANT_TEST_GROUP", "all")) @testset "Reactant.jl Tests" begin - @safetestset "Layout" include("layout.jl") - @safetestset "Tracing" include("tracing.jl") - @safetestset "Basic" include("basic.jl") - @safetestset "Broadcast" include("bcast.jl") - @safetestset "Struct" include("struct.jl") - @safetestset "Closure" include("closure.jl") - @safetestset "Compile" include("compile.jl") - @safetestset "Buffer Donation" include("buffer_donation.jl") - @safetestset "Wrapped Arrays" include("wrapped_arrays.jl") + if REACTANT_TEST_GROUP == "all" || REACTANT_TEST_GROUP == "core" + @safetestset "Layout" include("layout.jl") + @safetestset "Tracing" include("tracing.jl") + @safetestset "Basic" include("basic.jl") + @safetestset "Broadcast" include("bcast.jl") + @safetestset "Struct" include("struct.jl") + @safetestset "Closure" include("closure.jl") + @safetestset "Compile" include("compile.jl") + @safetestset "Buffer Donation" include("buffer_donation.jl") + @safetestset "Wrapped Arrays" include("wrapped_arrays.jl") + end if REACTANT_TEST_GROUP == "all" || REACTANT_TEST_GROUP == "neural_networks" @testset "Neural Networks" begin From d9dc1154735f8242119e4892ecd45b1fcf9d1e1a Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 20 Oct 2024 14:25:18 -0400 Subject: [PATCH 4/4] Update test/runtests.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 990df4546..ab9008b48 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -54,7 +54,7 @@ const REACTANT_TEST_GROUP = lowercase(get(ENV, "REACTANT_TEST_GROUP", "all")) @safetestset "Wrapped Arrays" include("wrapped_arrays.jl") end - if REACTANT_TEST_GROUP == "all" || REACTANT_TEST_GROUP == "neural_networks" + if REACTANT_TEST_GROUP == "all" || REACTANT_TEST_GROUP == "neural_networks" @testset "Neural Networks" begin @safetestset "NNlib Primitives" include("nn/nnlib.jl") @safetestset "Flux.jl Integration" include("nn/flux.jl")