Skip to content

Commit

Permalink
Merge pull request #178 from tpapp/tp/remove-jet-workaround
Browse files Browse the repository at this point in the history
remove workaround for JET.jl
  • Loading branch information
tpapp authored Feb 16, 2023
2 parents 5846bc4 + 024d233 commit 6462cc1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DynamicHMC"
uuid = "bbc10e6e-7c05-544b-b16e-64fede858acb"
authors = ["Tamas K. Papp <[email protected]>"]
version = "3.4.2"
version = "3.4.3"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/worked_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ summarize_tree_statistics(results.tree_statistics)

Usually one would run multiple chains and check convergence and mixing using generic MCMC diagnostics not specific to NUTS.

The specifics of running multiple chains is up to the user: various forms of [parallel computing](https://docs.julialang.org/en/v1/manual/parallel-computing/) can be utilized depending on the problem scale and the hardware available. In the example below we use [multi-threading](https://docs.julialang.org/en/v1/manual/multi-threading), using [ThreadTools.jl](https://github.com/baggepinnen/ThreadTools.jl); other excellent packages are available for threading.
The specifics of running multiple chains is up to the user: various forms of [parallel computing](https://docs.julialang.org/en/v1/manual/parallel-computing/) can be utilized depending on the problem scale and the hardware available. In the example below we use [multi-threading](https://docs.julialang.org/en/v1/manual/multi-threading/), using [ThreadTools.jl](https://github.com/baggepinnen/ThreadTools.jl); other excellent packages are available for threading.

It is easy to obtain posterior results for use with [MCMCDiagnosticsTools.jl](https://github.com/TuringLang/MCMCDiagnosticTools.jl/) with [`stack_posterior_matrices`](@ref):

Expand Down
1 change: 0 additions & 1 deletion test/jet.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using JET
insert!(LOAD_PATH, 2, "..")
@testset "static analysis with JET.jl" begin
@test isempty(JET.get_reports(report_package(DynamicHMC, target_modules=(DynamicHMC,))))
end

2 comments on commit 6462cc1

@tpapp
Copy link
Owner Author

@tpapp tpapp commented on 6462cc1 Feb 16, 2023

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/77771

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 v3.4.3 -m "<description of version>" 6462cc18a9a8a8576ab5e2f23cb6a667cdf58d82
git push origin v3.4.3

Please sign in to comment.