soldasim / BOSS.jl

BOSS (Bayesian Optimization with Semiparametric Surrogate)
MIT License
2 stars 1 forks source link

NUTS sampler broken #7

Closed soldasim closed 1 month ago

soldasim commented 1 year ago

Reproduce:

Output:

julia> prob = example_bi(opt_problem(1), 1);
[ Info: Estimating model parameters ...
ERROR: TaskFailedException

    nested task error: TaskFailedException

        nested task error: UndefVarError: `Log` not defined
        Stacktrace:
           [1-8] ⋮ internal @ BijectorsDistributionsADExt, DynamicPPL, Unknown
             [9] tilde_assume!!
               @ DynamicPPL C:\Users\sheld\.julia\packages\DynamicPPL\m0PXI\src\context_implementations.jl:117
            [10] turing_model
               @ BOSS D:\plzen\sandbox\BOSS.jl\src\model_fitter\Turing.jl:88
         [11-27] ⋮ internal @ DynamicPPL, AbstractMCMC, Unknown
        Use `err` to retrieve the full stack trace.

    ...and 7 more exceptions.
soldasim commented 11 months ago

This seems to be an issue with Turing.jl, not a bug in BOSS.

Created issue here: https://github.com/TuringLang/Bijectors.jl/issues/294

soldasim commented 1 month ago

I no longer get the error from the example. Probably has been resolved by some update of Turing, Bijectors or other dependencies. Closing the issue.