Skip to content

Commit

Permalink
Merge pull request #10 from TuringLang/torfjelde/benchmark-model-kwar…
Browse files Browse the repository at this point in the history
…g-fix

Removed kwargs in call to make_turing_suite
  • Loading branch information
torfjelde committed Sep 17, 2023
2 parents 1ebd1de + cbf2b27 commit b7065a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/TuringBenchmarking.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ function benchmark_model(
varinfo,
sampler,
context,
kwargs...
)
return run(suite; kwargs...)
end
Expand Down Expand Up @@ -111,7 +110,7 @@ function make_turing_suite(
check_grads::Bool = false,
varinfo::DynamicPPL.AbstractVarInfo = DynamicPPL.VarInfo(model),
sampler::Union{AbstractMCMC.AbstractSampler,Nothing} = nothing,
context::DynamicPPL.AbstractContext = DynamicPPL.DefaultContext()
context::DynamicPPL.AbstractContext = DynamicPPL.DefaultContext(),
)
grads = Dict(:standard => Dict(), :linked => Dict())

Expand Down

2 comments on commit b7065a3

@torfjelde
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/91566

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.1 -m "<description of version>" b7065a351bcf689603ed088cfcab146febfecc7c
git push origin v0.3.1

Please sign in to comment.