TuringLang / DynamicPPL.jl

Implementation of domain-specific language (DSL) for dynamic probabilistic programming
https://turinglang.org/DynamicPPL.jl/
MIT License
157 stars 26 forks source link

Repeated deriving of `rule` while using Tapir #640

Closed sunxd3 closed 1 week ago

sunxd3 commented 1 month ago

It has been observed in https://github.com/TuringLang/Turing.jl/pull/2289 that when using Gibbs, re-deriving of rules are triggered multiple time.

Tapir's mechanism should make it safe to cache the rule.

sunxd3 commented 1 week ago

Some updates related to this can be found at https://github.com/TuringLang/Turing.jl/pull/2289.

close this now because there are some efforts made in Tapir to make efforts in DynamicPPL unnecessary