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

viable/strict/1792432248: [MPS] Migrate mse forward to metal (#201351)

发生了什么

Replace MPSGraph MSE forward with Metal. While perf isn't the best on eager, it matches CPU/CUDA in implementation: an elementwise kernel followed by a separate reduction, this change doesn't affect torch compile which stays the same for perf. Perf: Shape Layout Dtype Reduction Before (µs) After (µs) Speedup 1 × 16 × 8 × 8 channels-last bf16 none 40.72 3.30 12.35× 1 × 16 × 8 × 8 strided (transpose H/W) fp32 none 36.…

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

为什么在扩散

来源