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
[quant] Move the order of x86 engine to avoid changing the default qengine #86631
Conversation
…ngine since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: #86404 [ghstack-poisoned]
…ngine since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: #86404 ghstack-source-id: 503c36271d0e70c7786160102c3f6d8f731f709e Pull Request resolved: #86631
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/86631
Note: Links to docs will display an error until the docs builds have been completed. ✅ No Failures, 1 PendingAs of commit b49927d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
… default qengine" since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: #86404 [ghstack-poisoned]
…ngine since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: #86404 ghstack-source-id: 2a34e3a9ccf729e7fd2522ea872f4d1e6fbd12e4 Pull Request resolved: #86631
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Hey @jerryzh168. |
…ngine (pytorch#86631) since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: pytorch#86404 Motivation: a meta internal team found that the inference failed in onednn prepacking with error: "could not create a primitive descriptor for a reorder primitive." in a COPPER_LAKE machine, we are working with intel to repro and fix the problem. in the mean time, we'll revert the changes of default option back to fbgemm Pull Request resolved: pytorch#86631 Approved by: https://github.com/vkuzo
engines.push_back(at::kFBGEMM); | ||
// The X86 qengine is available if and only if FBGEMM is available | ||
engines.push_back(at::kX86); | ||
engines.push_back(at::kFBGEMM); |
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.
Just curious, order of supported engines is completely irrelevant here, isn't it?
…ngine (#86631) (#86726) since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: #86404 Motivation: a meta internal team found that the inference failed in onednn prepacking with error: "could not create a primitive descriptor for a reorder primitive." in a COPPER_LAKE machine, we are working with intel to repro and fix the problem. in the mean time, we'll revert the changes of default option back to fbgemm Pull Request resolved: #86631 Approved by: https://github.com/vkuzo
Stack from ghstack (oldest at bottom):
since the default qengine is the last element of the engine in supported_engines list, adding x86 qengine in the end of the list changes the default quantized engine as well. this PR will be a short term fix to revert the changes. We have an issue here to track the proper fix: #86404
Motivation:
a meta internal team found that the inference failed in onednn prepacking with error: "could not create a primitive descriptor for a reorder primitive." in a COPPER_LAKE machine, we are working with intel to repro and fix the problem. in the mean time, we'll revert the changes of default option back to fbgemm