Skip to content

Conversation

@anijain2305
Copy link
Contributor

@anijain2305 anijain2305 commented Sep 9, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 9, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162509

Note: Links to docs will display an error until the docs builds have been completed.

❌ 3 New Failures, 2 Unrelated Failures

As of commit 4ba3f10 with merge base 1c16c18 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

anijain2305 added a commit that referenced this pull request Sep 9, 2025
…red LAMBDA_GUARD

ghstack-source-id: e3782e8
Pull Request resolved: #162509
@anijain2305 anijain2305 added ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category labels Sep 9, 2025
…r not required LAMBDA_GUARD"


This is a smaller PR to reduce framelocals to dict conversion.

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

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Sep 9, 2025
…red LAMBDA_GUARD

ghstack-source-id: b6c8bc8
Pull Request resolved: #162509
…r not required LAMBDA_GUARD"


This is a smaller PR to reduce framelocals to dict conversion.

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

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Sep 9, 2025
…red LAMBDA_GUARD

ghstack-source-id: 10025a6
Pull Request resolved: #162509
…r not required LAMBDA_GUARD"


This is a smaller PR to reduce framelocals to dict conversion.

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

[ghstack-poisoned]
py::object verbose_code_parts)
: LAMBDA_GUARD(root_guard_manager, guard_check_fn, verbose_code_parts) {}

bool check_nopybind(PyObject* value) override { // borrowed ref
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are we reaching here if the guard check always goes through

return ((RootGuardManager*)root)->check_nopybind(f_locals);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can happen in debug verbose mode, where we run guards during compilation for validation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh this guard is for a leaf guard. Like from_numpy, for which the the value is already accessed through a series of guard accessors.

…r not required LAMBDA_GUARD"


This is a smaller PR to reduce framelocals to dict conversion.

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

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #162525

@anijain2305
Copy link
Contributor Author

@pytorchbot revert -m "Reverting because fburl.com/workplace/qiitdlp6 is prompting us to think about an alternate implementation" -c nosignal

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot
Copy link
Collaborator

Reverting PR 162509 failed

Reason: Command git -C /home/runner/work/pytorch/pytorch revert --no-edit a67e798cb79a9633d89234f3316e4f165b9c8d5a returned non-zero exit code 1

Auto-merging torch/_C/_dynamo/guards.pyi
Auto-merging torch/_dynamo/guards.py
CONFLICT (content): Merge conflict in torch/_dynamo/guards.py
Auto-merging torch/csrc/dynamo/guards.cpp
error: could not revert a67e798cb79... [dynamo][guards] Prevent framelocals to dict conversion for not required LAMBDA_GUARD (#162509)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git revert --continue".
hint: You can instead skip this commit with "git revert --skip".
hint: To abort and get back to the state before "git revert",
hint: run "git revert --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Details for Dev Infra team Raised by workflow job

mansiag05 pushed a commit to mansiag05/pytorch that referenced this pull request Sep 22, 2025
cleonard530 pushed a commit to cleonard530/pytorch that referenced this pull request Sep 22, 2025
dsashidh pushed a commit to dsashidh/pytorch that referenced this pull request Sep 26, 2025
@github-actions github-actions bot deleted the gh/anijain2305/867/head branch October 20, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants