You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version of cppl, options local to an inference method are not handled correctly. For example, the aligned option of LightweightMCMC, which controls which kind of compilation to use, is ignored, and one has to use the global align option to enable this. Thus, it is impossible to use alignment in one place and disable it in another.
The local options of inference methods must be used to update the "global" options so that we can still pass the global options record to functions that expect it (to remain backward compatible). The problem is that all options local to inference methods may be arbitrary expressions, which may not be known until runtime. What we need is the following:
Support for specifying that an option must be a literal value.
A way to "update" the global options based on the configuration parameters of an inference method. (Options -> InferMethod -> Options)
If we want the global options to take precedence over the local configuration parameters, we also need a way to update the local parameters with non-default values of the global options. (Options -> InferMethod -> InferMethod)
The text was updated successfully, but these errors were encountered:
In the current version of
cppl
, options local to an inference method are not handled correctly. For example, thealigned
option ofLightweightMCMC
, which controls which kind of compilation to use, is ignored, and one has to use the globalalign
option to enable this. Thus, it is impossible to use alignment in one place and disable it in another.The local options of inference methods must be used to update the "global" options so that we can still pass the global options record to functions that expect it (to remain backward compatible). The problem is that all options local to inference methods may be arbitrary expressions, which may not be known until runtime. What we need is the following:
Options -> InferMethod -> Options
)Options -> InferMethod -> InferMethod
)The text was updated successfully, but these errors were encountered: