← Back to events
ActiveAIRelease

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

Photo: PyTorch Releases

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources