Skip to content

Conversation

@mj-will
Copy link
Owner

@mj-will mj-will commented Dec 15, 2025

Added

  • Checkpointing for the SMC samplers
  • New arguments in Sampler.sample to handle checkpointing
  • Aspire.auto_checkpoint method for automatic checkpointing

Changes

  • Add infer_device and safe_to_device to avoid issues with ill-defined devices when using e.g. jax
  • MiniPCNSMC no longer inherits from NumpySMC
  • No longer save calls to sample_posterior by default when calling save_config

@mj-will mj-will added the enhancement New feature or request label Dec 15, 2025
@mj-will mj-will changed the title ENH: add support for checkpoint when using the SMC sampler. ENH: add support for checkpoint when using the SMC sampler Dec 16, 2025
@mj-will mj-will merged commit 55eac2b into main Dec 16, 2025
6 checks passed
@mj-will mj-will deleted the add-checkpointing branch December 16, 2025 08:51
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

Successfully merging this pull request may close these issues.

2 participants