Coder Social home page Coder Social logo

Comments (4)

dleutnant avatar dleutnant commented on August 20, 2024

This is of high interest to me (my model runs are quite expensive)!

from bayesiantools.

florianhartig avatar florianhartig commented on August 20, 2024

Because our samplers also do internal parallelization, parallelizing the chains as well requires some changes to the code structure, so this won’t happen in the next months.

So far, the best solution is to do the workaround (see above), starting 3 independent R instances

from bayesiantools.

dleutnant avatar dleutnant commented on August 20, 2024

That's exactly what I'm doing. Thanks again for your feedback!

from bayesiantools.

florianhartig avatar florianhartig commented on August 20, 2024

Tankred, can you have a look at this and not implement, but just think about whether we can do this in a stable, non too-hacky way? If this doesn't seem save, I'd prefer it to let users do this by hand.

I guess the problem is that we have currently attached the parallelization to the BayesianSetup, which also seems important in some way, because only this ensures that people with heavy models have full control of hd io things. I'm not sure if this could be used by the runMCMC to parallelize the chains, I guess not.

So we would have to create a second parallelization option in runMCMC ... could do that, but doesn't feel stable / save.

Maybe we need to rethink the entire parallelization concept. In any case, at the moment, I just want to brainstorm about what the options are.

from bayesiantools.

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.