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

WIP: no special treatment for ShapeDtypeStruct #25583

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Dec 18, 2024

I'm confused as to why we need to register this, because ShapeDtypeStruct should behave exactly the same as any duck-typed value with a shape and dtype.

This registration recently led to the rollback of #25555 because a downstream library was relying on this behavior in a dubious way.

@jakevdp jakevdp self-assigned this Dec 18, 2024
@jakevdp jakevdp marked this pull request as draft December 18, 2024 17:44
@yashk2810
Copy link
Collaborator

You will need to run TGP to find the real failures. But users pass SDS in as an input to normal jit and expect it to work. And it does work because those inputs are unused and we DCE them.

Last time I looked, the failures were a lot so I didn't really take any action but maybe you can!

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.

2 participants