-
Notifications
You must be signed in to change notification settings - Fork 23.5k
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
torch._dynamo.assume_constant_result does not work outside nn.Module #124858
Labels
high priority
module: dynamo
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Comments
cc @anijain2305 , this is blocking for an internal model. @IvanKobzarev is looking for pointers |
also cc @angelayi export |
Added high-pri due to internal model blockage. |
pytorchmergebot
pushed a commit
that referenced
this issue
Jun 11, 2024
Fixes #124858 Pull Request resolved: #127696 Approved by: https://github.com/jansel ghstack dependencies: #127695
TharinduRusira
pushed a commit
to TharinduRusira/pytorch
that referenced
this issue
Jun 14, 2024
Fixes pytorch#124858 Pull Request resolved: pytorch#127696 Approved by: https://github.com/jansel ghstack dependencies: pytorch#127695
TharinduRusira
pushed a commit
to TharinduRusira/pytorch
that referenced
this issue
Jun 14, 2024
Fixes pytorch#124858 Pull Request resolved: pytorch#127696 Approved by: https://github.com/jansel ghstack dependencies: pytorch#127695
ignaciobartol
pushed a commit
to ignaciobartol/pytorch
that referenced
this issue
Jun 14, 2024
Fixes pytorch#124858 Pull Request resolved: pytorch#127696 Approved by: https://github.com/jansel ghstack dependencies: pytorch#127695
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
high priority
module: dynamo
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
Using assert_constant_result outside of nn.Module fails on getting Submodule (to look for real value)
Full error:
While inside Module it works as expected:
Versions
fbcode/warm
cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78
The text was updated successfully, but these errors were encountered: