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

jax.scipy.linalg.toeplitz: support implicit batching #24842

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Nov 11, 2024

Fixes #24824.

This implements the batching behavior of scipy.linalg.toeplitz starting in scipy v1.17. This is a breaking change, but I opted to avoid the deprecation cycle because I think this behavior is more sensible than the original and I anticipate few users depend on the old behavior.

@jakevdp jakevdp self-assigned this Nov 11, 2024
@jakevdp jakevdp force-pushed the batched-toeplitz branch 2 times, most recently from 315b549 to 5c0a7ff Compare November 11, 2024 19:40
@jakevdp jakevdp requested a review from dfm November 11, 2024 19:41
Copy link
Collaborator

@dfm dfm left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me! I agree with your judgement that this is probably safe to change without deprecation, especially since the user change is easy.

@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Nov 11, 2024
@copybara-service copybara-service bot merged commit ed9fdbb into jax-ml:main Nov 13, 2024
16 checks passed
@jakevdp jakevdp deleted the batched-toeplitz branch November 13, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

⚠️ Nightly upstream-dev CI failed ⚠️
3 participants