Skip to content

Fix: handle None buffers in AutoTP checkpoint load - #8584

Open
mayuriphad wants to merge 1 commit into
deepspeedai:masterfrom
mayuriphad:fix-autotp-buffer-none
Open

mayuriphad wants to merge 1 commit into
deepspeedai:masterfrom
mayuriphad:fix-autotp-buffer-none

Conversation

@mayuriphad

Copy link
Copy Markdown

This PR fixes a bug where AutoTP checkpoint loading would raise an \AttributeError: 'NoneType' object has no attribute 'data'\ if a buffer in the module is \None\ (such as
unning_mean\ in
n.InstanceNorm1d). We simply skip \None\ buffers during loading. Fixes #8514.

Copilot AI lite review requested due to automatic review settings September 18, 2026 10:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

…Mayuri <163738104+mayuriphad@users.noreply.github.com>
@mayuriphad
mayuriphad force-pushed the fix-autotp-buffer-none branch from bb6238b to 3658c6c Compare September 19, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] AutoTP checkpoint load raises AttributeError on a model containing nn.InstanceNorm1d

2 participants