Skip to content

Commit 720dc1f

Browse files
committed
update doc
1 parent 38a01a0 commit 720dc1f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/source/quickstart.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ If you used the pool in the sampler and you want to use the pool after restoring
654654
# resume
655655
sampler.run_nested(resume=True)
656656

657+
You should be careful when restoring the sampler on machine with different number of CPUs when using a pool. The queue_size parameter will be restored as it was saved rather than based on how many CPUs your Pool has.
658+
657659
The checkpointing may be helpful if you are running dynesty on HPC with a queue system that has a limit on a wall-time that your jobs can run.
658660
There is a however an important reminder that should *NOT* use checkpointing for persistence. I.e. if you want to save the results of the sampling, you should save samples, weights or the results object, rather than the whole nested sampling object (as checkpointing does). The reason for this is that the checkpoint files are not guaranteed to be compatible between dynesty versions (even minor ones).
659661

0 commit comments

Comments
 (0)