viable/strict/1792428192: [MPS] Migrate std_mean to metal (#201310)
- PyTorch 近 90 天出现 2586 次
- PyTorch 近 90 天第 2551 次发版
- 上一次:同一天稍早 · ciflow/xpu/201034: Update torch-xpu-ops commit pin
发生了什么
Migrates std_mean to metal by reusing existing reduction primitives. Perf on m5 pro (no regressions): Shape Reduction dims Dtype Layout Strides std_mean speedup var_mean speedup (32,) all fp32 contiguous (1,) 3.36x 3.46x (32,) all bf16 contiguous (1,) 3.42x 3.46x (32,) all fp32 stride 2 (offset 1) (2,) 3.97x 4.01x (32,) all bf16 stride 2 (offset 1) (2,) 3.97x 3.99x (1024,) all fp32 contiguous (1,) 2.67x 2.60x (1024,…
摘要按规则整理自下方来源原文