-
Notifications
You must be signed in to change notification settings - Fork 25.1k
[Dynamo] Replace unimplemented
with unimplemented_v2
in torch/_dynamo/variables/misc.py
[2/2]
#153039
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/153039
Note: Links to docs will display an error until the docs builds have been completed. ❌ 6 New FailuresAs of commit 99e70ae with merge base a636a92 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "topic: not user facing" |
@williamwen42 This is a follow-up to #152274, could you please review this? Thanks! |
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
9e6f676
to
9573cd2
Compare
torch/_dynamo/variables/misc.py
Outdated
explanation="Dynamo encountered bytecode (`PUSH_NULL`) specific " | ||
"to Python 3.11+ but is running in an older Python version.", | ||
hints=[ | ||
"Run your code with Python 3.11 or newer if you need to " |
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.
This is a DYNAMO_BUG - user should not encounter this graph break.
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.
Thanks for your review. Have updated in this commit: 041b6d3
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
@williamwen42 Thanks for your approval. The reason for the CI failure is that the exception information (self.msg) thrown by Lines 169 to 171 in 10234cc
|
Made a fix in this commit, please have another look again. Thanks! |
We should be using the gb_type field of unimplemented_v2 in add_to_stats instead of the full graph break message if we want to keep similar behavior as before. |
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
0c6379a
to
76434aa
Compare
@williamwen42 Could you please take another look? I added a arg |
e300fc4
to
11dc7d1
Compare
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
11dc7d1
to
9c0e33c
Compare
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: Apply lint suggestions Details for Dev Infra teamRaised by workflow job |
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Co-authored-by: William Wen <william.wen42@gmail.com>
Co-authored-by: William Wen <william.wen42@gmail.com>
This reverts commit 98e3db5141fa6270dd1afe97761b2c25526afe49.
Successfully rebased |
9c0e33c
to
c15cf04
Compare
Will you merge this in? |
Part of #147913
Follow up: #152274
Replace
unimplemented
withunimplemented_v2
intorch/_dynamo/variables/misc.py
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames