-
Notifications
You must be signed in to change notification settings - Fork 25.7k
fix specialization bug in unflatten + preserve_module_call_signature #137363
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/137363
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f3c4861 with merge base c0deec1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D63913750 |
|
This pull request was exported from Phabricator. Differential Revision: D63913750 |
141e21d to
14a3b52
Compare
14a3b52 to
280416d
Compare
|
This pull request was exported from Phabricator. Differential Revision: D63913750 |
…ytorch#137363) Summary: Pull Request resolved: pytorch#137363 In unflatten, when we generate module calls when their signature has been preserved, we do not pass the original constant args. This can cause strange effects, e.g., if the module is swapped out with itself, we may suddenly go down a different path than the original, or even crash. Test Plan: added a test Reviewed By: angelayi Differential Revision: D63913750
280416d to
f3c4861
Compare
|
This pull request was exported from Phabricator. Differential Revision: D63913750 |
|
@pytorchbot merge -f 'Landed internally' (Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally) |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: In unflatten, when we generate module calls when their signature has been preserved, we do not pass the original constant args. This can cause strange effects, e.g., if the module is swapped out with itself, we may suddenly go down a different path than the original, or even crash.
Test Plan: added a test
Reviewed By: angelayi
Differential Revision: D63913750