Skip to content

New version: AdvancedHMC v0.8.4#155178

Merged
JuliaTagBot merged 1 commit into
masterfrom
registrator-advancedhmc-0bf59076-v0.8.4-4aa4bd0e2e
May 11, 2026
Merged

New version: AdvancedHMC v0.8.4#155178
JuliaTagBot merged 1 commit into
masterfrom
registrator-advancedhmc-0bf59076-v0.8.4-4aa4bd0e2e

Conversation

@JuliaRegistrator
Copy link
Copy Markdown
Contributor

UUID: 0bf59076-c3b1-5ca4-86bd-e02cd72cde3d
Repo: https://github.com/TuringLang/AdvancedHMC.jl.git
Tree: b75e434bd1e3e537586f3f70510dec8c70ce27ad

Registrator tree SHA: 50f504d641745716a5b3eabaf681d3a4937d2ae3
JuliaRegistrator referenced this pull request in TuringLang/AdvancedHMC.jl May 11, 2026
* Replace OrdinaryDiffEq weakdep with OrdinaryDiffEqSymplecticRK

The DiffEqIntegrator extension only ever used the symplectic solvers
(VerletLeapfrog and friends) plus the standard `init`/`step!`/
`DynamicalODEProblem` interface. None of that requires the full
OrdinaryDiffEq meta-package; everything lives in or is re-exported by
OrdinaryDiffEqSymplecticRK.

Switching the weakdep from OrdinaryDiffEq → OrdinaryDiffEqSymplecticRK:

- Drops the heavy meta-package: users no longer pull in BDF, Rosenbrock,
  Tsit5, Verner, Default, OrdinaryDiffEqCore, NonlinearSolve, LinearSolve,
  etc. just to use a leapfrog integrator inside HMC.
- Makes the dependency graph honest about what the extension actually
  uses (symplectic RK methods only).
- Sidesteps the OrdinaryDiffEq v6 ↔ v7 compat ratchet entirely:
  OrdinaryDiffEqSymplecticRK v1 (works against OrdinaryDiffEq v6) and v2
  (works against v7) both expose the same surface, so compat is just
  `"1, 2"`.
- Aligns with the v7 ecosystem story: in v7 `VerletLeapfrog` no longer
  re-exports out of OrdinaryDiffEq itself (it lives in the symplectic
  sublib), so depending on the sublib directly is the forward-compatible
  shape.

Renames:
- weakdep `OrdinaryDiffEq` → `OrdinaryDiffEqSymplecticRK`
- extension module `AdvancedHMCOrdinaryDiffEqExt` →
  `AdvancedHMCOrdinaryDiffEqSymplecticRKExt`
- extension file matched

Updates `test/runtests.jl`, `test/integrator.jl`, the
`register_error_hint` message, and the inline source comment in
`src/integrator.jl` to refer to the new package name.

Verified locally on Julia 1.10:
- AHMC_TEST_GROUP=AdvancedHMC: 5052 tests, exit 0, no errors
- Integrator subtests: 35/35 pass
- Numerical equivalence: DiffEqIntegrator(VerletLeapfrog()) matches
  native Leapfrog bit-for-bit over 1000 steps; Hamiltonian drift
  ~1.7e-5 over the same trajectory.

Unblocks downstream Turing v0.45 + SciML stack composition (e.g.
SciMLExpectations.jl docs).

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>

* Apply suggestions from code review

Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>

* Remove stale OrdinaryDiffEq compat entry

The rename to OrdinaryDiffEqSymplecticRK left an `OrdinaryDiffEq = "6, 7"`
line in [compat] without a matching deps/weakdeps/extras entry, which
Pkg rejects (`Compat 'OrdinaryDiffEq' not listed`).

---------

Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Xianda Sun <5433119+sunxd3@users.noreply.github.com>
Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>
Co-authored-by: Xianda Sun <sunxdt@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

Hello, I am an automated registration bot. I help manage the registration process by checking your registration against a set of AutoMerge guidelines. If all these guidelines are met, this pull request will be merged automatically, completing your registration. It is strongly recommended to follow the guidelines, since otherwise the pull request needs to be manually reviewed and merged by a human.

1. AutoMerge Guidelines are all met! ✅

Your new version registration met all of the guidelines for auto-merging and is scheduled to be merged in the next round (~20 minutes).

2. To pause or stop registration

If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.

Tip: You can edit blocking comments to add [noblock] in order to unblock auto-merging.

@JuliaTagBot JuliaTagBot merged commit 5422ad3 into master May 11, 2026
30 checks passed
@JuliaTagBot JuliaTagBot deleted the registrator-advancedhmc-0bf59076-v0.8.4-4aa4bd0e2e branch May 11, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants