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] Batched GridInterpolationKernel #2529

Open
Ilykuleshov opened this issue Jun 5, 2024 · 0 comments
Open

[Feature Request] Batched GridInterpolationKernel #2529

Ilykuleshov opened this issue Jun 5, 2024 · 0 comments

Comments

@Ilykuleshov
Copy link

🚀 Feature Request

If I'm not missing anything, there is currently no way to use the GridInterpolationKernel with a batched input. The only alternative currently (correct me if I'm wrong) is to iterate over the batch dimension, calculating the kernel individually for each element, which is suboptimal. Would be great to see a batched GridInterpolationKernel, seems like a very useful feature.

Motivation

You have already implemented batch shape for the RBF Kernel, its only natural to extend it to the rest of the kernels.

Pitch

This would greatly increase useability. AFAIK this is the only library that implements SKI/KISS-GP, so this would greatly improve useability.

I've tried to wrap it in vmap, but it fails due to some .item call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant