Skip to content

Conversation

@quhang
Copy link

@quhang quhang commented Oct 25, 2025

Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/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

@netlify
Copy link

netlify bot commented Oct 25, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 2f15704
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/68fd708554511a0008149c16
😎 Deploy Preview https://deploy-preview-5054--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the cla signed label Oct 25, 2025
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Oct 25, 2025

@quhang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85447298.

…d output memory instead of uninitialized (pytorch#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant