Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NUTS sampler broken #7

Closed
soldasim opened this issue Oct 27, 2023 · 2 comments
Closed

NUTS sampler broken #7

soldasim opened this issue Oct 27, 2023 · 2 comments

Comments

@soldasim
Copy link
Owner

soldasim commented Oct 27, 2023

Reproduce:

  • Replace PG(20) with NUTS(20, 0.65) in example.jl
  • Run example_bi

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
Copy link
Owner Author

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

Created issue here: TuringLang/Bijectors.jl#294

@soldasim
Copy link
Owner Author

soldasim commented Oct 7, 2024

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.

@soldasim soldasim closed this as completed Oct 7, 2024
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

No branches or pull requests

1 participant