Skip to content

Add setparamsgit add src/mcmc/gibbs_setparams.jl src/mcmc/gibbs_model…#2828

Open
singhharsh1708 wants to merge 1 commit into
TuringLang:mainfrom
singhharsh1708:gibbs-abstractmcmc
Open

Add setparamsgit add src/mcmc/gibbs_setparams.jl src/mcmc/gibbs_model…#2828
singhharsh1708 wants to merge 1 commit into
TuringLang:mainfrom
singhharsh1708:gibbs-abstractmcmc

Conversation

@singhharsh1708
Copy link
Copy Markdown

@singhharsh1708 singhharsh1708 commented May 20, 2026

Wire Turing into the AbstractMCMC Gibbs combinator

Implements the three AbstractMCMC Gibbs hooks for DynamicPPL.Model, delegating to the existing make_conditional machinery. Also adds getparams/setparams!! for Turing sampler state types (HMCState, TuringESSState, TuringState, AbstractVarInfo), replacing the role previously served by gibbs_update_state!! in the new interface.

The existing gibbs_update_state!! hooks are left untouched — nothing is broken.

Depends on: [TuringLang/AbstractMCMC.jl/pull/204]

…_hooks.jl src/mcmc/Inference.jl and condition hooks for AbstractMCMC Gibbs
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.

1 participant