Skip to content

Commit 14a0d8c

Browse files
removed Zygote & Tracker test (#837)
1 parent 00a262c commit 14a0d8c

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

test/Project.toml

-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
2626
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
2727
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
2828
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
29-
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
3029
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
3130

3231
[compat]
@@ -51,6 +50,5 @@ Mooncake = "0.4.95"
5150
OrderedCollections = "1"
5251
ReverseDiff = "1"
5352
StableRNGs = "1"
54-
Tracker = "0.2.23"
5553
Zygote = "0.6"
5654
julia = "1.10"

test/runtests.jl

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ using MacroTools
1414
using MCMCChains
1515
using Mooncake: Mooncake
1616
using StableRNGs
17-
using Tracker
1817
using ReverseDiff
1918
using Zygote
2019
using Compat

test/test_util.jl

-16
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,8 @@ function test_model_ad(model, logp_manual)
2323
# Gradients based on the manual implementation.
2424
grad = ForwardDiff.gradient(logp_manual, x)
2525

26-
y, back = Tracker.forward(logp_manual, x)
27-
@test Tracker.data(y) lp
28-
@test Tracker.data(back(1)[1]) grad
29-
30-
y, back = Zygote.pullback(logp_manual, x)
31-
@test y lp
32-
@test back(1)[1] grad
33-
3426
# Gradients based on the model.
3527
@test ForwardDiff.gradient(logp_model, x) grad
36-
37-
y, back = Tracker.forward(logp_model, x)
38-
@test Tracker.data(y) lp
39-
@test Tracker.data(back(1)[1]) grad
40-
41-
y, back = Zygote.pullback(logp_model, x)
42-
@test y lp
43-
@test back(1)[1] grad
4428
end
4529

4630
"""

0 commit comments

Comments
 (0)