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

Include output shape in shape mismatch error message #2264

Merged

Conversation

mlevesquedion
Copy link
Contributor

As discussed in
#2231 (comment), this will likely help with debugging shape mismatches.

As discussed in
openxla#2231 (comment),
this will likely help with debugging shape mismatches.
@ghpvnist ghpvnist assigned mlevesquedion and unassigned ghpvnist Apr 29, 2024
@mlevesquedion mlevesquedion merged commit 90d1c3a into openxla:main Apr 29, 2024
10 checks passed
@mlevesquedion mlevesquedion deleted the dyn-reshape-output-shape-error branch April 29, 2024 20:52
mlevesquedion pushed a commit that referenced this pull request May 3, 2024
And use the helper to verify shape operands in DynamicBroadcastInDim,
DynamicIota and DynamicReshape.

Also, reorganize the isCompatibleForHloTypeInference logic a little bit
to avoid duplication.

This is a follow-up/generalization of
#2264.
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.

3 participants