KEMBAR78
[ignore] Track symints on bases of NT views during guard creation by soulitzer · Pull Request #113849 · pytorch/pytorch · GitHub
Skip to content

Conversation

@soulitzer
Copy link
Contributor

@soulitzer soulitzer commented Nov 16, 2023

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 16, 2023

🔗 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 Failures

As of commit 5308564 with merge base f5ce4d8 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

soulitzer added a commit that referenced this pull request Nov 16, 2023
# 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.
Copy link
Contributor Author

@soulitzer soulitzer Nov 16, 2023

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.

@soulitzer soulitzer changed the title Track symints on bases of NT views during guard creation [ignore] Track symints on bases of NT views during guard creation Nov 16, 2023
…reation"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng

[ghstack-poisoned]
soulitzer added a commit that referenced this pull request Nov 16, 2023
@soulitzer
Copy link
Contributor Author

This doesn't seem feasible because it is difficult to map dynamic dims of inputs back to bases.

@soulitzer soulitzer closed this Nov 22, 2023
@facebook-github-bot facebook-github-bot deleted the gh/soulitzer/253/head branch December 23, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant