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

viable/strict/1791923525: [Stable-ABI] Move acc_type into torch::headeronly. (#199203)

图:PyTorch Releases

发生了什么

Moves the accumulate-type traits into torch::headeronly . Needed for torchvision stable-ABI, which currently carries a local AccType helper that only covers the types it dispatches. Summary Introduces acc_type , acc_type_device , AccumulateType and AccumulateTypeDevice in the torch::headeronly namespace. BC-breaking note at::AccumulateTypeDevice can no longer be specialized inside namespace at Moves the trait defini…

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

为什么在扩散

来源