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

Fixes #400 #401

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Conversation

hylkedonker
Copy link

The current implementation of LinearGaussianConjugateSSM.fit_blocked_gibbs misses the part that takes care of the batching of emissions and inputs over the leading axis (issue #400 ). This pull request corrects fit_blocked_gibbs to support the "nbatch" dimension by:

  • vmaping over the forward filtering backwards sampling
  • map-reducing the sufficient statistics

This pull request is accompanied by a minimal unit test that tests batching.

@hylkedonker hylkedonker force-pushed the feature/lgcssm-batched-gibbs branch from 0a6c0fc to afbac6b Compare March 24, 2025 14:18
@slinderman slinderman merged commit 3b938c1 into probml:main Mar 25, 2025
8 checks passed
@hylkedonker hylkedonker deleted the feature/lgcssm-batched-gibbs branch March 26, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants