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

trunk/4687d3465afbe4b55b85296aecdec528d710c3af: [dynamo] Keep the subclass type when resyncing tensor metadata (#193969)

图:PyTorch Releases

发生了什么

Issue Fixes #193933 Summary Dynamo models a tensor subclass without __torch_dispatch__ as a TensorWithTFOverrideVariable holding the Python type in class_type , while the fake tensor behind the proxy stays a plain FakeTensor . When an inplace op bumps the fake version, synchronize_attributes re-derives every specialized property from that fake tensor, and get_specialized_props resolves class_type back to torch.Tenso…

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

为什么在扩散

来源