← 返回事件
持续讨论AI发版

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

发生了什么

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

摘要按规则整理自下方来源原文

为什么在扩散

来源