Skip to content

Commit ad545be

Browse files
committed
Zygote tests are (?) not broken anymore (#339)
FluxML/Zygote.jl#1104 was merged and hence (hopefully) Zygote tests are not broken anymore.
1 parent 7563811 commit ad545be

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/test_util.jl

+1-6
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@ function test_model_ad(model, logp_manual)
4343

4444
y, back = Zygote.pullback(logp_model, x)
4545
@test y lp
46-
# will be fixed by https://github.com/FluxML/Zygote.jl/pull/1104
47-
if Threads.nthreads() > 1
48-
@test_broken back(1)[1] grad
49-
else
50-
@test back(1)[1] grad
51-
end
46+
@test back(1)[1] grad
5247
end
5348

5449
"""

0 commit comments

Comments
 (0)