ciemss / pyciemss

Causal and probabilistic reasoning with continuous time dynamical systems
Other
12 stars 4 forks source link

Add parallel sampling back to PyCIEMSS #509

Closed SamWitty closed 4 months ago

SamWitty commented 4 months ago

This PR reintroduces parallel sampling from #446 , with upstream changes to tensor shape issues from https://github.com/BasisResearch/chirho/commit/49d1bf1e2d49a4de95acfdfc36b5a26482d587c6. This includes a minor change to the result processing, as the upstream tensor broadcasting adds a middle dimension to the tensor if the intervention has shape 1.