Skip to content

Added potential energy to the MultiHMCGibbsState#10

Merged
WolfgangEnzi merged 4 commits into
mainfrom
feature/saving_potential_energy
Jul 25, 2025
Merged

Added potential energy to the MultiHMCGibbsState#10
WolfgangEnzi merged 4 commits into
mainfrom
feature/saving_potential_energy

Conversation

@WolfgangEnzi
Copy link
Copy Markdown
Collaborator

The potential energy is taken from the existing HMCstate after all Gibbs steps are taken.

The potential energy is taken from the existing HMCstate after all Gibbs steps are taken.
@WolfgangEnzi WolfgangEnzi requested a review from CKrawczyk July 25, 2025 12:41
Increased absolute tolerances due to updated Numpyro.
Increased tolerances futher, as required by the updated version of Numpyro.
Copy link
Copy Markdown
Owner

@CKrawczyk CKrawczyk left a comment

Choose a reason for hiding this comment

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

These changes work as intended. In the long run it will be nice to get the likelihood evaluations as well, but as that is not automatically saved in the HMC state it would need much more code to get at it in a clean way. That would be beyond this PR.

@WolfgangEnzi WolfgangEnzi merged commit f969a46 into main Jul 25, 2025
3 checks passed
@WolfgangEnzi WolfgangEnzi deleted the feature/saving_potential_energy branch July 25, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants