Skip to content

Commit f46f90a

Browse files
committed
rm CUDA & GPU test
1 parent 3e4b4ab commit f46f90a

File tree

4 files changed

+1
-22
lines changed

4 files changed

+1
-22
lines changed

test/Project.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,38 @@
11
[deps]
22
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
33
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
54
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
65
ComputationalResources = "ed09eef8-17a6-5b46-8889-db040fac31e3"
76
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
87
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
98
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
109
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
1110
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
12-
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
1311
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
1412
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
1513
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
16-
LuxCUDA = "d0bbae9a-e099-4d5b-a835-1c6931763bda"
1714
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
1815
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1916
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
2017
TerminalLoggers = "5d786b92-1e48-4d6f-9151-6b4477ca9bed"
2118
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2219
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
23-
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
2420

2521
[compat]
2622
ADTypes = "1"
2723
Aqua = "0.8"
28-
CUDA = "5"
2924
ComponentArrays = "0.15"
3025
ComputationalResources = "0.3"
3126
DataFrames = "1"
3227
DifferentiationInterface = "0.6"
3328
Distances = "0.10"
3429
Distributions = "0.25"
3530
Enzyme = "0.13"
36-
GPUArraysCore = "0.1, 0.2"
3731
JET = "0.9"
3832
Lux = "1"
39-
LuxCUDA = "0.3"
4033
MLJBase = "1"
4134
SciMLBase = "2"
4235
StableRNGs = "1"
4336
TerminalLoggers = "0.1"
4437
Zygote = "0.6, 0.7"
45-
cuDNN = "1"
4638
julia = "1.10"

test/call_tests.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ Test.@testset "Call Tests" begin
6262
]
6363
data_types = Type{<:AbstractFloat}[Float32]
6464
resources = ComputationalResources.AbstractResource[ComputationalResources.CPU1()]
65-
if CUDA.has_cuda_gpu() && USE_GPU
66-
push!(resources, ComputationalResources.CUDALibs())
67-
end
6865

6966
Test.@testset "$resource | $data_type | $compute_mode | inplace = $inplace | aug & steer = $aug_steer | nvars = $nvars | $omode | $mt" for resource in
7067
resources,

test/fit_tests.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ Test.@testset "Fit Tests" begin
5959
]
6060
data_types = Type{<:AbstractFloat}[Float32]
6161
resources = ComputationalResources.AbstractResource[ComputationalResources.CPU1()]
62-
if CUDA.has_cuda_gpu() && USE_GPU
63-
push!(resources, ComputationalResources.CUDALibs())
64-
end
6562

6663
Test.@testset "$resource | $data_type | $compute_mode | $adtype | inplace = $inplace | aug & steer = $aug_steer | nvars = $nvars | $mt" for resource in
6764
resources,

test/runtests.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@ import ADTypes,
22
Aqua,
33
ComponentArrays,
44
ComputationalResources,
5-
CUDA,
6-
cuDNN,
75
DataFrames,
86
DifferentiationInterface,
97
Distances,
108
Distributions,
119
Enzyme,
12-
GPUArraysCore,
1310
JET,
1411
Logging,
1512
Lux,
16-
LuxCUDA,
1713
MLJBase,
1814
SciMLBase,
1915
StableRNGs,
@@ -23,7 +19,6 @@ import ADTypes,
2319
ContinuousNormalizingFlows
2420

2521
GROUP = get(ENV, "GROUP", "All")
26-
USE_GPU = get(ENV, "USE_GPU", "Yes") == "Yes"
2722

2823
if (GROUP == "All")
2924
GC.enable_logging(true)
@@ -35,9 +30,7 @@ end
3530
Test.@testset "Overall" begin
3631
if GROUP == "All" ||
3732
GROUP in ["RNODE", "FFJORD", "Planar", "CondRNODE", "CondFFJORD", "CondPlanar"]
38-
GPUArraysCore.allowscalar() do
39-
include("smoke_tests.jl")
40-
end
33+
include("smoke_tests.jl")
4134
end
4235

4336
if GROUP == "All" || GROUP == "Quality"

0 commit comments

Comments
 (0)