Skip to content

Sampler stalls during run #504

@dadams42

Description

@dadams42

** Dynesty version **
2.1.5

Describe the bug
The sampler gets stalled, the run proceeds without giving errors but progress is very slow. This did not happen at earlier stages of the run or with other comparable runs before.

Setup
I attach (in this order) a screenshot of the run for initialising the sampler and running it (done in a computing cluster) and also a version I ran in my laptop which yields similar results. The sampler has 34 dimensions and 12,000 live points. While this number is high, I found shorter runs of ~8,000 live points or less, despite converging well without the issue I'm reporting, did not fully sample the posterior and got stuck in certain 'modes', justifying a higher nlive parameter.

intialising:
Image

running:
Image

running on laptop:
Image

** Dynesty output **
I attach the progress bar when running in my laptop, and the 'standard diagnostic test' featuring the likelihood, importance weight, and evidence:

Image Image

Bug
The sampler makes very little progress at the current stage. Intially it reached a size of 1.2 GB over ~ 2 weeks when run in the cluster, now it does ~ 1 MB / day. Note that the 8,000 live point runs did not have this issue, so this is unlikely to be a simple case of more live points -> longer running time. I have run many similar runs before, the only difference here is the high (12,000) number of live points, so I suspect the issue is somehow connected to this.

Additional context
Would like to know if this is a known bug that was fixed in the 3.0.0 version and if not what temporary solution is recommended (e.g. running smaller nlive runs and merging together etc.). I'm also using the Dynamic Nested sampler (I'm interested in the posterior), but if by any chance the Nested sampler is better tested for this high-dimensional, nlive cases that would be good to know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    not a bugnot really an issuequestionquestions about stuff

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions