Skip to content

Commit 8d6e7d4

Browse files
committed
Use ForwardDiff with dynamic benchmark model
1 parent 5f5a3d2 commit 8d6e7d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

benchmarks/benchmarks.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ chosen_combinations = [
5151
("Multivariate 1k", multivariate1k, :typed, :reversediff, true),
5252
("Loop univariate 10k", loop_univariate10k, :typed, :reversediff, true),
5353
("Multivariate 10k", multivariate10k, :typed, :reversediff, true),
54-
("Dynamic", Models.dynamic(), :typed, :reversediff, true),
54+
# TODO(mhauru) Would like to use :reversediff here, but see
55+
# https://github.com/TuringLang/DynamicPPL.jl/issues/835
56+
("Dynamic", Models.dynamic(), :typed, :forwarddiff, true),
5557
("Submodel", Models.parent(randn()), :typed, :reversediff, true),
5658
("LDA", lda_instance, :typed, :reversediff, true),
5759
]

0 commit comments

Comments
 (0)