Repository navigation
Expose transition data and state synchronization for sampler adapters - #2
Merged
Merged
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
Expose transition details, addressed RNG sweeps, synchronization, and shared position validation for external samplers. Accept cached initial densities while preserving standalone replay and existing execution backends.
BJMCox
force-pushed
the
integration-api
branch
from
September 14, 2026 08:53
a7a359e to
a2df294
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
External samplers need rejected candidates and acceptance probabilities, plus a way to synchronize positions after another move or retry. Add cached initial densities, borrowed transition fields,
synchronize!,validate_positions, andstep!(state, rng; proposal_index).Preserve cumulative counts, cyclic mixture phase, owned snapshots, and the standalone RNG law. Allow
-Infstarts so callers can recover through their initialization policy. Prepare version 0.0.2 without tagging or registration.Updated against main, including Gaussian replacement moves, workload-aware threading, and precompilation. Fix transition metadata for optimized snapshots and invalid Gaussian proposals. Keep external RNG addresses separate from thread schedules. Run synchronization validation on the state's owning CUDA device.
Validation:
Supports the BAT adapter in bat/BAT.jl#573.