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"
1212
1313[compat ]
1414Adapt = " 3.0"
15- CUDA = " 3.8 "
15+ CUDA = " 4 "
1616ChainRulesCore = " 1.13"
1717Compat = " 4.2"
1818GPUArraysCore = " 0.1.0"
19- NNlib = " 0.8"
19+ NNlib = " 0.8, 0.9 "
2020Zygote = " 0.6.35"
2121julia = " 1.6"
2222
Original file line number Diff line number Diff line change 2323 @test (repr (" text/plain" , y); true )
2424
2525 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
2731end
2832
2933@testset " onehotbatch(::CuArray, ::UnitRange)" begin
You can’t perform that action at this time.
0 commit comments