-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Fix 32-bit indexing overflows in ReducedPrecisionGemV #150949
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/150949
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b1f6dbb with merge base cc185c3 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@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 |
By chaining `lda` type from `int` to ~~`long`~~ `int64_t` Add regression test (but probably restrict it to CPUs (or may be skip float32 testing on GPUs) Fixes pytorch#150637 Pull Request resolved: pytorch#150949 Approved by: https://github.com/Skylion007
By chaining `lda` type from `int` to ~~`long`~~ `int64_t` Add regression test (but probably restrict it to CPUs (or may be skip float32 testing on GPUs) Fixes pytorch#150637 Pull Request resolved: pytorch#150949 Approved by: https://github.com/Skylion007
…lambda arguments as int64_t (#152233) This plus the previous irangeification PR seem like a better fix for #150637 than #150949 to me -- should make sure we are using 64-bit math for indexing everywhere. Pull Request resolved: #152233 Approved by: https://github.com/Skylion007, https://github.com/cyyever ghstack dependencies: #152232
…lambda arguments as int64_t (pytorch#152233) This plus the previous irangeification PR seem like a better fix for pytorch#150637 than pytorch#150949 to me -- should make sure we are using 64-bit math for indexing everywhere. Pull Request resolved: pytorch#152233 Approved by: https://github.com/Skylion007, https://github.com/cyyever ghstack dependencies: pytorch#152232
Stack from ghstack (oldest at bottom):
By chaining
lda
type fromint
tolong
int64_t
Add regression test (but probably restrict it to CPUs (or may be skip float32 testing on GPUs)
Fixes #150637
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10