-
Notifications
You must be signed in to change notification settings - Fork 22
Use AbstractPPL evaluator interface #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
f689bd8
Migrate from DifferentiationInterface to AbstractPPL evaluator interface
yebai 79cc048
Bump AbstractPPL@0.15, add LDP+Hessian on prepared evaluators
yebai 92124d6
Revert formatting-only changes pulled in by the migration
yebai 6da3232
Move LDP+Hessian-on-Prepared work to a follow-up branch
yebai d106e7b
Restore Hessian support via AbstractPPL hg/hessian-order
yebai 79db2fb
Drop _VIGradPrep; thread aux through AbstractPPL context
yebai 451e7b7
Parameterise loglikeadj eltype; expand model_ref WHY comment
yebai 23c610c
Merge branch 'main' into abstractppl-dynamicppl-migration
yebai 5790cd4
Drop AbstractPPL and Bijectors source pins; restrict Bijectors compat
yebai cda0cfd
Merge branch 'main' into abstractppl-dynamicppl-migration
yebai 6882db8
Repoint DynamicPPL source pin to main
yebai 703b8c8
Run benchmarks and docs on Julia 1; add Julia 1 to Buildkite
yebai b7d820f
Skip prep cache for AutoReverseDiff(; compile=true)
yebai 3fdf684
Drop Zygote from benchmarks; load DI in setup blocks
yebai a57188a
Tighten comments and prefer !== for type comparisons
yebai 61cee75
Drop ReverseDiff from benchmarks
yebai 4a170ea
Apply JuliaFormatter suggestion in bench/benchmarks.jl
yebai 53a672f
Drop DynamicPPL main source pin
yebai 7f24add
Switch docs and benchmarks to Mooncake
yebai 4e9693e
Switch format workflow to TuringLang/actions/Format
yebai 773460c
Drop LogDensityProblemsAD from docs tutorials
yebai 9c2e44e
Move Mooncake overlay for Bijectors.Stacked into basic.md
yebai 2fbbcdc
Use AutoMooncake in constrained.md's logdensity_and_gradient
yebai ccc45f4
Merge branch 'main' into abstractppl-dynamicppl-migration
yebai f7f8911
formatting
yebai b4b2b47
Address Xianda's review on DynamicPPL ext + restore ReverseDiff bench…
yebai 4dab3e7
Tighten DynamicPPL ext design-rationale comments
yebai daf504e
Move basic.md footnotes to end of file
yebai 1a982d3
Address remaining review feedback from sunxd3
yebai b911715
Revert benchmark workflow back to LTS Julia
yebai bd6160f
Drop unused test deps and clarify subsample docstring
yebai 428d5c0
Address review feedback: hoist prep, drop Mooncake overlay, tighten ext
yebai 8526f5e
Merge branch 'main' into abstractppl-dynamicppl-migration
yebai 01c6b7d
Use eltype(loglikeadj_ref) for consistency
yebai ece02c1
Require Mooncake 0.5.31, drop docs [sources] pin
yebai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,3 +16,4 @@ steps: | |
| setup: | ||
| julia: | ||
| - "1.10" | ||
| - "1" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,48 +1,46 @@ | ||
| [deps] | ||
| ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" | ||
| AbstractPPL = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" | ||
| Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
| AdvancedVI = "b5ca4192-6429-45e5-a2d9-87aec30a685c" | ||
| Bijectors = "76274a88-744f-5084-9051-94815aaf08c4" | ||
| DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
| DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63" | ||
| Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" | ||
| Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
| FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" | ||
| ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" | ||
| Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196" | ||
| JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | ||
| LogDensityProblems = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c" | ||
| LogDensityProblemsAD = "996a588d-648d-4e1f-a8f0-a84b347e47b1" | ||
| Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6" | ||
| NormalizingFlows = "50e4474d-9f12-44b7-af7a-91ab30ff6256" | ||
| OpenML = "8b6db2d4-7670-4922-a472-f9537c81ab66" | ||
| Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2" | ||
| Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
| QuasiMonteCarlo = "8a4e6c94-4038-4cdc-81c3-7e6ffdb2a71b" | ||
| ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" | ||
| StanLogDensityProblems = "a545de4d-8dba-46db-9d34-4e41d3f07807" | ||
| StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c" | ||
|
|
||
| [compat] | ||
| ADTypes = "1" | ||
| AbstractPPL = "0.15" | ||
| Accessors = "0.1" | ||
| AdvancedVI = "0.7, 0.6" | ||
| Bijectors = "0.13.6, 0.14, 0.15" | ||
| Bijectors = "0.15, 0.16" | ||
| DataFrames = "1" | ||
| DifferentiationInterface = "0.7" | ||
| Distributions = "0.25" | ||
| Documenter = "1" | ||
| FillArrays = "1" | ||
| ForwardDiff = "0.10, 1" | ||
| Functors = "0.5" | ||
| JSON = "0.21, 1" | ||
| LogDensityProblems = "2.1.1" | ||
| LogDensityProblemsAD = "1" | ||
| Mooncake = "0.5.31" | ||
| NormalizingFlows = "0.2.2" | ||
| OpenML = "0.3" | ||
| Optimisers = "0.3, 0.4" | ||
| Plots = "1" | ||
| QuasiMonteCarlo = "0.3" | ||
| ReverseDiff = "1" | ||
| StanLogDensityProblems = "0.1" | ||
| StatsFuns = "1, 2" | ||
| julia = "1.10, 1.11.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.