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

Batched support for NormalizingFlows.jl and Bijectors.jl #370

Open
yebai opened this issue Mar 11, 2025 · 1 comment
Open

Batched support for NormalizingFlows.jl and Bijectors.jl #370

yebai opened this issue Mar 11, 2025 · 1 comment
Labels
good first issue Good for newcomers

Comments

@yebai
Copy link
Member

yebai commented Mar 11, 2025

Introduce a batched mode to Bijectors.jl and NormalizingFlows.jl, which are built on top of Bijectors.jl.

Put simply, we want to enable users to provide multiple inputs to the model simultaneously by “stacking” the parameters into a higher-dimensional array.

The implementation can take various forms, as a team of developers who care about both performance and user experience, we are open to different approaches and discussions. One possible approach is to develop a mechanism that signals the code to process the given input as a batch rather than as individual entries.

A preliminary implementation can be found here.

(copy and pasted from here)

@yebai yebai added the good first issue Good for newcomers label Mar 11, 2025
@yebai
Copy link
Member Author

yebai commented Mar 26, 2025

AcceleratedKernels.map! could be an interesting alternative to batching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant