-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add various uninterpreted bit tensor data types #94992
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/94992
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit cd20e12: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
de86298
to
c27c21e
Compare
// are not sure about the correct value for type promotion. | ||
static constexpr ScalarType _promoteTypesLookup[static_cast<int>( | ||
ScalarType::NumOptions)][static_cast<int>(ScalarType::NumOptions)] = { | ||
// clang-format off |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: this is now needed to prevent clang from messing up the table formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Note that you'll have to make internal changes too.
yep, just waiting for green CI here before I do that, to minimize work |
@vkuzo has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). Note: this is a copy-pasta of #89990 with a bug fix for clang9, easier to just to put up another PR since I'm not sure how comandeering works with Meta-only changes. Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags:
@vkuzo has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@pytorchbot merge -f 'Landed internally' (Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally) |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This reverts commit 9dbfca7.
@pytorchmergebot revert -m "breaks libtorch windows builds see: #95406" -c wierd |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot revert -m "breaks libtorch windows nightly builds see: #95406" -c nosignal |
@pytorchbot successfully started a revert job. Check the current status here. |
@vkuzo your PR has been successfully reverted. |
This reverts commit 9dbfca7. Reverted #94992 on behalf of https://github.com/atalman due to breaks libtorch windows nightly builds see: #95406
This reverts commit 9dbfca7. Reverted pytorch/pytorch#94992 on behalf of https://github.com/atalman due to breaks libtorch windows nightly builds see: pytorch/pytorch#95406
This reverts commit 9dbfca7. Reverted pytorch/pytorch#94992 on behalf of https://github.com/atalman due to breaks libtorch windows nightly builds see: pytorch/pytorch#95406
Summary: This is a retry of #94992 which was reverted due to CI issues. This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags:
Summary: This is a retry of #94992 which was reverted due to CI issues. This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). @bypass-github-export-checks Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags: Fixes #ISSUE_NUMBER Pull Request resolved: #95860 Approved by: https://github.com/atalman
This reverts commit 9dbfca7. Reverted pytorch/pytorch#94992 on behalf of https://github.com/atalman due to breaks libtorch windows nightly builds see: pytorch/pytorch#95406
Summary: This is a retry of pytorch/pytorch#94992 which was reverted due to CI issues. This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). @bypass-github-export-checks Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags: Fixes #ISSUE_NUMBER Pull Request resolved: pytorch/pytorch#95860 Approved by: https://github.com/atalman
Summary: This is a retry of pytorch#94992 which was reverted due to CI issues. This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). @bypass-github-export-checks Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags: Fixes #ISSUE_NUMBER Pull Request resolved: pytorch#95860 Approved by: https://github.com/atalman
…rch#94992)"" This reverts commit 3bafecf.
This reverts commit 9dbfca7.
Summary: This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). Note: this is a copy-pasta of pytorch#89990 with a bug fix for clang9, easier to just to put up another PR since I'm not sure how comandeering works with Meta-only changes. @bypass-github-export-checks Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags: Fixes #ISSUE_NUMBER Pull Request resolved: pytorch#94992 Approved by: https://github.com/angelayi
This reverts commit 9dbfca7. Reverted pytorch#94992 on behalf of https://github.com/atalman due to breaks libtorch windows nightly builds see: pytorch#95406
Summary:
This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc).
Note: this is a copy-pasta of #89990 with a bug fix for clang9, easier to just to put up another PR since I'm not sure how comandeering works with Meta-only changes.
@bypass-github-export-checks
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Fixes #ISSUE_NUMBER