Skip to content
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 shape tests don't actually test that arguments aren't specialized #120911

Open
ezyang opened this issue Feb 29, 2024 · 0 comments
Open
Labels
module: dynamic shapes module: tests Issues related to tests (not the torch.testing module) oncall: pt2 triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@ezyang
Copy link
Contributor

ezyang commented Feb 29, 2024

馃悰 Describe the bug

For example, this means that #120776 didn't cause an xfail to be removed. This is suboptimal.

The difficulty here is that we need to actually annotate which inputs are expected to be specialized and which are not.

Prior to us switching to automatically specializing, we could sort of get some coverage info because if someone called .size() this would hard error, but now it doesn't anymore.

Versions

main

cc @mruberry @ZainRizvi @msaroufim @bdhirsh @anijain2305 @zou3519 @chauhang

@ezyang ezyang added module: tests Issues related to tests (not the torch.testing module) oncall: pt2 module: dynamic shapes labels Feb 29, 2024
@williamwen42 williamwen42 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: dynamic shapes module: tests Issues related to tests (not the torch.testing module) oncall: pt2 triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants