Skip to content

Make PiecewisePolynomialKernel GPU compatible #2217

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

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

gpleiss
Copy link
Member

@gpleiss gpleiss commented Dec 6, 2022

[Fixes #2199]

@@ -80,7 +80,8 @@ def __init__(self, q: Optional[int] = 2, **kwargs):
self.q = q

def fmax(self, r, j, q):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this an instance method?

@gpleiss gpleiss force-pushed the piecewise_polynomial_fix branch from 2643b3d to 48da011 Compare December 9, 2022 22:44
@gpleiss gpleiss enabled auto-merge (squash) December 9, 2022 22:44
@gpleiss gpleiss force-pushed the piecewise_polynomial_fix branch from 48da011 to 4a5a2fe Compare December 9, 2022 23:01
@gpleiss gpleiss disabled auto-merge December 9, 2022 23:15
@gpleiss gpleiss merged commit cda4bc5 into master Dec 9, 2022
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.

[Bug] PiecewisePolynomialKernel fails to put all tensors on the same GPU device
2 participants