Skip to content

Conversation

@sryap
Copy link
Contributor

@sryap sryap commented Dec 5, 2025

Summary:
Explicitly zero grad because simply setting grad to None does not
eliminate the grad accumulation step

Reviewed By: xuzhao9

Differential Revision: D88412050

@meta-codesync
Copy link

meta-codesync bot commented Dec 5, 2025

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

Summary:

Explicitly zero grad because simply setting grad to None does not
eliminate the grad accumulation step

Reviewed By: xuzhao9

Differential Revision: D88412050
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.

3 participants