Giter Site home page Giter Site logo

Comments (3)

ChrisRackauckas avatar ChrisRackauckas commented on August 15, 2024 1

If you change to the ForwardDiff backend it works:

https://github.com/TuringLang/Turing.jl/wiki/Get-started#changing-default-settings

> Turing.setadbackend(:forward_diff)
:forward_diff

> turing_result = turing_inference(prob, MethodOfSteps(RK4()), t_obs, data, [Gamma(1.0, 1.0)]; num_samples=500)
[Turing] looking for good initial eps...
[Turing.NUTS] found initial ϵ: 0.05
[NUTS] Sampling...  0%  ETA: 2:00:49[Turing.WARNING]: Numerical error has been f[NUTS] Sampling... 23%  ETA: 0:01:56

etc. We should try to get ReverseDiff working though. It works with the DiffEq solver though, so I'm not sure where it's running into an issue.

Pinging @xukai92

from diffeqbayes.jl.

ChrisRackauckas avatar ChrisRackauckas commented on August 15, 2024

With the newest Turing (master) this issue with Tracked variables seems to show up everywhere. @xukai92 can you take a look at our current code and let us know what areas are supposed to be differentiated? Since when the tracked variables hit the posterior distributions they give an error.

from diffeqbayes.jl.

Vaibhavdixit02 avatar Vaibhavdixit02 commented on August 15, 2024

This should work fine now, let us know if you still face issues with the latest release.

from diffeqbayes.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.