Clarity of error message in einsum regressed in performance improvements #58380
Labels
module: error checking
Bugs related to incorrect/lacking error checking
module: linear algebra
Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Bug
From Sohrab Samimi on the forums:
gives
To which they say:
Clearly, the
i
-dimensions don't match, but the error message sounds relatively opaque to me.Expected behavior
In my opinion, it would be better to print the letter/dimension and term number where the size mismatch happens. I think the old version did this, at least sometimes...
@heitorschueroff
cc @jianyuh @nikitaved @pearu @mruberry @heitorschueroff @walterddr @IvanYashchuk @xwang233 @lezcano
The text was updated successfully, but these errors were encountered: