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

Feature Request: implement conditional flows #269

Open
HDembinski opened this issue Feb 15, 2024 · 0 comments
Open

Feature Request: implement conditional flows #269

HDembinski opened this issue Feb 15, 2024 · 0 comments

Comments

@HDembinski
Copy link

HDembinski commented Feb 15, 2024

Distrax is a nicely designed library and I would love to use it, but it does not support conditional flows.

Generalizing the library to support conditional flows should not be difficult, this author has achieved this by subclassing the classes in Distrax and overriding a few methods: https://github.com/smsharma/jax-conditional-flows
Most of the code just deals with adding a new context argument to the existing interfaces and passing that down towards the elemental building blocks.

Maintaining such a code is difficult, however, considering how fast the JAX ecosystem evolves currently.

It would be great if conditional flows were first-class citizen in Distrax. This would enlarge the phase-space of applications considerably.

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

No branches or pull requests

1 participant