viable/strict/1791923525: [Stable-ABI] Move acc_type into torch::headeronly. (#199203)
- PyTorch: 2270 events in the last 90 days
- PyTorch: 2240th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1791919581: [MPS] Fix precision loss in complex sqrt (#200736)
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