trunk/755182b4f34e5c96d0e35d7503f67b4d66596395: [Stable-ABI] Add torch::stable::add. (#196762)
- PyTorch 近 90 天出现 2423 次
- PyTorch 近 90 天第 2390 次发版
- 上一次:同一天稍早 · viable/strict/1792173077: Run XPU CI on changes to Kineto's XPU plugin (#198154)
发生了什么
Adds torch::stable::add to the stable ABI, gated on a new TORCH_VERSION_2_16_0 . This is needed for the torchvision stable-ABI port, which currently works around the missing op with subtract(self, other, -1.0) . Summary Introduces torch::stable::add(self, other, double alpha = 1.0) via the aten C shim ( aoti_torch_aten_add_Tensor ), mirroring torch::stable::subtract . Adds TORCH_VERSION_2_16_0 , registers the shim i…
摘要按规则整理自下方来源原文