[dynamo][guards] Do not construct entire framelocals dict for LAMBDA_GUARD#162525
[dynamo][guards] Do not construct entire framelocals dict for LAMBDA_GUARD#162525anijain2305 wants to merge 8 commits intogh/anijain2305/869/basefrom
Conversation
…GUARD [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162525
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 2 Unrelated FailuresAs of commit a3c4867 with merge base 1c16c18 ( 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. |
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
| guard_fn = out["___make_guard_fn"](*closure_vars.values()) | ||
|
|
||
| required_locals = {} | ||
| for var_name in guard_fn.__code__.co_consts: |
There was a problem hiding this comment.
Why co_consts? I'd imagine we should be looking into co_names?
There was a problem hiding this comment.
The guard takes L as the input dict, and the not the variable names directly.
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
…for LAMBDA_GUARD" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela [ghstack-poisoned]
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 5 checks: inductor / inductor-cpu-test / test (inductor_torchbench_cpu_smoketest_perf, 1, 1, linux.24xl.spr-metal), inductor / unit-test / inductor-test / test (inductor, 1, 2, linux.g5.4xlarge.nvidia.gpu), inductor / unit-test / inductor-test / test (inductor_distributed, 1, 1, linux.g5.12xlarge.nvidia.gpu), inductor / inductor-test / test (inductor_torchbench, 1, 2, linux.g5.4xlarge.nvidia.gpu), inductor / inductor-test / test (inductor_huggingface, 1, 1, linux.g5.4xlarge.nvidia.gpu) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…GUARD (pytorch#162525) Pull Request resolved: pytorch#162525 Approved by: https://github.com/williamwen42 ghstack dependencies: pytorch#162509
|
@pytorchbot revert -m "internal tests fail" -c nosignal |
|
https://fburl.com/workplace/qiitdlp6 is the failure |
|
@pytorchbot successfully started a revert job. Check the current status here. |
… LAMBDA_GUARD (#162525)" This reverts commit 5f630d2. Reverted #162525 on behalf of https://github.com/anijain2305 due to internal tests fail ([comment](#162525 (comment)))
|
@anijain2305 your PR has been successfully reverted. |
…GUARD (pytorch#162525) Pull Request resolved: pytorch#162525 Approved by: https://github.com/williamwen42 ghstack dependencies: pytorch#162509
… LAMBDA_GUARD (pytorch#162525)" This reverts commit 5f630d2. Reverted pytorch#162525 on behalf of https://github.com/anijain2305 due to internal tests fail ([comment](pytorch#162525 (comment)))
…GUARD (pytorch#162525) Pull Request resolved: pytorch#162525 Approved by: https://github.com/williamwen42 ghstack dependencies: pytorch#162509
… LAMBDA_GUARD (pytorch#162525)" This reverts commit 5f630d2. Reverted pytorch#162525 on behalf of https://github.com/anijain2305 due to internal tests fail ([comment](pytorch#162525 (comment)))
…GUARD (pytorch#162525) Pull Request resolved: pytorch#162525 Approved by: https://github.com/williamwen42 ghstack dependencies: pytorch#162509
… LAMBDA_GUARD (pytorch#162525)" This reverts commit 5f630d2. Reverted pytorch#162525 on behalf of https://github.com/anijain2305 due to internal tests fail ([comment](pytorch#162525 (comment)))
Stack from ghstack (oldest at bottom):
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @Lucaskabela