-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbolic shapes unable to reason: Ne(Mod(u0*u2 + u1*u2, u0 + u1), 0) #125307
Labels
module: dynamic shapes
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Comments
For this one, we need to implement a reduction rule similar to the one we have with |
Actually, there's something funny going on here. Is that >>> x = sympy.Symbol("x", integer=True, nonnegative=True)
>>> y= sympy.Symbol("y", integer=True, nonnegative=True)
>>> z = sympy.Symbol("z", integer=True, nonnegative=True)
>>> sympy.Mod(x*z + y*z, x + y)
0 |
yup, we have our own
|
@lezcano don't do this one, I'm going to give this as a bootcamp task |
yanboliang
added
good first issue
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
and removed
good first issue
labels
May 6, 2024
titaiwangms
pushed a commit
to titaiwangms/pytorch
that referenced
this issue
May 28, 2024
PyTorch overrides SymPy's Mod and does its own symbolic simplification. Inspired by issue pytorch#125307, this PR adds one more simplification tactic. Fixes pytorch#125307 Pull Request resolved: pytorch#126351 Approved by: https://github.com/ezyang
Aidyn-A
pushed a commit
to tinglvv/pytorch
that referenced
this issue
May 30, 2024
PyTorch overrides SymPy's Mod and does its own symbolic simplification. Inspired by issue pytorch#125307, this PR adds one more simplification tactic. Fixes pytorch#125307 Pull Request resolved: pytorch#126351 Approved by: https://github.com/ezyang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
module: dynamic shapes
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
Repro:
Fails with
This is obviously false though, just need to be a bit smarter in reasoning.
cc @msaroufim @bdhirsh @anijain2305 @chauhang @lezcano
Versions
main
The text was updated successfully, but these errors were encountered: