ciflow/mps/201375: Only accept bool masks in masked_scatter_ on MPS and meta
- PyTorch: 2527 events in the last 90 days
- PyTorch: 2494th Release in the last 90 days
- Previous: earlier the same day · ciflow/mps/201372: Make indexing with uint8 tensors an error
What happened
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…
Summary assembled by rule from the sources below