ciflow/mps/201375: Only accept bool masks in masked_scatter_ on MPS and meta
- PyTorch 近 90 天出现 2530 次
- PyTorch 近 90 天第 2497 次发版
- 上一次:同一天稍早 · ciflow/mps/201372: Make indexing with uint8 tensors an error
发生了什么
Linked issue or supporting maintainer Part of #201370 Supported by @ezyang BC-breaking? Yes, on MPS only: masked_scatter_ with a uint8 mask now raises, as it already does on CPU and CUDA ("masked_scatter_ only supports boolean masks"). Convert the mask with mask.bool() . Summary (human written only) Agent details (if applicable) The MPS kernel accepted uint8 masks and expanded them through the deprecated uint8 mask…
摘要按规则整理自下方来源原文