Closed alicjapolanska closed 9 months ago
Don't we have that already @alicjapolanska with the add_chains
method (here)?
@jasonmcewen You're right, we can add more samples per chain in add_chains. I got confused as I was expecting it to allow to add individual chains sequentially as I had in mind, which it doesn't. But it still allows to reduce the memory usage as you pointed out by adding more samples to added chains sequentially.
Large Chain objects may cause memory issues when computing evidence. Would be nice to have a functionality within the Evidence class to add chains sequentially or in batches to avoid this without needing to create a new Chains instance.