File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
12
12
13
13
[compat ]
14
14
Adapt = " 3.0"
15
- CUDA = " 3.8 "
15
+ CUDA = " 4 "
16
16
ChainRulesCore = " 1.13"
17
17
Compat = " 4.2"
18
18
GPUArraysCore = " 0.1.0"
19
- NNlib = " 0.8"
19
+ NNlib = " 0.8, 0.9 "
20
20
Zygote = " 0.6.35"
21
21
julia = " 1.6"
22
22
Original file line number Diff line number Diff line change 23
23
@test (repr (" text/plain" , y); true )
24
24
25
25
gA = rand (3 , 2 ) |> cu;
26
- @test_broken gradient (A -> sum (A * y), gA)[1 ] isa CuArray # fails with JLArray, bug in Zygote?
26
+ if VERSION >= v " 1.9" && CUDA. functional ()
27
+ @test gradient (A -> sum (A * y), gA)[1 ] isa CuArray
28
+ else
29
+ @test_broken gradient (A -> sum (A * y), gA)[1 ] isa CuArray # fails with JLArray, bug in Zygote?
30
+ end
27
31
end
28
32
29
33
@testset " onehotbatch(::CuArray, ::UnitRange)" begin
You can’t perform that action at this time.
0 commit comments