[quant][pt1] Uninitialize the accumulation buffer to save some overhead#27005
[quant][pt1] Uninitialize the accumulation buffer to save some overhead#27005jianyuh wants to merge 2 commits intogh/jianyuh/32/basefrom
Conversation
Similar to #27002, we want to save some overhead. Differential Revision: [D17641819](https://our.internmc.facebook.com/intern/diff/D17641819/) [ghstack-poisoned]
Similar to #27002, we want to save some overhead. Differential Revision: [D17641819](https://our.internmc.facebook.com/intern/diff/D17641819/) ghstack-source-id: 90963482 Pull Request resolved: #27005
jamesr66a
left a comment
There was a problem hiding this comment.
There's an error, please see CI
|
Right: It shows an error as the follows: I think |
|
Does empty_zeros call something like memset? |
|
the error is raised from: https://bddppq.github.io/codebrowser/pytorch/pytorch/aten/src/ATen/native/TensorFactories.cpp.html#217 |
…some overhead" Similar to #27002, we want to save some overhead. Differential Revision: [D17641819](https://our.internmc.facebook.com/intern/diff/D17641819/) [ghstack-poisoned]
Pull Request resolved: #27005 Similar to #27002, we want to save some overhead. ghstack-source-id: 91046563 Differential Revision: [D17641819](https://our.internmc.facebook.com/intern/diff/D17641819/)
OK, it looks like I now switch to |
Summary: Pull Request resolved: pytorch/pytorch#27005 Similar to pytorch/pytorch#27002, we want to save some overhead. ghstack-source-id: 91046563 Test Plan: CI Differential Revision: D17641819 fbshipit-source-id: 9320919242a48f48532035e61d9844de671d39af
|
This pull request has been merged in 6a09676. |
…7005) Summary: Pull Request resolved: pytorch#27005 Similar to pytorch#27002, we want to save some overhead. ghstack-source-id: 91046563 Test Plan: CI Differential Revision: D17641819 fbshipit-source-id: 9320919242a48f48532035e61d9844de671d39af
Stack from ghstack:
Similar to #27002, we want to save some overhead.
Differential Revision: D17641819