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

trunk/4144bea4b7c2f67da9d4840f4659f977bbd754e5: [MPS] Remove svd_kernel_mps small-input CPU gate (#195950)

发生了什么

svd_kernel_mps routed inputs with numel infos.any().item(), a mandatory device->host sync on every call regardless of backend, so the GPU path does not pipeline and there is no async barrier for the gate to avoid. The CPU fallback then adds two data transfers (A to host, U/S/Vh back) on top of that same sync, making it strictly slower. Measured on M5 Pro, native GPU path vs the exact work the gate did (A.to(cpu) ->…

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

为什么在扩散

来源