Skip to content

Commit

Permalink
Bump Turing/DynamicPPL compat (#214)
Browse files Browse the repository at this point in the history
* Bump compat for Turing -> 0.35, DynamicPPL -> 0.29

* Fix links to old Turing website

* Bump patch version

* Increment patch number

---------

Co-authored-by: Seth Axen <[email protected]>
  • Loading branch information
penelopeysm and sethaxen authored Oct 25, 2024
1 parent 65c5646 commit 8211737
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Pathfinder"
uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454"
authors = ["Seth Axen <[email protected]> and contributors"]
version = "0.9.3"
version = "0.9.4"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down Expand Up @@ -41,7 +41,7 @@ ADTypes = "0.2, 1"
Accessors = "0.1.12"
Distributions = "0.25.87"
DynamicHMC = "3.4.0"
DynamicPPL = "0.25.2, 0.27, 0.28"
DynamicPPL = "0.25.2, 0.27, 0.28, 0.29"
Folds = "0.2.9"
ForwardDiff = "0.10.19"
IrrationalConstants = "0.1.1, 0.2"
Expand All @@ -62,7 +62,7 @@ SciMLBase = "1.95.0, 2"
Statistics = "1.6"
StatsBase = "0.33.7, 0.34"
Transducers = "0.4.81"
Turing = "0.31.4, 0.32, 0.33, 0.34"
Turing = "0.31.4, 0.32, 0.33, 0.34, 0.35"
UnPack = "1"
julia = "1.6"

Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ StatsFuns = "1"
StatsPlots = "0.14.21, 0.15"
TransformVariables = "0.6.2, 0.7, 0.8"
TransformedLogDensities = "1.0.2"
Turing = "0.31.4, 0.32, 0.33, 0.34"
Turing = "0.31.4, 0.32, 0.33, 0.34, 0.35"
4 changes: 2 additions & 2 deletions docs/src/examples/initializing-hmc.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Pathfinder can be used to initialize MCMC, and in particular HMC, in 3 ways:

This tutorial demonstrates all three approaches with [DynamicHMC.jl](https://tamaspapp.eu/DynamicHMC.jl/stable/) and [AdvancedHMC.jl](https://github.com/TuringLang/AdvancedHMC.jl).
Both of these packages have standalone implementations of adaptive HMC (aka NUTS) and can be used independently of any probabilistic programming language (PPL).
Both the [Turing](https://turing.ml/stable/) and [Soss](https://github.com/cscherrer/Soss.jl) PPLs have some DynamicHMC integration, while Turing also integrates with AdvancedHMC.
Both the [Turing](https://turinglang.org/) and [Soss](https://github.com/cscherrer/Soss.jl) PPLs have some DynamicHMC integration, while Turing also integrates with AdvancedHMC.

For demonstration purposes, we'll use the following dummy data:

Expand Down Expand Up @@ -234,4 +234,4 @@ samples_ahmc3, stats_ahmc3 = sample(
)
```

[^1]: https://mc-stan.org/docs/reference-manual/hmc-algorithm-parameters.html
[^1]: https://mc-stan.org/docs/reference-manual/hmc-algorithm-parameters.html
2 changes: 1 addition & 1 deletion docs/src/examples/turing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Running Pathfinder on Turing.jl models

This tutorial demonstrates how [Turing](https://turing.ml/stable/) can be used with Pathfinder.
This tutorial demonstrates how [Turing](https://turinglang.org/) can be used with Pathfinder.

We'll demonstrate with a regression example.

Expand Down
2 changes: 1 addition & 1 deletion test/integration/Turing/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
[compat]
LogDensityProblems = "2.1.0"
Pathfinder = "0.9"
Turing = "0.31.4, 0.32, 0.33, 0.34"
Turing = "0.31.4, 0.32, 0.33, 0.34, 0.35"
julia = "1.6"

2 comments on commit 8211737

@sethaxen
Copy link
Member

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

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.9.4 -m "<description of version>" 82117377c043f8a9a21cc933977e902fb5624129
git push origin v0.9.4

Please sign in to comment.