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

trunk/50231cc1f690bf1d8794717042fc6baeff2d5993: [dynamo] Never prune an interned singleton from guard state (#197749)

发生了什么

Problem. Guard-state pruning is keyed by id() , so an unguarded module attribute holding torch.float32 registered the one process-wide dtype object as missing, and every tensor pickled after it carried the _Missing sentinel as its dtype; the artifact then failed to load with empty_strided(): argument 'dtype' must be torch.dtype, not _Missing . The same happens to Ellipsis , the code constant of every x[...] . Fix. _…

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

为什么在扩散

来源