Skip to content

Commit fa2639d

Browse files
committed
test: add deps
1 parent 4bf9e68 commit fa2639d

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

lib/MLDataDevices/test/runtests.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ withenv(
5353
"XLA_REACTANT_GPU_PREALLOCATE" => false,
5454
"BACKEND_GROUP" => BACKEND_GROUP,
5555
) do
56-
@testset "MLDataDevices" begin
57-
runtests(MLDataDevices, parsed_args; testsuite)
58-
59-
runtests(MLDataDevices, parsed_args; testsuite=additional_testsuite)
60-
end
56+
runtests(MLDataDevices, parsed_args; testsuite)
57+
runtests(MLDataDevices, parsed_args; testsuite=additional_testsuite)
6158
end

lib/WeightInitializers/test/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[deps]
2+
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e"
23
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
34
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
45
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
@@ -9,6 +10,7 @@ InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
910
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1011
LuxCUDA = "d0bbae9a-e099-4d5b-a835-1c6931763bda"
1112
LuxTestUtils = "ac9de150-d08f-4546-94fb-7472b5760531"
13+
Metal = "dde4c033-4e86-420c-a63e-0dd931031962"
1214
OpenCL = "08131aa3-fb12-5dee-8b74-c09406e224a2"
1315
ParallelTestRunner = "d3525ed8-44d0-4b2c-a655-542cee43accc"
1416
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

lib/WeightInitializers/test/runtests.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ const BACKEND_GROUP = lowercase(
66
something(get(parsed_args.custom, "BACKEND_GROUP", nothing), "all")
77
)
88

9-
const EXTRA_PKGS = LuxTestUtils.packages_to_install(BACKEND_GROUP)
10-
11-
if !isempty(EXTRA_PKGS)
12-
@info "Installing Extra Packages for testing" EXTRA_PKGS = EXTRA_PKGS
13-
Pkg.add(EXTRA_PKGS)
14-
Base.retry_load_extensions()
15-
Pkg.instantiate()
16-
end
17-
189
testsuite = find_tests(@__DIR__)
1910
delete!(testsuite, "common")
2011

0 commit comments

Comments
 (0)