-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
don't check memory format for empty tensors #126593
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/126593
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ddf47c9 with merge base aa6de76 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format. I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?) I just skip the check for empty tensor. [ghstack-poisoned]
Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format. I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?) I just skip the check for empty tensor. [ghstack-poisoned]
This reverts commit 12dee4f. Reverted #126593 on behalf of https://github.com/clee2000 due to broke tests on inductor? test_modules.py::TestModuleCUDA::test_cpu_gpu_parity_nn_CTCLoss_cuda_float64 https://hud.pytorch.org/pytorch/pytorch/commit/43f2f43eb3b6d8cbe8eb7f45acb50376092f1a16 https://github.com/pytorch/pytorch/actions/runs/9200644034/job/25308511495 ([comment](#126586 (comment)))
@shunting314 your PR has been successfully reverted. |
Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format. I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?) I just skip the check for empty tensor. [ghstack-poisoned]
ghstack-source-id: 4ad57b6e41ae49cfe2fb0649c9145c1b92e361a0 Pull Request resolved: #126593
@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 |
…#126594) This reverts commit 0a9c6e9. enable the test since it's fixed. Pull Request resolved: #126594 Approved by: https://github.com/huydhn ghstack dependencies: #126593
Fix pytorch#125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format. I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?) I just skip the check for empty tensor. Pull Request resolved: pytorch#126593 Approved by: https://github.com/ezyang
Fix pytorch#125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format. I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?) I just skip the check for empty tensor. Pull Request resolved: pytorch#126593 Approved by: https://github.com/ezyang
…25970)" (pytorch#126594) This reverts commit 0a9c6e9. enable the test since it's fixed. Pull Request resolved: pytorch#126594 Approved by: https://github.com/huydhn ghstack dependencies: pytorch#126593
Fix pytorch#125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format. I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?) I just skip the check for empty tensor. Pull Request resolved: pytorch#126593 Approved by: https://github.com/ezyang Co-authored-by: Shunting Zhang <shunting@fb.com>
Stack from ghstack (oldest at bottom):
Fix #125967 . The test actually fail for empty 4D or 5D tensors when checking for memory format.
I'm not exactly sure what recent inductor change cause the failure, but it may be not that important to maintain strides for an empty tensor. (?)
I just skip the check for empty tensor.