← Back to events
ActiveAIRelease

trunk/44d02ec4b8120a357ada18a52c5a015279c67f43: fix sdp pickling (#200977)

What happened

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" Pull Request resolved: #200977 Approved by: https://github.com/pytorchgreenlight , https://github.com/tianyu-l

Summary assembled by rule from the sources below

Why it's spreading

Sources