You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update embedding_forward_quantized_cpu_template.cpp to use initialized output memory instead of uninitialized (#5054)
Summary:
X-link: facebookresearch/FBGEMM#2064
We observe, if the memory of output is uninitialized, the output may be garbage.
This is because certain memory is untouched. The proposed fix is a quick workaround, but it will be more efficient to directly fill the untouched memory with zero.
Reviewed By: sryap
Differential Revision: D85447298
0 commit comments