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][fix] Add bias once in conv_fused #48593
Conversation
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 17e2dbb (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages: pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test2 (1/1)Step: "Run tests" (full log | diagnosis details | 🔁 rerun)
|
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25222215](https://our.internmc.facebook.com/intern/diff/D25222215) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25222215](https://our.internmc.facebook.com/intern/diff/D25222215) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25222215](https://our.internmc.facebook.com/intern/diff/D25222215) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module Test Plan: Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 5fe05c6ca7c7235e9ae3610fc53b79d1ffd614ec Pull Request resolved: #48593
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25222215](https://our.internmc.facebook.com/intern/diff/D25222215) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module Test Plan: Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: fe3a88745fac53665f2c3c45be78052399106644 Pull Request resolved: #48593
This pull request has been merged in d2e4298. |
This pull request has been reverted by c81f2d9. |
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 ghstack-source-id: 9650155f9df06d0bbf44888ebc637eb998af4e8a Pull Request resolved: #48661
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 Differential Revision: [D25249175](https://our.internmc.facebook.com/intern/diff/D25249175) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 Differential Revision: [D25249175](https://our.internmc.facebook.com/intern/diff/D25249175) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 Differential Revision: [D25249175](https://our.internmc.facebook.com/intern/diff/D25249175) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 Differential Revision: [D25249175](https://our.internmc.facebook.com/intern/diff/D25249175) [ghstack-poisoned]
Summary: Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 ghstack-source-id: bd0dce0962b57e78a4cac405658f644da384a25f Pull Request resolved: #48661
Summary: Pull Request resolved: #48661 Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Imported from OSS Reviewed By: vkuzo Differential Revision: D25249175 fbshipit-source-id: 4536c7545d3dcd7e8ea254368ffb7cf15118d78c
…orch#48661) Summary: Pull Request resolved: pytorch#48661 Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: pytorch#48514 Test Plan: Imported from OSS Imported from OSS Reviewed By: vkuzo Differential Revision: D25249175 fbshipit-source-id: 4536c7545d3dcd7e8ea254368ffb7cf15118d78c
Stack from ghstack:
Summary:
Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module
this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias
in ConvBn module
fixes: #48514
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D25222215