Skip to content

Commit

Permalink
fix benchmark disable Zygote
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Jun 5, 2024
1 parent 5d4c00c commit c0a0a3b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions bench/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ include("normallognormal.jl")

const SUITES = BenchmarkGroup()

SUITES["normal + bijector"]["meanfield"]["Zygote"] =
@benchmarkable normallognormal(
;
fptype = Float64,
adtype = AutoZygote(),
family = :meanfield,
objective = :RepGradELBO,
n_montecarlo = 4,
)
# Comment until https://github.com/TuringLang/Bijectors.jl/pull/315 is merged
# SUITES["normal + bijector"]["meanfield"]["Zygote"] =
# @benchmarkable normallognormal(
# ;
# fptype = Float64,
# adtype = AutoZygote(),
# family = :meanfield,
# objective = :RepGradELBO,
# n_montecarlo = 4,
# )

SUITES["normal + bijector"]["meanfield"]["ReverseDiff"] =
@benchmarkable normallognormal(
Expand Down

0 comments on commit c0a0a3b

Please sign in to comment.