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
Introduce torch.utils._sympy.symbol #125395
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/125395
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 1d88af2 with merge base 79af814 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This provides utilities for creating and querying properties on sympy.Symbol. I want to use this refactor to get a better handle on how the 's' prefix is being used in Inductor. To start, I only do symbolic_shapes code because that's what I'm familiar with. Signed-off-by: Edward Z. Yang <[email protected]> ghstack-source-id: ea837fb9b1be9a09a317d7eb27bfc7bf276e81e8 Pull Request resolved: #125395
This provides utilities for creating and querying properties on sympy.Symbol. I want to use this refactor to get a better handle on how the 's' prefix is being used in Inductor. To start, I only do symbolic_shapes code because that's what I'm familiar with. Signed-off-by: Edward Z. Yang <[email protected]> ghstack-source-id: ea837fb9b1be9a09a317d7eb27bfc7bf276e81e8 Pull Request resolved: pytorch#125395
This provides utilities for creating and querying properties on sympy.Symbol. I want to use this refactor to get a better handle on how the 's' prefix is being used in Inductor. To start, I only do symbolic_shapes code because that's what I'm familiar with. Signed-off-by: Edward Z. Yang <[email protected]> ghstack-source-id: fdc5bf1c8ecb70d88c913f169af8d0c90faebddc Pull Request resolved: #125395
This provides utilities for creating and querying properties on sympy.Symbol. I want to use this refactor to get a better handle on how the 's' prefix is being used in Inductor. To start, I only do symbolic_shapes code because that's what I'm familiar with. Signed-off-by: Edward Z. Yang <[email protected]> ghstack-source-id: c17b7f4e4dd29167acd6645d2490168dc6ebcf16 Pull Request resolved: #125395
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
I'm still missing a few, cdzq at least Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: #125419 Approved by: https://github.com/lezcano ghstack dependencies: #125395
This provides utilities for creating and querying properties on sympy.Symbol. I want to use this refactor to get a better handle on how the 's' prefix is being used in Inductor. To start, I only do symbolic_shapes code because that's what I'm familiar with. Signed-off-by: Edward Z. Yang <[email protected]> ghstack-source-id: 84d52f217a07e983db1adcf4acba4dd0c28d7c9d Pull Request resolved: pytorch#125395
While there are some similarities, they are also quite different (one handles Numpy numbers while the other handles ints. I am also going to add a wrap_symfloat soon which will do even more different behavior. So split these out for clarity. Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: #125483 Approved by: https://github.com/lezcano ghstack dependencies: #125395, #125419
We use very little of the code in wrap_fx_proxy_cls, so dupe it out. Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: #125494 Approved by: https://github.com/lezcano ghstack dependencies: #125395, #125419, #125483
Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: #125496 Approved by: https://github.com/lezcano ghstack dependencies: #125395, #125419, #125483, #125494
Stack from ghstack (oldest at bottom):
This provides utilities for creating and querying properties on
sympy.Symbol. I want to use this refactor to get a better handle on how
the 's' prefix is being used in Inductor. To start, I only do
symbolic_shapes code because that's what I'm familiar with.
Signed-off-by: Edward Z. Yang [email protected]
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang