Skip to content

fix sdp pickling - #200977

Closed
liangel-02 wants to merge 1 commit into
mainfrom
fix-sdpbackend-qualname-pickle
Closed

liangel-02 wants to merge 1 commit into
mainfrom
fix-sdpbackend-qualname-pickle

Conversation

@liangel-02

@liangel-02 liangel-02 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

SDPBackend is renamed from torch._C._SDPBackend, but only module and name were updated, so pickle looks up the old qualname (torch.nn.attention._SDPBackend), which doesn't
exist, and fails (cloudpickle raises cannot pickle 'pybind11_static_property'). This sets qualname = "SDPBackend"

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: nn release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants