-
Notifications
You must be signed in to change notification settings - Fork 521
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
Add check to ensure that there is enough room in permuted_indices #3403
base: main
Are you sure you want to change the base?
Conversation
This pull request was exported from Phabricator. Differential Revision: D66274522 |
✅ Deploy Preview for pytorch-fbgemm-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…torch#3403) Summary: In scope of the MTIA IG Sprint we encountered a crash (T208229934) that turned out to be an incorrectly provided argument for `permuted_lengths_sum` argument. This argument suppose to speed the operation, but actually, the true value it suppose to substitute is computed every time anyway. One radical solution would be to drop the argument entirely, but it requires more thoughtful analysis. This diff just prevent clearly faulty case of allocated `permuted_indices` being less than required by the function logic. Exactly this case was spotted in case of T208229934. Differential Revision: D66274522
feebfd0
to
27fea8d
Compare
This pull request was exported from Phabricator. Differential Revision: D66274522 |
…torch#3403) Summary: In scope of the MTIA IG Sprint we encountered a crash (T208229934) that turned out to be an incorrectly provided argument for `permuted_lengths_sum` argument. This argument suppose to speed the operation, but actually, the true value it suppose to substitute is computed every time anyway. One radical solution would be to drop the argument entirely, but it requires more thoughtful analysis. This diff just prevent clearly faulty case of allocated `permuted_indices` being less than required by the function logic. Exactly this case was spotted in case of T208229934. Differential Revision: D66274522
27fea8d
to
4b276d5
Compare
This pull request was exported from Phabricator. Differential Revision: D66274522 |
Differential Revision: D66012567
…torch#3403) Summary: X-link: facebookresearch/FBGEMM#493 In scope of the MTIA IG Sprint we encountered a crash (T208229934) that turned out to be an incorrectly provided argument for `permuted_lengths_sum` argument. This argument suppose to speed the operation, but actually, the true value it suppose to substitute is computed every time anyway. One radical solution would be to drop the argument entirely, but it requires more thoughtful analysis. This diff just prevent clearly faulty case of allocated `permuted_indices` being less than required by the function logic. Exactly this case was spotted in case of T208229934. Differential Revision: D66274522
4b276d5
to
bbe82f8
Compare
This pull request was exported from Phabricator. Differential Revision: D66274522 |
Summary:
In scope of the MTIA IG Sprint we encountered a crash (T208229934) that turned out to be an incorrectly provided argument for
permuted_lengths_sum
argument.This argument suppose to speed the operation, but actually, the true value it suppose to substitute is computed every time anyway.
One radical solution would be to drop the argument entirely, but it requires more thoughtful analysis. This diff just prevent clearly faulty case of allocated
permuted_indices
being less than required by the function logic.Exactly this case was spotted in case of T208229934.
Differential Revision: D66274522