-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[ignore] Track symints on bases of NT views during guard creation #113849
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
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113849
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 5308564 with merge base f5ce4d8 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| # However, NT and any other subclass that does not support as_strided | ||
| # must rely instead on view_func to do this replaying. In this case, | ||
| # the base must be metafied with dynamic DimDynamic and thus have | ||
| # symints allocated, which then need to be tracked. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, it might be better to just symintify AFTER replaying the view_func. That would avoid having to track the symints on the base here.
…reation" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
|
This doesn't seem feasible because it is difficult to map dynamic dims of inputs back to bases. |
Stack from ghstack (oldest at bottom):
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng