Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionality to not append all samples to sampler history #531

Open
siljachr opened this issue Sep 26, 2024 · 0 comments
Open

Functionality to not append all samples to sampler history #531

siljachr opened this issue Sep 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@siljachr
Copy link
Collaborator

When sampling large scale problems, it requires a lot of memory to append and store all samples to history.
CUQIpy offers the functionality to save samples in "batches" of specified sizes. This let's the user save smaller files, but does not change to total storage requirements, as I understand it.

I am interested in functionality where I can pre-specify a thinning parameter, e.g. 10, such that the sampler updates the state 10 times before appending to the history. A variaty of this seems to be implemented for experimental.mcmc.HybridGibbs (num_sampling_steps), but for the regular experimental.mcmc.sampler, this does not seem to be an option.

@siljachr siljachr added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant