Skip to content

Commit 09b60f1

Browse files
author
Michael Abbott
committed
disable LV grad checks on CI completely
1 parent 80f2f9f commit 09b60f1

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

test/group-3.jl

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,20 @@ end
145145

146146
@testset "parsing + LoopVectorization" begin include("parsing.jl") end
147147

148-
Threads.nthreads() > 1 && test_group == "3" && exit() # Github CI times out on multi-thread LV gradient checks?
148+
if test_group != "3" # Github CI fails, on some runs, "ERROR: Package Tullio errored during testing (received signal: KILL)"
149+
# https://github.com/mcabbott/Tullio.jl/pull/57/checks?check_run_id=1753332805
149150

150-
using Tracker
151-
GRAD = :Tracker
152-
_gradient(x...) = Tracker.gradient(x...)
151+
using Tracker
152+
GRAD = :Tracker
153+
_gradient(x...) = Tracker.gradient(x...)
153154

154-
@tullio grad=Base
155-
@testset "gradients: Tracker + DiffRules + LoopVectorization" begin include("gradients.jl") end
155+
@tullio grad=Base
156+
@testset "gradients: Tracker + DiffRules + LoopVectorization" begin include("gradients.jl") end
156157

157-
@tullio grad=Dual
158-
@testset "gradients: Tracker + ForwardDiff + LoopVectorization" begin include("gradients.jl") end
158+
@tullio grad=Dual
159+
@testset "gradients: Tracker + ForwardDiff + LoopVectorization" begin include("gradients.jl") end
160+
161+
end
159162

160163
@info @sprintf("LoopVectorization tests took %.1f seconds", time()-t8)
161164

0 commit comments

Comments
 (0)