Closed bilby-bot closed 3 weeks ago
In GitLab by @git.ligo:gregory.ashton on Aug 25, 2021, 16:38
mentioned in commit d4bbe04ad3710efc7ed2203005dd4b40c46a4107
In GitLab by @git.ligo:gregory.ashton on Aug 25, 2021, 17:07
I've temporarily pinned the dynesty version in !1020 and created #601 to track updating the API.
In GitLab by @git.ligo:gregory.ashton on Aug 27, 2021, 14:16
mentioned in commit 5e32d7173a727b411b67470f3f99d9531bed9614
In GitLab by @git.ligo:yumeng.xu on Aug 24, 2021, 15:11
Hi, recently I try to use
bilby.core.likelihood.ZeroLikelihood
in a new installed environment to calculate the prior distribution. But it got stuck afterI have checked the code and it seems that it stuck in an infinite loop in
dynesty.sampler._new_point
which should break afterlogl > loglstar
, but the values of both variables are 0.The problem only exist for Dynesty >= 1.1. When changing to Dynesty = 1.0.1, it works fine. I haven't checked which changes caused this issue. But this simple test code can reproduce it
Install bilby directly
Install with old dynesty
Then run the simple test python script in two environments
The
bilby_test
environment will stuck while the old version works fine.